Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004646/0.004646, allocations: 174.3 kB / 24.92 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9544/0.9544, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.916e-05, allocations: 2.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002473/0.002492, allocations: 1.927 MB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.003808, allocations: 1.113 MB / 326.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.003883, allocations: 0 / 326.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.004206, allocations: 227.2 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.004532, allocations: 215.1 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.004739, allocations: 123.6 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004966, allocations: 263.2 kB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.005044, allocations: 23.23 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.005179, allocations: 151.5 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.005305, allocations: 135.7 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.005324, allocations: 8 kB / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.005413, allocations: 63.86 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.005471, allocations: 63.7 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.005513, allocations: 43.8 kB / 327.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005709, allocations: 195.2 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005712, allocations: 4 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005713, allocations: 4 kB / 327.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.005716, allocations: 0 / 327.9 MB, free: 5.086 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000409/0.006125, allocations: 488 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.006157, allocations: 8.031 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.006193, allocations: 20.91 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.006376, allocations: 213.8 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.00639, allocations: 4.375 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.00641, allocations: 4.375 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.006537, allocations: 119.3 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.006545, allocations: 7.938 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.006553, allocations: 4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.006556, allocations: 0 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.006593, allocations: 29.62 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.006862, allocations: 308.8 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.007044, allocations: 182.6 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.007073, allocations: 29.91 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.007084, allocations: 4 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.007187, allocations: 111.8 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.007188, allocations: 0 / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005275/0.007715, allocations: 316.6 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.00775, allocations: 85.09 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.007933, allocations: 328.6 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.00795, allocations: 29.7 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.007993, allocations: 121.5 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.008036, allocations: 75.42 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008077, allocations: 41.69 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.00816, allocations: 354.7 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.008196, allocations: 26.81 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.063e-05/0.008237, allocations: 51.41 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.008322, allocations: 110.9 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.008324, allocations: 0 / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001254/0.008449, allocations: 137.4 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.00846, allocations: 4 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008464, allocations: 0 / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.008473, allocations: 4 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.008554, allocations: 43.92 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.008557, allocations: 0 / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.008601, allocations: 19.81 kB / 331.1 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.00861, allocations: 8 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.818e-05/0.008688, allocations: 124.6 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.008716, allocations: 27.97 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.008901, allocations: 159.7 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.008905, allocations: 4 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008909, allocations: 3.984 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.008915, allocations: 3.984 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.00934, allocations: 0.5633 MB / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009342, allocations: 0 / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.009395, allocations: 35.86 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.009401, allocations: 7.938 kB / 332 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.009412, allocations: 12.12 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.009415, allocations: 4 kB / 332 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.009417, allocations: 4 kB / 332 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.009603, allocations: 412 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/0.009631, allocations: 27.75 kB / 332.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.009655, allocations: 11.98 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.009725, allocations: 8 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.009755, allocations: 15.97 kB / 332.5 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.009771, allocations: 12 kB / 332.5 MB, free: 124 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.009872, allocations: 143.5 kB / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009872, allocations: 0 / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.01007, allocations: 59.88 kB / 332.7 MB, free: 15.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001365/0.01144, allocations: 0.6613 MB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01158, allocations: 100.5 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.01158, allocations: 4 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.01164, allocations: 60.89 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01191, allocations: 76.95 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.01243, allocations: 497.4 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.759e-05/0.01248, allocations: 96.3 kB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01255, allocations: 38.11 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/0.01265, allocations: 103.3 kB / 334.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01265, allocations: 0 / 334.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Templates: time 0.00551/0.01816, allocations: 3.636 MB / 337.9 MB, free: 11.01 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9276020769029856]