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.001334/0.001334, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.001394/0.001394, allocations: 197.5 kB / 23.72 MB, free: 4.492 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2396/0.2396, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.91 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3886, allocations: 65.48 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003839/0.3924, allocations: 2.173 MB / 0.5597 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.3948, allocations: 1.264 MB / 0.5609 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3949, allocations: 3.938 kB / 0.5609 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.3953, allocations: 139.3 kB / 0.561 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.3959, allocations: 262.9 kB / 0.5613 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.3963, allocations: 199.5 kB / 0.5615 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.3968, allocations: 466.6 kB / 0.5619 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.397, allocations: 48.91 kB / 0.562 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.3974, allocations: 334.9 kB / 0.5623 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.3976, allocations: 171.1 kB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.3977, allocations: 20 kB / 0.5625 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.3978, allocations: 67.98 kB / 0.5625 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.398, allocations: 167.3 kB / 0.5627 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3982, allocations: 146.8 kB / 0.5628 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.3987, allocations: 496.1 kB / 0.5633 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3987, allocations: 4 kB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3987, allocations: 0 / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3988, allocations: 0 / 0.5633 GB, free: 1.531 MB / 398.1 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.00123/0.4, allocations: 0.8418 MB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4, allocations: 11.98 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.4001, allocations: 72.47 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.4007, allocations: 367.1 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.4007, allocations: 16.36 kB / 0.5646 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.4008, allocations: 24.08 kB / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.4012, allocations: 193.5 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4012, allocations: 4 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.4012, allocations: 15.86 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4012, allocations: 0 / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.4015, allocations: 99.92 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4025, allocations: 0.7505 MB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.4032, allocations: 246.4 kB / 0.5659 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.4034, allocations: 87.52 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.4034, allocations: 4 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.4038, allocations: 204.2 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4038, allocations: 4 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002619/0.4064, allocations: 1.23 MB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.4065, allocations: 136.5 kB / 0.5675 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4077, allocations: 0.977 MB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.4077, allocations: 33.7 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.408, allocations: 289 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4081, allocations: 142.8 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.4082, allocations: 86.02 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4083, allocations: 321.9 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.4086, allocations: 128.8 kB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.4089, allocations: 187.2 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.4094, allocations: 322.9 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4095, allocations: 3.984 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008015/0.4103, allocations: 452.8 kB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4103, allocations: 8 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4103, allocations: 3.938 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4103, allocations: 4 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.4106, allocations: 92.02 kB / 0.5704 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4106, allocations: 4 kB / 0.5704 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4108, allocations: 15.98 kB / 0.5704 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.4108, allocations: 23.94 kB / 0.5705 GB, free: 9.883 MB / 414.1 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 0.0003208/0.4111, allocations: 260 kB / 0.5707 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4112, allocations: 79.48 kB / 0.5708 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.4123, allocations: 0.5386 MB / 0.5713 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.4123, allocations: 12 kB / 0.5713 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4123, allocations: 0 / 0.5713 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4123, allocations: 3.984 kB / 0.5713 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.4141, allocations: 1.271 MB / 0.5726 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.4141, allocations: 4 kB / 0.5726 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.4143, allocations: 64.17 kB / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.4143, allocations: 11.98 kB / 0.5726 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4144, allocations: 12 kB / 0.5726 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.4144, allocations: 7.938 kB / 0.5727 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4144, allocations: 4 kB / 0.5727 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4154, allocations: 0.8357 MB / 0.5735 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.4157, allocations: 119.4 kB / 0.5736 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.4157, allocations: 20 kB / 0.5736 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.416, allocations: 19.98 kB / 0.5736 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.4161, allocations: 51.8 kB / 0.5737 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.4162, allocations: 27.98 kB / 0.5737 GB, free: 6.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008586/0.417, allocations: 0.7099 MB / 0.5744 GB, free: 5.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.417, allocations: 0 / 0.5744 GB, free: 5.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.4176, allocations: 91.94 kB / 0.5745 GB, free: 5.625 MB / 414.1 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.002247/0.4198, allocations: 0.5667 MB / 0.575 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.4205, allocations: 318.7 kB / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4205, allocations: 0 / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.4209, allocations: 163.6 kB / 0.5755 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.4218, allocations: 138.6 kB / 0.5756 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4238, allocations: 1.226 MB / 0.5768 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4242, allocations: 322 kB / 0.5771 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.4244, allocations: 75.25 kB / 0.5772 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4245, allocations: 59.41 kB / 0.5773 GB, free: 2.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4245, allocations: 0 / 0.5773 GB, free: 2.938 MB / 414.1 MB Notification: Performance of Templates: time 0.01331/0.4378, allocations: 6.287 MB / 0.5834 GB, free: 12.75 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.35245699249208]