Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001423/0.001423, allocations: 112.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.001492/0.001492, allocations: 209.9 kB / 24.49 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2282/0.2282, allocations: 44.92 MB / 359.6 MB, free: 6.281 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [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.00329/0.00329, allocations: 79.83 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4507, allocations: 65.45 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.005195/0.4559, allocations: 1.745 MB / 0.56 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.4591, allocations: 1.049 MB / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.4592, allocations: 0 / 0.561 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.4596, allocations: 59.73 kB / 0.5611 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.4601, allocations: 107.5 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.4604, allocations: 79.67 kB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.4607, allocations: 99.69 kB / 0.5614 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4608, allocations: 11.98 kB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.461, allocations: 43.8 kB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4611, allocations: 35.77 kB / 0.5615 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.4611, allocations: 4 kB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.4613, allocations: 47.86 kB / 0.5615 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.4614, allocations: 35.86 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.4615, allocations: 43.67 kB / 0.5616 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.4618, allocations: 137.8 kB / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4618, allocations: 0 / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4618, allocations: 0 / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4618, allocations: 0 / 0.5617 GB, free: 4.195 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.000806/0.4626, allocations: 381.2 kB / 0.5621 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4627, allocations: 12.03 kB / 0.5621 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.4628, allocations: 12.84 kB / 0.5621 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.4632, allocations: 167.2 kB / 0.5623 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4633, allocations: 4.375 kB / 0.5623 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.4633, allocations: 8.125 kB / 0.5623 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.4635, allocations: 53.67 kB / 0.5623 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4635, allocations: 0 / 0.5623 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4635, allocations: 0 / 0.5623 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4635, allocations: 4 kB / 0.5623 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4637, allocations: 15.98 kB / 0.5623 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.4642, allocations: 283.8 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4645, allocations: 54.67 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.4646, allocations: 16.86 kB / 0.5627 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.4647, allocations: 4 kB / 0.5627 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.4649, allocations: 71.33 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.4649, allocations: 0 / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008793/0.4658, allocations: 181.3 kB / 0.5629 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.4658, allocations: 55.34 kB / 0.563 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.4663, allocations: 275.8 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.4664, allocations: 29.7 kB / 0.5633 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4665, allocations: 120.1 kB / 0.5634 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.4665, allocations: 23.8 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.4666, allocations: 25.7 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.4668, allocations: 330.8 kB / 0.5637 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.4669, allocations: 19.98 kB / 0.5638 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.467, allocations: 37.7 kB / 0.5638 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.4673, allocations: 57.66 kB / 0.5639 GB, free: 1.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4673, allocations: 0 / 0.5639 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003619/0.4676, allocations: 109.7 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4676, allocations: 4 kB / 0.564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.4677, allocations: 3.938 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4677, allocations: 4 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.4678, allocations: 23.86 kB / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4678, allocations: 0 / 0.564 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.4679, allocations: 11.94 kB / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4679, allocations: 4 kB / 0.564 GB, free: 1.637 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.0001894/0.4681, allocations: 133.9 kB / 0.5641 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.4682, allocations: 16.28 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.4686, allocations: 127.1 kB / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4686, allocations: 0 / 0.5643 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4686, allocations: 4 kB / 0.5643 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.4686, allocations: 7.938 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.4694, allocations: 374.4 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4694, allocations: 0 / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.4695, allocations: 12.03 kB / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.4695, allocations: 3.984 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.4695, allocations: 11.92 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.4695, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4695, allocations: 0 / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.4699, allocations: 208.2 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.4699, allocations: 11.91 kB / 0.5649 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.47, allocations: 7.938 kB / 0.5649 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4701, allocations: 7.984 kB / 0.5649 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.4702, allocations: 4 kB / 0.5649 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.4702, allocations: 4 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003228/0.4705, allocations: 204.6 kB / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4705, allocations: 0 / 0.5651 GB, free: 436 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.471, allocations: 23.94 kB / 0.5651 GB, free: 412 kB / 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.002664/0.4737, allocations: 476.9 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.474, allocations: 51.92 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.474, allocations: 0 / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4741, allocations: 24.11 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4747, allocations: 36.2 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.4757, allocations: 333.2 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.4762, allocations: 0.7143 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.4763, allocations: 19.44 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4763, allocations: 4 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Templates: time 0.00731/0.4836, allocations: 2.108 MB / 0.5688 GB, free: 12.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.096018482930958]