Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 109.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4018/0.4018, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1365, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004107/0.1407, allocations: 2.359 MB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1427, allocations: 1.166 MB / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1429, allocations: 7.938 kB / 490.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.1435, allocations: 271.3 kB / 490.8 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.1439, allocations: 243.1 kB / 491 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.1446, allocations: 311.5 kB / 491.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.1452, allocations: 0.4906 MB / 491.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1453, allocations: 53.34 kB / 491.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.1456, allocations: 223 kB / 492.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.1459, allocations: 258.9 kB / 492.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.1459, allocations: 12 kB / 492.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1461, allocations: 51.98 kB / 492.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1462, allocations: 103.5 kB / 492.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1464, allocations: 162.8 kB / 492.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.1468, allocations: 382.4 kB / 493.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1468, allocations: 0 / 493.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1468, allocations: 0 / 493.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1468, allocations: 0 / 493.1 MB, free: 6.469 MB / 378.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.001192/0.148, allocations: 0.7665 MB / 493.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.148, allocations: 8.031 kB / 493.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.1481, allocations: 52.28 kB / 493.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.1487, allocations: 403.9 kB / 494.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1487, allocations: 8.375 kB / 494.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.1488, allocations: 20.12 kB / 494.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.1492, allocations: 209.8 kB / 494.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1492, allocations: 0 / 494.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1492, allocations: 8 kB / 494.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1492, allocations: 7.938 kB / 494.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.1495, allocations: 99.86 kB / 494.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.1504, allocations: 0.8487 MB / 495.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.151, allocations: 297.2 kB / 495.8 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1512, allocations: 100.2 kB / 495.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.1512, allocations: 11.98 kB / 495.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.1517, allocations: 219.5 kB / 496.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.1518, allocations: 0 / 496.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001948/0.1537, allocations: 0.9811 MB / 497.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.1538, allocations: 166.2 kB / 497.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.1545, allocations: 0.616 MB / 497.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1546, allocations: 37.64 kB / 497.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.1548, allocations: 229 kB / 498.1 MB, free: 1.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.1549, allocations: 118.4 kB / 498.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.155, allocations: 70.14 kB / 498.3 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1552, allocations: 370.8 kB / 498.7 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1555, allocations: 100.8 kB / 498.8 MB, free: 436 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1557, allocations: 184.8 kB / 498.9 MB, free: 220 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.1562, allocations: 292.5 kB / 499.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1563, allocations: 4 kB / 499.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007355/0.157, allocations: 400.6 kB / 499.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.157, allocations: 8 kB / 499.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.157, allocations: 0 / 499.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.1571, allocations: 4 kB / 499.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1574, allocations: 87.83 kB / 499.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1574, allocations: 8.156 kB / 499.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1576, allocations: 23.92 kB / 499.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1576, allocations: 16 kB / 499.8 MB, free: 15.35 MB / 394.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.000233/0.1579, allocations: 212.2 kB / 500 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.158, allocations: 63.19 kB / 0.4883 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1581, allocations: 59.91 kB / 0.4884 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1581, allocations: 4.188 kB / 0.4884 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.1581, allocations: 8 kB / 0.4884 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.1581, allocations: 7.984 kB / 0.4884 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.1598, allocations: 1.265 MB / 0.4896 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1598, allocations: 4 kB / 0.4896 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1599, allocations: 43.92 kB / 0.4897 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.16, allocations: 4 kB / 0.4897 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.16, allocations: 19.92 kB / 0.4897 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.16, allocations: 11.88 kB / 0.4897 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.16, allocations: 0 / 0.4897 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1616, allocations: 1.568 MB / 0.4912 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.1617, allocations: 120.4 kB / 0.4913 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.1617, allocations: 16 kB / 0.4914 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.1621, allocations: 15.98 kB / 0.4914 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.1622, allocations: 47.81 kB / 0.4914 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.1622, allocations: 27.98 kB / 0.4914 GB, free: 11.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004612/0.1627, allocations: 450.8 kB / 0.4919 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 0.4919 GB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006403/0.1634, allocations: 83.98 kB / 0.492 GB, free: 11.17 MB / 394.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 (40): * Single equations (assignments): 30 * 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.001077/0.1644, allocations: 487.6 kB / 0.4924 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.1651, allocations: 288.2 kB / 0.4927 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1651, allocations: 4.312 kB / 0.4927 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.1654, allocations: 156 kB / 0.4928 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1665, allocations: 130 kB / 0.493 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1683, allocations: 1.222 MB / 0.4942 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.1689, allocations: 0.8671 MB / 0.495 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000278/0.1692, allocations: 80.02 kB / 0.4951 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1693, allocations: 59.41 kB / 0.4951 GB, free: 7.859 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1693, allocations: 0 / 0.4951 GB, free: 7.859 MB / 394.7 MB Notification: Performance of Templates: time 0.01206/0.1814, allocations: 5.506 MB / 0.5005 GB, free: 2.363 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches