Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009322/0.0009322, 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.001053/0.001053, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.9646/0.9646, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2555/0.2555, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.634e-05, allocations: 5.688 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002364/0.002381, allocations: 2.24 MB / 325.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003991, allocations: 1.321 MB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.004104, allocations: 4 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.004423, allocations: 115.2 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.004902, allocations: 258.7 kB / 327.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.005272, allocations: 191.5 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.005729, allocations: 470.5 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.005865, allocations: 57.2 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.006217, allocations: 331.2 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.006372, allocations: 127.6 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.006404, allocations: 23.94 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.00652, allocations: 71.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.006631, allocations: 143.5 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.006711, allocations: 91.58 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.007025, allocations: 350.4 kB / 329.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007028, allocations: 4 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007028, allocations: 0 / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007033, allocations: 0 / 329.1 MB, free: 3.824 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005963/0.007629, allocations: 0.7328 MB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.007658, allocations: 8.031 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.007729, allocations: 44.89 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.008, allocations: 334.4 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.00802, allocations: 12.38 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.008046, allocations: 12.38 kB / 330.2 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.008259, allocations: 181 kB / 330.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.008272, allocations: 11.83 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.008285, allocations: 8 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.00829, allocations: 0 / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.008356, allocations: 67.23 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.008794, allocations: 0.5416 MB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.009176, allocations: 377.5 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.009228, allocations: 51.55 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.009244, allocations: 7.984 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.009405, allocations: 172.2 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.153e-06/0.009406, allocations: 0 / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009051/0.01031, allocations: 0.6123 MB / 332.2 MB, free: 492 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.01037, allocations: 136.5 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.01091, allocations: 0.5642 MB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.01094, allocations: 37.64 kB / 332.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.01102, allocations: 162.2 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.01111, allocations: 142.8 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.01118, allocations: 78.11 kB / 333.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01129, allocations: 378.6 kB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.01135, allocations: 47.81 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.01144, allocations: 119.8 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.0116, allocations: 200 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.0116, allocations: 0 / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002146/0.01181, allocations: 256.3 kB / 334.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01183, allocations: 4 kB / 334.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.01183, allocations: 4 kB / 334.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01184, allocations: 0 / 334.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01198, allocations: 87.83 kB / 334.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01199, allocations: 4 kB / 334.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.01206, allocations: 16 kB / 334.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01208, allocations: 11.98 kB / 334.4 MB, free: 14.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 9.691e-05/0.01217, allocations: 143.1 kB / 334.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.01222, allocations: 60 kB / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.0125, allocations: 299.5 kB / 334.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01251, allocations: 4 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01251, allocations: 0 / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01251, allocations: 4 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.01319, allocations: 1.042 MB / 336 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.01319, allocations: 3.984 kB / 336 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.01329, allocations: 59.92 kB / 336 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.01329, allocations: 11.92 kB / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.01331, allocations: 19.98 kB / 336.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01332, allocations: 4 kB / 336.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01332, allocations: 7.938 kB / 336.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.01397, allocations: 0.7671 MB / 336.8 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.01406, allocations: 83.62 kB / 336.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.0141, allocations: 23.92 kB / 336.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.01423, allocations: 12 kB / 337 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.01428, allocations: 43.92 kB / 337 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.01431, allocations: 16 kB / 337 MB, free: 11.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.0145, allocations: 291.4 kB / 337.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0145, allocations: 0 / 337.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.0148, allocations: 87.88 kB / 337.4 MB, free: 11.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001314/0.01611, allocations: 0.6689 MB / 338.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.01637, allocations: 204.9 kB / 338.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.01638, allocations: 8 kB / 338.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.0165, allocations: 117.5 kB / 338.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.01706, allocations: 137.9 kB / 338.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.01793, allocations: 0.9029 MB / 339.4 MB, free: 9.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.555e-05/0.01803, allocations: 146.2 kB / 339.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.01815, allocations: 75.23 kB / 339.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.01831, allocations: 143.3 kB / 339.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01831, allocations: 0 / 339.8 MB, free: 8.918 MB / 314.7 MB Notification: Performance of Templates: time 0.008182/0.02649, allocations: 6.284 MB / 346.1 MB, free: 2.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.9728509606793523]