Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001414/0.001414, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.00169/0.00169, allocations: 213.5 kB / 23.74 MB, free: 4.691 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.627/1.627, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2689/0.2689, allocations: 46.94 MB / 360.9 MB, free: 4.379 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+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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 71.89 kB / 0.4967 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4581, allocations: 66.03 MB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003889/0.462, allocations: 1.944 MB / 0.5631 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.4643, allocations: 1.151 MB / 0.5642 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4645, allocations: 3.938 kB / 0.5642 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.465, allocations: 159.4 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.4655, allocations: 187.3 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.4658, allocations: 119.6 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.4662, allocations: 247.3 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.4663, allocations: 25.89 kB / 0.5649 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4666, allocations: 119.5 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.4668, allocations: 143.5 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4668, allocations: 8 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.4669, allocations: 59.98 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4671, allocations: 59.7 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.4672, allocations: 83.36 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.4676, allocations: 225.3 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.4676, allocations: 3.984 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4676, allocations: 0 / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4676, allocations: 7.938 kB / 0.5656 GB, free: 15.87 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008436/0.4684, allocations: 476.6 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4685, allocations: 8.031 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.4685, allocations: 32.73 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.469, allocations: 222.5 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.469, allocations: 4.375 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.4691, allocations: 12.12 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.4693, allocations: 114.3 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4693, allocations: 0 / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4694, allocations: 0 / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4694, allocations: 4 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.4695, allocations: 51.89 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.4702, allocations: 439.8 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.4706, allocations: 125.1 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4707, allocations: 37.83 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.4708, allocations: 0 / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.471, allocations: 133 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.471, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001445/0.4725, allocations: 497.2 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.4725, allocations: 85.11 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.473, allocations: 376.5 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.473, allocations: 33.7 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4731, allocations: 148.5 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.4732, allocations: 71.38 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.4733, allocations: 45.7 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4735, allocations: 346.8 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4736, allocations: 55.98 kB / 0.5688 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4738, allocations: 99.27 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.4741, allocations: 147.6 kB / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4741, allocations: 0 / 0.569 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004398/0.4745, allocations: 249.2 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.4745, allocations: 7.938 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4745, allocations: 0 / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.4746, allocations: 4 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4747, allocations: 39.92 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4747, allocations: 4 kB / 0.5693 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.4748, allocations: 11.98 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4749, allocations: 8 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000226/0.4751, allocations: 162.3 kB / 0.5695 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.4751, allocations: 31.75 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/0.4757, allocations: 260 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4757, allocations: 4 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4757, allocations: 3.984 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4757, allocations: 0 / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4768, allocations: 0.6951 MB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4768, allocations: 3.938 kB / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.4769, allocations: 27.98 kB / 0.5705 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.4769, allocations: 8 kB / 0.5705 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4769, allocations: 8 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4769, allocations: 0 / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4769, allocations: 4 kB / 0.5705 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.4775, allocations: 427.6 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.4775, allocations: 19.86 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.4776, allocations: 12 kB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4777, allocations: 11.98 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.4778, allocations: 23.84 kB / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.4778, allocations: 12.19 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.4781, allocations: 279 kB / 0.5712 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4781, allocations: 3.938 kB / 0.5713 GB, free: 9.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.4785, allocations: 51.92 kB / 0.5713 GB, free: 9.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00214/0.4806, allocations: 0.5117 MB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.4811, allocations: 143.8 kB / 0.5719 GB, free: 9.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4811, allocations: 3.938 kB / 0.5719 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4812, allocations: 75.89 kB / 0.572 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.4818, allocations: 68.36 kB / 0.5721 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4828, allocations: 0.4963 MB / 0.5726 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4832, allocations: 0.7636 MB / 0.5733 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.4834, allocations: 45.89 kB / 0.5734 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.4834, allocations: 39.42 kB / 0.5734 GB, free: 7.684 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4834, allocations: 0 / 0.5734 GB, free: 7.684 MB / 414.1 MB Notification: Performance of Templates: time 0.00861/0.4921, allocations: 3.236 MB / 0.5766 GB, free: 4.477 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.756006070878357]