Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001502/0.001502, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2407/0.2407, allocations: 44.94 MB / 358.8 MB, free: 6.047 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [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.002262/0.002262, allocations: 67.89 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.361, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00324/0.3643, allocations: 1.671 MB / 0.5591 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3661, allocations: 0.9481 MB / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.3661, allocations: 0 / 0.5601 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3665, allocations: 63.73 kB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.3668, allocations: 111.5 kB / 0.5602 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.367, allocations: 75.72 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3672, allocations: 107.6 kB / 0.5604 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.3672, allocations: 8.219 kB / 0.5604 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.448e-05/0.3673, allocations: 51.77 kB / 0.5605 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3674, allocations: 47.83 kB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3674, allocations: 4 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.3675, allocations: 31.98 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.3676, allocations: 15.92 kB / 0.5606 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3676, allocations: 23.81 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.3678, allocations: 117.9 kB / 0.5607 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3679, allocations: 4 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3679, allocations: 0 / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3679, allocations: 0 / 0.5607 GB, free: 4.184 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005869/0.3684, allocations: 345.6 kB / 0.561 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3685, allocations: 8.031 kB / 0.561 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.3685, allocations: 12.84 kB / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.3688, allocations: 147 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3688, allocations: 384 / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3688, allocations: 8.125 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.369, allocations: 49.67 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.369, allocations: 7.938 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.369, allocations: 0 / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.369, allocations: 0 / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.3691, allocations: 19.98 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.3693, allocations: 125.3 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3694, allocations: 54.61 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.3695, allocations: 16.86 kB / 0.5615 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3695, allocations: 7.984 kB / 0.5615 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.3697, allocations: 71.27 kB / 0.5615 GB, free: 3.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3697, allocations: 0 / 0.5615 GB, free: 3.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002996/0.37, allocations: 97.62 kB / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.37, allocations: 55.41 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3702, allocations: 202.2 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3702, allocations: 25.7 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.3703, allocations: 100.1 kB / 0.562 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.3703, allocations: 19.89 kB / 0.562 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3704, allocations: 17.72 kB / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3705, allocations: 322.8 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.3706, allocations: 19.94 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.3707, allocations: 33.7 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3708, allocations: 45.95 kB / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3708, allocations: 4 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001718/0.3709, allocations: 93.45 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.371, allocations: 4 kB / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.371, allocations: 0 / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.371, allocations: 3.938 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.3711, allocations: 16.03 kB / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3711, allocations: 0 / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3711, allocations: 7.922 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3711, allocations: 8 kB / 0.5626 GB, free: 2.09 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001117/0.3712, allocations: 121.8 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.3713, allocations: 11.89 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.3715, allocations: 94.75 kB / 0.5628 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3715, allocations: 4 kB / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3715, allocations: 0 / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3715, allocations: 0 / 0.5628 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3716, allocations: 141.2 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3716, allocations: 0 / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.3717, allocations: 7.984 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3717, allocations: 3.938 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3717, allocations: 4 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3717, allocations: 160 / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3717, allocations: 0 / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3719, allocations: 121 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.3719, allocations: 15.84 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3719, allocations: 4.188 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.372, allocations: 11.98 kB / 0.5631 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.372, allocations: 4 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.372, allocations: 0 / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.3722, allocations: 156.2 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3722, allocations: 0 / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3724, allocations: 19.98 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001672/0.3741, allocations: 445.4 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3743, allocations: 47.92 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3743, allocations: 0 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3743, allocations: 28.05 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3746, allocations: 25.86 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.3751, allocations: 217.8 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.3752, allocations: 93.25 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.3752, allocations: 12.36 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3752, allocations: 19.36 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3752, allocations: 8 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Templates: time 0.005081/0.3803, allocations: 1.664 MB / 0.5657 GB, free: 14.92 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.262094287201762]