Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002645/0.002645, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003892/0.003892, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.704/1.704, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3849/0.3849, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.515e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003659/0.003694, allocations: 1.729 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.006693, allocations: 1.706 MB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.006781, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.007117, allocations: 51.64 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.007564, allocations: 103.4 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.007812, allocations: 75.66 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.00803, allocations: 115.6 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.008123, allocations: 4 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.008269, allocations: 63.81 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.008411, allocations: 35.89 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.008436, allocations: 4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.008912, allocations: 99.81 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.008976, allocations: 23.92 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.009024, allocations: 19.94 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.00936, allocations: 179.4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.009368, allocations: 4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.00937, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.009374, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000688/0.01006, allocations: 455.4 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.01011, allocations: 8.031 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.01019, allocations: 8.891 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.01049, allocations: 160.9 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.01051, allocations: 4.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.01054, allocations: 8.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.01076, allocations: 99.31 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01078, allocations: 11.88 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.0108, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01081, allocations: 3.984 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.01089, allocations: 11.98 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.01141, allocations: 291.8 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.0116, allocations: 63.11 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.01167, allocations: 27.61 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.0117, allocations: 4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.01188, allocations: 73.05 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.01188, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.0125, allocations: 185.3 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.01257, allocations: 77.11 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.01282, allocations: 237.6 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01284, allocations: 25.7 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01295, allocations: 150.9 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01299, allocations: 23.8 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.01305, allocations: 35.36 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.01333, allocations: 0.4962 MB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.01338, allocations: 20 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01349, allocations: 80.69 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.01362, allocations: 67.3 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01362, allocations: 0 / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.01383, allocations: 105.5 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.01385, allocations: 7.984 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01386, allocations: 0 / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01387, allocations: 4 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.01397, allocations: 12 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01397, allocations: 4.219 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.01403, allocations: 8 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01404, allocations: 7.969 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.0142, allocations: 172.5 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.01423, allocations: 11.89 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.01451, allocations: 118.4 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.01451, allocations: 4.375 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01452, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01452, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.01509, allocations: 413 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01509, allocations: 4.031 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.01514, allocations: 8 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01515, allocations: 4 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01516, allocations: 4 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01516, allocations: 0 / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01516, allocations: 0 / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.01551, allocations: 275.4 kB / 385.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.01554, allocations: 11.95 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.01557, allocations: 0 / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.01564, allocations: 4 kB / 385.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.01569, allocations: 15.98 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.01571, allocations: 4 kB / 385.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001688/0.01588, allocations: 171.1 kB / 385.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01588, allocations: 0 / 385.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.01622, allocations: 51.86 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003844/0.02006, allocations: 0.589 MB / 386.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.02031, allocations: 67.66 kB / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.02031, allocations: 0 / 386.1 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.02041, allocations: 43.61 kB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.0208, allocations: 27.97 kB / 386.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.02138, allocations: 213.9 kB / 386.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.02149, allocations: 85.58 kB / 386.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.394e-05/0.02156, allocations: 21.22 kB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.02162, allocations: 24.48 kB / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02162, allocations: 0 / 386.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of Templates: time 0.007646/0.02927, allocations: 2.537 MB / 389.1 MB, free: 6.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141990959062241]