Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.2398/0.2398, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 63.91 kB / 497.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4673, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003614/0.4709, allocations: 1.733 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.4726, allocations: 0.8988 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.4727, allocations: 1.25 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.473, allocations: 41.25 kB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.4732, allocations: 57.08 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.4735, allocations: 116.2 kB / 0.5517 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.4737, allocations: 92.98 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4738, allocations: 16.02 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.4739, allocations: 42.3 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.4739, allocations: 25.92 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4739, allocations: 2.281 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.474, allocations: 51.62 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.4741, allocations: 22.8 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.4742, allocations: 36.36 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.4744, allocations: 123.1 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4744, allocations: 1.125 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4744, allocations: 0 / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.4744, allocations: 0 / 0.5521 GB, free: 10.69 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006982/0.4751, allocations: 339.7 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4752, allocations: 10.27 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.4752, allocations: 14.48 kB / 0.5524 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4755, allocations: 151.3 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4755, allocations: 9.438 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4755, allocations: 6.281 kB / 0.5526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4757, allocations: 53.86 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4757, allocations: 1.031 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4757, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4757, allocations: 1.062 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.4758, allocations: 18.64 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.4762, allocations: 258.2 kB / 0.5529 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.4764, allocations: 60.11 kB / 0.5529 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.4765, allocations: 16.48 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4765, allocations: 1.219 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4766, allocations: 69.34 kB / 0.553 GB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4766, allocations: 7.938 kB / 0.553 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006206/0.4773, allocations: 185.9 kB / 0.5532 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4773, allocations: 52.91 kB / 0.5533 GB, free: 9.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4775, allocations: 200.3 kB / 0.5534 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4776, allocations: 30.83 kB / 0.5535 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.4776, allocations: 97.14 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.4777, allocations: 28.69 kB / 0.5536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.4777, allocations: 24.28 kB / 0.5536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4779, allocations: 330.3 kB / 0.5539 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.4779, allocations: 22.2 kB / 0.554 GB, free: 8.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.478, allocations: 36.14 kB / 0.554 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4782, allocations: 63.33 kB / 0.554 GB, free: 8.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4782, allocations: 0 / 0.554 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.4784, allocations: 103.9 kB / 0.5541 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4784, allocations: 4.844 kB / 0.5542 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4784, allocations: 1.094 kB / 0.5542 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4784, allocations: 1.219 kB / 0.5542 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.4785, allocations: 24.7 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4785, allocations: 1.156 kB / 0.5542 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.4786, allocations: 6.375 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4786, allocations: 2.375 kB / 0.5542 GB, free: 8.73 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 (10): * Single equations (assignments): 10 * 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.00013/0.4787, allocations: 132.3 kB / 0.5543 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.4787, allocations: 16.66 kB / 0.5543 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.479, allocations: 117.1 kB / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.479, allocations: 1.156 kB / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.479, allocations: 0 / 0.5544 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.479, allocations: 7.922 kB / 0.5544 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.4795, allocations: 362.3 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4795, allocations: 0 / 0.5548 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.4796, allocations: 11.91 kB / 0.5548 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4796, allocations: 5.094 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4796, allocations: 10.23 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4796, allocations: 0 / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4796, allocations: 1.25 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4799, allocations: 208 kB / 0.555 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.4799, allocations: 7.422 kB / 0.555 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.4799, allocations: 10.38 kB / 0.555 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.48, allocations: 6.266 kB / 0.555 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.48, allocations: 6.188 kB / 0.555 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4801, allocations: 7.438 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.4802, allocations: 148.4 kB / 0.5552 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4802, allocations: 0 / 0.5552 GB, free: 7.836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4805, allocations: 28.67 kB / 0.5552 GB, free: 7.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001746/0.4823, allocations: 462 kB / 0.5557 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4825, allocations: 56.03 kB / 0.5557 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4825, allocations: 0 / 0.5557 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.4825, allocations: 23.28 kB / 0.5557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.4829, allocations: 44.73 kB / 0.5558 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.4835, allocations: 235.5 kB / 0.556 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.4839, allocations: 0.7177 MB / 0.5567 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.484, allocations: 13.61 kB / 0.5567 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.484, allocations: 19.17 kB / 0.5567 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.484, allocations: 0 / 0.5567 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Templates: time 0.0057/0.4897, allocations: 1.752 MB / 0.5585 GB, free: 5.457 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.505103161558509]