Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001636/0.001636, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001713/0.001713, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2287/0.2287, allocations: 44.92 MB / 359.6 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 179] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") [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.002387/0.002387, allocations: 71.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3551, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003513/0.3586, allocations: 1.703 MB / 0.56 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3605, allocations: 1.026 MB / 0.561 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.3606, allocations: 0 / 0.561 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.3609, allocations: 55.75 kB / 0.561 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.3613, allocations: 103.6 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3615, allocations: 75.67 kB / 0.5612 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3617, allocations: 103.7 kB / 0.5613 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3618, allocations: 4.234 kB / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3619, allocations: 55.7 kB / 0.5613 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.362, allocations: 43.77 kB / 0.5614 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.362, allocations: 4 kB / 0.5614 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.3621, allocations: 35.98 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.3622, allocations: 19.92 kB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.3622, allocations: 27.81 kB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.3624, allocations: 110 kB / 0.5616 GB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3624, allocations: 3.938 kB / 0.5616 GB, free: 4.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3624, allocations: 0 / 0.5616 GB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3624, allocations: 0 / 0.5616 GB, free: 4.328 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.0005864/0.363, allocations: 329.6 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3631, allocations: 8.031 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3631, allocations: 12.89 kB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3634, allocations: 158.2 kB / 0.5621 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3634, allocations: 4.359 kB / 0.5621 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3634, allocations: 8.125 kB / 0.5621 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3636, allocations: 41.69 kB / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3636, allocations: 0 / 0.5621 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3636, allocations: 3.984 kB / 0.5621 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3636, allocations: 7.938 kB / 0.5621 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.3637, allocations: 12 kB / 0.5621 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.3639, allocations: 152.8 kB / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3641, allocations: 58.59 kB / 0.5623 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3641, allocations: 12.8 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.3642, allocations: 7.984 kB / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3643, allocations: 75.33 kB / 0.5624 GB, free: 3.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3643, allocations: 0 / 0.5624 GB, free: 3.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003058/0.3646, allocations: 89.62 kB / 0.5625 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3647, allocations: 55.41 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3649, allocations: 187.2 kB / 0.5628 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3649, allocations: 25.7 kB / 0.5628 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.365, allocations: 96.14 kB / 0.5629 GB, free: 2.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.365, allocations: 15.94 kB / 0.5629 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.3651, allocations: 21.72 kB / 0.5629 GB, free: 2.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3652, allocations: 322.8 kB / 0.5632 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.3653, allocations: 15.94 kB / 0.5632 GB, free: 2.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.3653, allocations: 33.64 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3654, allocations: 41.7 kB / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3654, allocations: 0 / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.3656, allocations: 93.47 kB / 0.5634 GB, free: 2.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3656, allocations: 4 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3656, allocations: 0 / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3657, allocations: 0 / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.3657, allocations: 19.92 kB / 0.5634 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3658, allocations: 4 kB / 0.5634 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.3658, allocations: 0 / 0.5634 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3658, allocations: 4 kB / 0.5634 GB, free: 2.246 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.0001173/0.3659, allocations: 132.5 kB / 0.5635 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.3659, allocations: 7.953 kB / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3662, allocations: 94.66 kB / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3662, allocations: 384 / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3662, allocations: 0 / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3662, allocations: 0 / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3663, allocations: 168.6 kB / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3663, allocations: 0 / 0.5638 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.3664, allocations: 4 kB / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3664, allocations: 0 / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3664, allocations: 4 kB / 0.5638 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3664, allocations: 4 kB / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3664, allocations: 0 / 0.5638 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.3666, allocations: 113 kB / 0.5639 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.3666, allocations: 11.89 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.3667, allocations: 0 / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.3667, allocations: 7.984 kB / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3667, allocations: 8 kB / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3667, allocations: 0 / 0.564 GB, free: 1.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3669, allocations: 142 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3669, allocations: 0 / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.3671, allocations: 12 kB / 0.5641 GB, free: 1.469 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 (5): * Single equations (assignments): 3 * 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.001589/0.3687, allocations: 414.1 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3689, allocations: 39.92 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3689, allocations: 64 / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.3689, allocations: 19.98 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3692, allocations: 37.11 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3698, allocations: 223.7 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3701, allocations: 0.704 MB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.3701, allocations: 19.42 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3701, allocations: 4 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of Templates: time 0.004081/0.3742, allocations: 1.706 MB / 0.5672 GB, free: 14.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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: 8.004097760189325]