Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00202/0.00202, allocations: 107 kB / 21.18 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.002692/0.002692, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.2308/0.2308, allocations: 46.97 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4087, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004171/0.4129, allocations: 2.238 MB / 0.5641 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.4156, allocations: 1.35 MB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.4157, allocations: 7.938 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.4164, allocations: 295 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.4172, allocations: 342.6 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.4177, allocations: 219.5 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000676/0.4183, allocations: 0.5569 MB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.4185, allocations: 44.92 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.4188, allocations: 250.9 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.4192, allocations: 298.9 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.4192, allocations: 20 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4194, allocations: 52 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.4196, allocations: 119.5 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.4197, allocations: 146.9 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.4203, allocations: 432.6 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4203, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4203, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4203, allocations: 0 / 0.568 GB, free: 13.77 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001339/0.4216, allocations: 0.7417 MB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4217, allocations: 8.031 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.4218, allocations: 56.56 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.4224, allocations: 357 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4224, allocations: 12.38 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.4225, allocations: 28.11 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.4229, allocations: 205.8 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4229, allocations: 4 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.423, allocations: 4 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.423, allocations: 4 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.4233, allocations: 115.8 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4243, allocations: 0.786 MB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.4249, allocations: 293.2 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.4252, allocations: 92.25 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4252, allocations: 4 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.4257, allocations: 231.5 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.674e-06/0.4257, allocations: 4 kB / 0.5709 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002247/0.4279, allocations: 1.072 MB / 0.5719 GB, free: 9.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.428, allocations: 162.2 kB / 0.5721 GB, free: 9.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/0.4289, allocations: 0.6826 MB / 0.5728 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.4289, allocations: 33.7 kB / 0.5728 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.4291, allocations: 241 kB / 0.573 GB, free: 8.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.4293, allocations: 134.9 kB / 0.5732 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4294, allocations: 70.14 kB / 0.5732 GB, free: 8.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4296, allocations: 374.8 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.4298, allocations: 104.8 kB / 0.5737 GB, free: 7.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4301, allocations: 184.9 kB / 0.5739 GB, free: 7.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.4307, allocations: 316.7 kB / 0.5742 GB, free: 7.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4307, allocations: 4 kB / 0.5742 GB, free: 7.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007769/0.4315, allocations: 424.9 kB / 0.5746 GB, free: 6.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4315, allocations: 4 kB / 0.5746 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4315, allocations: 4 kB / 0.5746 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4315, allocations: 4 kB / 0.5746 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.4318, allocations: 91.98 kB / 0.5747 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.4319, allocations: 7.938 kB / 0.5747 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.4321, allocations: 15.98 kB / 0.5747 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4321, allocations: 20 kB / 0.5747 GB, free: 6.59 MB / 414.1 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.0002414/0.4323, allocations: 204.4 kB / 0.5749 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4324, allocations: 67.52 kB / 0.575 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.4335, allocations: 0.4903 MB / 0.5754 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4335, allocations: 11.98 kB / 0.5755 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.4335, allocations: 5.312 kB / 0.5755 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4335, allocations: 0 / 0.5755 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4353, allocations: 1.233 MB / 0.5767 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4353, allocations: 0 / 0.5767 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.4355, allocations: 60.06 kB / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.4355, allocations: 8 kB / 0.5767 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4355, allocations: 12 kB / 0.5767 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.4355, allocations: 7.984 kB / 0.5767 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.4355, allocations: 11.94 kB / 0.5768 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4366, allocations: 0.8599 MB / 0.5776 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.4367, allocations: 51.62 kB / 0.5776 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.4368, allocations: 15.98 kB / 0.5777 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.4371, allocations: 27.98 kB / 0.5777 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/0.4372, allocations: 39.81 kB / 0.5777 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.4372, allocations: 27.98 kB / 0.5778 GB, free: 3.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005795/0.4378, allocations: 0.491 MB / 0.5782 GB, free: 2.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4378, allocations: 0 / 0.5782 GB, free: 2.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.4384, allocations: 87.94 kB / 0.5783 GB, free: 2.781 MB / 414.1 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.001978/0.4404, allocations: 0.5104 MB / 0.5788 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.4411, allocations: 295.4 kB / 0.5791 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4411, allocations: 0 / 0.5791 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.4414, allocations: 156.2 kB / 0.5792 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4425, allocations: 152.5 kB / 0.5794 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4441, allocations: 0.9387 MB / 0.5803 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4445, allocations: 268.1 kB / 0.5806 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.4447, allocations: 87.39 kB / 0.5806 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4448, allocations: 51.42 kB / 0.5807 GB, free: 492 kB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4448, allocations: 4 kB / 0.5807 GB, free: 488 kB / 414.1 MB Notification: Performance of Templates: time 0.01452/0.4593, allocations: 6.736 MB / 0.5873 GB, free: 9.848 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.599668729992118]