Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.0009868/0.0009868, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001119/0.001119, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.2902/0.2902, allocations: 32.8 MB / 294.6 MB, free: 1.137 MB / 266.7 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 323.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.631e-05, allocations: 3.672 kB / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003046/0.003072, allocations: 2.345 MB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.005176, allocations: 1.396 MB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.005361, allocations: 7.938 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.00596, allocations: 286.8 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.006591, allocations: 346.4 kB / 327.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.007091, allocations: 223.4 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008771/0.007968, allocations: 0.5691 MB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.00811, allocations: 37.25 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.008477, allocations: 295.2 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.008791, allocations: 239.3 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.008837, allocations: 20 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.008976, allocations: 67.84 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.009097, allocations: 127.5 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.009199, allocations: 103.5 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.009587, allocations: 318.6 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.009591, allocations: 0 / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.009592, allocations: 0 / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.009597, allocations: 3.938 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007916/0.01039, allocations: 0.7073 MB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.01043, allocations: 19.92 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.0105, allocations: 36.89 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.01089, allocations: 333.8 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.01092, allocations: 12.38 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.01095, allocations: 20.25 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.0112, allocations: 198.4 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.01122, allocations: 7.938 kB / 331 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.01123, allocations: 4 kB / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.01124, allocations: 4 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.01134, allocations: 62.03 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.0119, allocations: 0.6072 MB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.01221, allocations: 438.3 kB / 332.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.352e-05/0.0123, allocations: 64.25 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01231, allocations: 4 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.01255, allocations: 198.2 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.01255, allocations: 0 / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.000842/0.01339, allocations: 459.5 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.01346, allocations: 170.1 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.01387, allocations: 0.493 MB / 333.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.0139, allocations: 37.7 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.01398, allocations: 150.2 kB / 333.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.01408, allocations: 131 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.01417, allocations: 70.16 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01429, allocations: 378.6 kB / 334.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.01437, allocations: 43.75 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01448, allocations: 117.5 kB / 334.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.01469, allocations: 218.8 kB / 334.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.0147, allocations: 0 / 334.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003009/0.015, allocations: 243.6 kB / 334.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01501, allocations: 4 kB / 334.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01502, allocations: 7.938 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01504, allocations: 4 kB / 334.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.01526, allocations: 83.89 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01527, allocations: 11.88 kB / 335 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01539, allocations: 19.92 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01541, allocations: 12.39 kB / 335 MB, free: 13.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001266/0.01553, allocations: 147.2 kB / 335.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.0156, allocations: 47.95 kB / 335.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.01604, allocations: 265.7 kB / 335.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.01605, allocations: 13.3 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01605, allocations: 3.938 kB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.01606, allocations: 4 kB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.0169, allocations: 1.089 MB / 336.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.0169, allocations: 8.156 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.01703, allocations: 59.84 kB / 336.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.01704, allocations: 4 kB / 336.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.01706, allocations: 19.98 kB / 336.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01706, allocations: 4 kB / 336.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01707, allocations: 4 kB / 336.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.01752, allocations: 0.8497 MB / 337.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.01757, allocations: 55.59 kB / 337.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.01762, allocations: 8 kB / 337.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.01789, allocations: 27.98 kB / 337.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.01796, allocations: 39.81 kB / 337.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.01799, allocations: 19.98 kB / 337.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002303/0.01822, allocations: 247.2 kB / 337.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01822, allocations: 0 / 337.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.01872, allocations: 95.88 kB / 338 MB, free: 10.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001592/0.02031, allocations: 0.6088 MB / 338.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.02059, allocations: 185.5 kB / 338.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.02059, allocations: 4 kB / 338.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.02073, allocations: 125.2 kB / 338.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.02154, allocations: 150.9 kB / 339 MB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.02294, allocations: 0.8307 MB / 339.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.02307, allocations: 134 kB / 340 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.02326, allocations: 79.39 kB / 340.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.0235, allocations: 151.3 kB / 340.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0235, allocations: 0 / 340.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01101/0.03451, allocations: 6.796 MB / 347 MB, free: 1.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1629617121070623]