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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 103.1 kB / 16.27 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.00209, allocations: 188.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 223.1 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2443/0.2443, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 74.45 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1437, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005229/0.149, allocations: 2.292 MB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1511, allocations: 1.178 MB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1512, allocations: 7.938 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.152, allocations: 291.1 kB / 444.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004553/0.1524, allocations: 266.9 kB / 444.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.1531, allocations: 322 kB / 444.9 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.1536, allocations: 0.5102 MB / 445.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.1538, allocations: 61.3 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.154, allocations: 223.1 kB / 445.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1543, allocations: 267 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.1544, allocations: 16 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1545, allocations: 51.98 kB / 446 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1547, allocations: 111.5 kB / 446.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1548, allocations: 170.7 kB / 446.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.1552, allocations: 394.5 kB / 446.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1553, allocations: 0 / 446.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1553, allocations: 0 / 446.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.1553, allocations: 0 / 446.6 MB, free: 0.7539 MB / 318.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.001157/0.1564, allocations: 0.7592 MB / 447.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1565, allocations: 11.89 kB / 447.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.1568, allocations: 52.28 kB / 447.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.1574, allocations: 399.9 kB / 447.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/0.1575, allocations: 12.38 kB / 447.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.1575, allocations: 20.11 kB / 447.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.158, allocations: 201.8 kB / 448.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.158, allocations: 7.984 kB / 448.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1581, allocations: 7.984 kB / 448.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1581, allocations: 4 kB / 448.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.1583, allocations: 95.88 kB / 448.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.1597, allocations: 0.8682 MB / 449.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.1604, allocations: 281.3 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.1606, allocations: 96.27 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.1607, allocations: 15.92 kB / 449.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.1613, allocations: 224.7 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.1613, allocations: 0 / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002492/0.1638, allocations: 0.9731 MB / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.164, allocations: 170.2 kB / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.1648, allocations: 0.6121 MB / 451.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1649, allocations: 41.64 kB / 451.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1651, allocations: 221 kB / 451.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.1653, allocations: 130.3 kB / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.1654, allocations: 70.12 kB / 451.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.1657, allocations: 370.8 kB / 452.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1659, allocations: 100.8 kB / 452.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.1662, allocations: 180.9 kB / 452.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.1667, allocations: 296.8 kB / 452.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1667, allocations: 4 kB / 452.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007025/0.1674, allocations: 412.8 kB / 453.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1675, allocations: 6.969 kB / 453.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1675, allocations: 4 kB / 453.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.1675, allocations: 4 kB / 453.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.168, allocations: 83.89 kB / 453.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.168, allocations: 4 kB / 453.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1682, allocations: 20.14 kB / 453.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1682, allocations: 20 kB / 453.4 MB, free: 9.637 MB / 334.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.0002525/0.1685, allocations: 204.3 kB / 453.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.1686, allocations: 63.19 kB / 453.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1687, allocations: 63.91 kB / 453.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1687, allocations: 8 kB / 453.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1687, allocations: 0 / 453.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1688, allocations: 7.984 kB / 453.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.1705, allocations: 1.257 MB / 454.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1705, allocations: 4 kB / 455 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1706, allocations: 47.92 kB / 455 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1706, allocations: 7.984 kB / 455 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1707, allocations: 15.94 kB / 455 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1707, allocations: 4 kB / 455 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1707, allocations: 4 kB / 455 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.1716, allocations: 0.8167 MB / 455.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.1717, allocations: 120.5 kB / 456 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.1718, allocations: 19.92 kB / 456 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.1721, allocations: 15.98 kB / 456 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.1722, allocations: 35.91 kB / 456 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.1722, allocations: 19.98 kB / 456.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005973/0.1728, allocations: 466.8 kB / 456.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1728, allocations: 0 / 456.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005414/0.1734, allocations: 87.92 kB / 456.6 MB, free: 6.258 MB / 334.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 (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.001262/0.1747, allocations: 490.5 kB / 457.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.1754, allocations: 303.5 kB / 457.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1754, allocations: 0 / 457.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.1757, allocations: 152.4 kB / 457.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1768, allocations: 148.9 kB / 457.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1785, allocations: 0.8687 MB / 458.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.179, allocations: 0.8511 MB / 459.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.1793, allocations: 83.39 kB / 459.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1794, allocations: 55.42 kB / 459.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1794, allocations: 0 / 459.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Templates: time 0.01258/0.192, allocations: 5.658 MB / 465.2 MB, free: 13.7 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches