Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001955/0.001955, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002409/0.002409, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.595/1.595, allocations: 230.6 MB / 258.2 MB, free: 8.008 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.24/0.24, allocations: 44.94 MB / 359.6 MB, free: 6.094 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [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.003074/0.003074, allocations: 67.91 kB / 0.4943 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4464, allocations: 65.47 MB / 0.5583 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004881/0.4512, allocations: 1.712 MB / 0.5599 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.4541, allocations: 0.9715 MB / 0.5609 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.4542, allocations: 0 / 0.5609 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.4546, allocations: 55.75 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.4551, allocations: 103.5 kB / 0.561 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.4554, allocations: 75.73 kB / 0.5611 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.4557, allocations: 111.6 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4558, allocations: 4 kB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4559, allocations: 39.8 kB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4561, allocations: 35.83 kB / 0.5613 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.4561, allocations: 8 kB / 0.5613 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.4562, allocations: 43.92 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.4563, allocations: 35.8 kB / 0.5614 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.4564, allocations: 35.72 kB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.4568, allocations: 141.8 kB / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4568, allocations: 0 / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4568, allocations: 0 / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4568, allocations: 0 / 0.5615 GB, free: 4.094 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.000798/0.4576, allocations: 373.3 kB / 0.5619 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4576, allocations: 8.031 kB / 0.5619 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.4577, allocations: 16.84 kB / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.4581, allocations: 163.2 kB / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4582, allocations: 8.312 kB / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.4582, allocations: 8.109 kB / 0.5621 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.4584, allocations: 61.67 kB / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4584, allocations: 0 / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4584, allocations: 0 / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4584, allocations: 0 / 0.5621 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4586, allocations: 23.98 kB / 0.5622 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.4591, allocations: 240.5 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.4594, allocations: 66.61 kB / 0.5625 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.4595, allocations: 20.84 kB / 0.5625 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.4595, allocations: 0 / 0.5625 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.4597, allocations: 67.39 kB / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.4597, allocations: 0 / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008339/0.4605, allocations: 197.2 kB / 0.5627 GB, free: 2.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.4606, allocations: 51.41 kB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.4611, allocations: 279.8 kB / 0.563 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.4611, allocations: 25.7 kB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4612, allocations: 124.1 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.4613, allocations: 31.72 kB / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.4614, allocations: 25.72 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.4616, allocations: 326.8 kB / 0.5636 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.4617, allocations: 23.98 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.4618, allocations: 37.7 kB / 0.5636 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.462, allocations: 57.7 kB / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.462, allocations: 4 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003275/0.4623, allocations: 113.7 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4623, allocations: 4 kB / 0.5638 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4623, allocations: 3.938 kB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4624, allocations: 4 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.4625, allocations: 16 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4625, allocations: 3.938 kB / 0.5638 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.4626, allocations: 7.984 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4626, allocations: 0 / 0.5638 GB, free: 1.559 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.0001915/0.4628, allocations: 137.8 kB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4628, allocations: 15.94 kB / 0.564 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.4633, allocations: 131.1 kB / 0.5641 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4633, allocations: 3.938 kB / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4633, allocations: 0 / 0.5641 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4633, allocations: 4 kB / 0.5641 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/0.464, allocations: 359.3 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.464, allocations: 4 kB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.4641, allocations: 12 kB / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4641, allocations: 0 / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.4641, allocations: 8 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4641, allocations: 4.031 kB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.4641, allocations: 3.938 kB / 0.5645 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.4645, allocations: 216.2 kB / 0.5647 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.4645, allocations: 15.89 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.4646, allocations: 8 kB / 0.5647 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4647, allocations: 0 / 0.5647 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.4648, allocations: 11.92 kB / 0.5647 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4648, allocations: 4 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003219/0.4651, allocations: 212.5 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4651, allocations: 0 / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.4656, allocations: 35.89 kB / 0.565 GB, free: 320 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 (9): * Single equations (assignments): 7 * 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.002689/0.4683, allocations: 496.6 kB / 0.5654 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.4686, allocations: 59.95 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4687, allocations: 4.062 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.4688, allocations: 27.94 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.4694, allocations: 31.91 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.4703, allocations: 333.2 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.4705, allocations: 105.1 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.4706, allocations: 15.44 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4706, allocations: 4.062 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Templates: time 0.006508/0.4771, allocations: 2.162 MB / 0.5681 GB, free: 13.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.502675200346857]