Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.0009746/0.0009746, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001142/0.001142, allocations: 166.5 kB / 25.61 MB, free: 8.492 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 1.003/1.003, allocations: 177.1 MB / 206 MB, free: 4.508 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.1366/0.1366, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.4 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.145e-05, allocations: 6.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003354/0.003386, allocations: 2.23 MB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.005715, allocations: 1.279 MB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.005909, allocations: 3.938 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.006362, allocations: 143.2 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.006986, allocations: 274.7 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.007467, allocations: 195.4 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.007992, allocations: 474.5 kB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.008134, allocations: 49.25 kB / 382 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.008579, allocations: 383.1 kB / 382.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.008776, allocations: 143.5 kB / 382.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.008819, allocations: 20 kB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.008981, allocations: 75.84 kB / 382.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.009123, allocations: 163.4 kB / 382.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.009224, allocations: 103.5 kB / 382.9 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.009647, allocations: 374.3 kB / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.00965, allocations: 0 / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009651, allocations: 0 / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.009658, allocations: 7.938 kB / 383.2 MB, free: 19.61 MB / 314.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.0009505/0.01061, allocations: 0.9573 MB / 384.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.01065, allocations: 11.98 kB / 384.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.01078, allocations: 88.47 kB / 384.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.01109, allocations: 369 kB / 384.6 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.01111, allocations: 16.36 kB / 384.7 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.01113, allocations: 12.38 kB / 384.7 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.01132, allocations: 181.5 kB / 384.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.01133, allocations: 11.88 kB / 384.9 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.01135, allocations: 8 kB / 384.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01135, allocations: 4 kB / 384.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.01142, allocations: 51.88 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.01194, allocations: 0.8639 MB / 385.8 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.0122, allocations: 220.4 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.01224, allocations: 66.84 kB / 386.1 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.01226, allocations: 8 kB / 386.1 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.01239, allocations: 189.2 kB / 386.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.0124, allocations: 0 / 386.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001059/0.01345, allocations: 0.7204 MB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.01349, allocations: 136.5 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.01384, allocations: 0.7374 MB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01386, allocations: 41.7 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01399, allocations: 347.6 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.01406, allocations: 146.8 kB / 388.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.01413, allocations: 83.77 kB / 388.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.01419, allocations: 0.4926 MB / 389 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.01424, allocations: 52.95 kB / 389 MB, free: 13.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.612e-05/0.01433, allocations: 154.3 kB / 389.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.01448, allocations: 225.1 kB / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01448, allocations: 3.938 kB / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002766/0.01476, allocations: 348.6 kB / 389.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01477, allocations: 4 kB / 389.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01478, allocations: 7.984 kB / 389.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01479, allocations: 4 kB / 389.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01492, allocations: 87.84 kB / 389.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.01493, allocations: 12.06 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.01501, allocations: 15.98 kB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01502, allocations: 12 kB / 389.9 MB, free: 12.61 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.85e-05/0.01512, allocations: 194.9 kB / 390 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.01518, allocations: 95.42 kB / 390.1 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.01553, allocations: 408 kB / 390.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01553, allocations: 11.98 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01554, allocations: 3.984 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.01554, allocations: 0 / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.01622, allocations: 1.309 MB / 391.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01622, allocations: 0 / 391.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.01631, allocations: 67.84 kB / 391.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.01632, allocations: 11.94 kB / 391.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01633, allocations: 16 kB / 392 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.01634, allocations: 4.25 kB / 392 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.01634, allocations: 11.98 kB / 392 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.01675, allocations: 0.9418 MB / 392.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.01684, allocations: 115.3 kB / 393 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.01689, allocations: 16 kB / 393 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.01703, allocations: 19.98 kB / 393.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.01709, allocations: 43.88 kB / 393.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.01712, allocations: 19.98 kB / 393.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.01734, allocations: 466.8 kB / 393.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01734, allocations: 4 kB / 393.6 MB, free: 8.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.01768, allocations: 91.92 kB / 393.7 MB, free: 8.633 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.0009575/0.01864, allocations: 0.497 MB / 394.2 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.01886, allocations: 227.7 kB / 394.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.01887, allocations: 0 / 394.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.01896, allocations: 132.3 kB / 394.5 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.0195, allocations: 144.2 kB / 394.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.02027, allocations: 1.029 MB / 395.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.02035, allocations: 162.2 kB / 395.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.02046, allocations: 79.23 kB / 395.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.02061, allocations: 166.1 kB / 396.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02061, allocations: 0 / 396.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Templates: time 0.007432/0.02805, allocations: 6.51 MB / 402.6 MB, free: 15.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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: 3.410722922999412]