Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.262/0.262, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 83.86 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4414, allocations: 65.98 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004273/0.4457, allocations: 2.297 MB / 0.5635 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.4484, allocations: 1.346 MB / 0.5649 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.4486, allocations: 7.938 kB / 0.5649 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.4491, allocations: 123.3 kB / 0.565 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006171/0.4497, allocations: 246.9 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.4502, allocations: 191.5 kB / 0.5654 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.4508, allocations: 458.6 kB / 0.5658 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.4509, allocations: 47.88 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.4513, allocations: 307 kB / 0.5662 GB, free: 12 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.4516, allocations: 163.2 kB / 0.5663 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.4516, allocations: 19.98 kB / 0.5664 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4518, allocations: 71.86 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.452, allocations: 135.4 kB / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.4521, allocations: 186.5 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005835/0.4527, allocations: 449.6 kB / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4527, allocations: 0 / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4527, allocations: 4 kB / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4527, allocations: 0 / 0.5672 GB, free: 15 MB / 414.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.001291/0.454, allocations: 0.8358 MB / 0.568 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4541, allocations: 8.031 kB / 0.568 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.4542, allocations: 64.52 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.4549, allocations: 432.9 kB / 0.5685 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4549, allocations: 12.38 kB / 0.5685 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4549, allocations: 20.33 kB / 0.5685 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.4553, allocations: 193.3 kB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4554, allocations: 0 / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4554, allocations: 8 kB / 0.5687 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4554, allocations: 3.938 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.4556, allocations: 95.92 kB / 0.5688 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.4568, allocations: 0.7978 MB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.4575, allocations: 238.4 kB / 0.5698 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4577, allocations: 87.52 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.4577, allocations: 8 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.4581, allocations: 200.2 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4581, allocations: 0 / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002751/0.4609, allocations: 1.133 MB / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.461, allocations: 144.5 kB / 0.5713 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4621, allocations: 0.793 MB / 0.5721 GB, free: 9.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4621, allocations: 37.7 kB / 0.5721 GB, free: 9.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.4623, allocations: 241 kB / 0.5724 GB, free: 9.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4625, allocations: 150.8 kB / 0.5725 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4626, allocations: 82.08 kB / 0.5726 GB, free: 9.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4628, allocations: 374.7 kB / 0.5729 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.463, allocations: 116.8 kB / 0.573 GB, free: 8.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.4633, allocations: 187.2 kB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.4639, allocations: 322.8 kB / 0.5735 GB, free: 8.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4639, allocations: 0 / 0.5735 GB, free: 8.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007903/0.4647, allocations: 436.9 kB / 0.5739 GB, free: 7.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4647, allocations: 6.625 kB / 0.574 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4647, allocations: 8 kB / 0.574 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4647, allocations: 4 kB / 0.574 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.465, allocations: 87.89 kB / 0.574 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.4651, allocations: 4 kB / 0.574 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.4652, allocations: 12 kB / 0.5741 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.4652, allocations: 19.98 kB / 0.5741 GB, free: 7.535 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.00031/0.4655, allocations: 243.8 kB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4657, allocations: 71.53 kB / 0.5744 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4667, allocations: 0.4948 MB / 0.5749 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4667, allocations: 8 kB / 0.5749 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4667, allocations: 0 / 0.5749 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.4667, allocations: 3.984 kB / 0.5749 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.4685, allocations: 1.307 MB / 0.5762 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4685, allocations: 4 kB / 0.5762 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4687, allocations: 64.17 kB / 0.5762 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4687, allocations: 8 kB / 0.5762 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.4687, allocations: 15.98 kB / 0.5762 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.4687, allocations: 7.938 kB / 0.5762 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4687, allocations: 4 kB / 0.5763 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4697, allocations: 0.7894 MB / 0.577 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.47, allocations: 188.5 kB / 0.5772 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.47, allocations: 12 kB / 0.5772 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4703, allocations: 19.98 kB / 0.5772 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.4704, allocations: 43.83 kB / 0.5773 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.4704, allocations: 20 kB / 0.5773 GB, free: 4.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006647/0.4711, allocations: 0.581 MB / 0.5779 GB, free: 3.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4711, allocations: 8 kB / 0.5779 GB, free: 3.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.4717, allocations: 79.94 kB / 0.5779 GB, free: 3.414 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 (44): * Single equations (assignments): 36 * 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.002064/0.4737, allocations: 0.5202 MB / 0.5785 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.4744, allocations: 295.6 kB / 0.5787 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4744, allocations: 8.25 kB / 0.5787 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.4748, allocations: 148 kB / 0.5789 GB, free: 2.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4758, allocations: 134.6 kB / 0.579 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.4776, allocations: 1.085 MB / 0.5801 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.4783, allocations: 0.8821 MB / 0.5809 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.4785, allocations: 83.28 kB / 0.581 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4786, allocations: 59.41 kB / 0.5811 GB, free: 332 kB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4786, allocations: 0 / 0.5811 GB, free: 332 kB / 414.1 MB Notification: Performance of Templates: time 0.0129/0.4915, allocations: 5.581 MB / 0.5865 GB, free: 10.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.746609750203788]