Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001634/0.001634, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001759/0.001759, allocations: 205.3 kB / 23.73 MB, free: 4.402 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2364/0.2364, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] 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.Test73,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [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.002108/0.002108, allocations: 71.89 kB / 0.4936 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4059, allocations: 65.47 MB / 0.5575 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.005102/0.411, allocations: 1.877 MB / 0.5594 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.414, allocations: 1.069 MB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4141, allocations: 3.938 kB / 0.5604 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.4147, allocations: 163.5 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.4153, allocations: 183.3 kB / 0.5607 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.4158, allocations: 119.6 kB / 0.5609 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.4162, allocations: 251.3 kB / 0.5611 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4164, allocations: 21.95 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.4166, allocations: 107.6 kB / 0.5612 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.4169, allocations: 139.5 kB / 0.5613 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.4169, allocations: 11.94 kB / 0.5614 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.4171, allocations: 67.98 kB / 0.5614 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.4173, allocations: 55.81 kB / 0.5615 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4174, allocations: 63.48 kB / 0.5615 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.4179, allocations: 229.3 kB / 0.5618 GB, free: 3.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4179, allocations: 0 / 0.5618 GB, free: 3.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4179, allocations: 0 / 0.5618 GB, free: 3.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4179, allocations: 0 / 0.5618 GB, free: 3.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001063/0.4189, allocations: 490.5 kB / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.419, allocations: 8.031 kB / 0.5622 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.4191, allocations: 28.75 kB / 0.5623 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.4197, allocations: 218.6 kB / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4197, allocations: 384 / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.4197, allocations: 20.11 kB / 0.5625 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.4201, allocations: 111.3 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.4201, allocations: 0 / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4201, allocations: 4 kB / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4201, allocations: 7.984 kB / 0.5626 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.4203, allocations: 47.97 kB / 0.5627 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008166/0.4212, allocations: 408.4 kB / 0.563 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.4218, allocations: 117.2 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4219, allocations: 49.75 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.422, allocations: 4 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.4223, allocations: 125 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.4223, allocations: 0 / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001959/0.4243, allocations: 0.5054 MB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.4244, allocations: 81.11 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.425, allocations: 384.5 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.425, allocations: 33.69 kB / 0.5643 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4252, allocations: 144.6 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4253, allocations: 79.36 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4254, allocations: 45.64 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.4257, allocations: 338.9 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4259, allocations: 63.92 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.4261, allocations: 103.3 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.4266, allocations: 167.4 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4266, allocations: 0 / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006704/0.4273, allocations: 237.3 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4273, allocations: 4 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4273, allocations: 3.938 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4273, allocations: 4 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4276, allocations: 44.05 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4276, allocations: 7.938 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.4277, allocations: 11.98 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4278, allocations: 8 kB / 0.5655 GB, free: 15.02 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.000248/0.428, allocations: 150.4 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.4281, allocations: 31.81 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.4289, allocations: 275.2 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.4289, allocations: 4 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4289, allocations: 4 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.429, allocations: 7.984 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.4304, allocations: 0.6605 MB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4304, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4306, allocations: 39.92 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4306, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.4306, allocations: 4 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.4306, allocations: 8.219 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4306, allocations: 4.125 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.4314, allocations: 445.9 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.4315, allocations: 23.8 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.4315, allocations: 8 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4318, allocations: 15.98 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.4319, allocations: 23.91 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.4319, allocations: 8 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004724/0.4324, allocations: 291 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4324, allocations: 0 / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.433, allocations: 55.89 kB / 0.5675 GB, free: 12.9 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 (24): * Single equations (assignments): 20 * 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.003051/0.4361, allocations: 0.5541 MB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.4367, allocations: 156 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4367, allocations: 0 / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.437, allocations: 79.78 kB / 0.5682 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.4379, allocations: 85.12 kB / 0.5683 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4393, allocations: 0.5119 MB / 0.5688 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4396, allocations: 153.5 kB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.4398, allocations: 41.91 kB / 0.569 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4399, allocations: 31.44 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4399, allocations: 0 / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01146/0.4513, allocations: 3.488 MB / 0.5724 GB, free: 8.039 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.412815792486072]