Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 178.6 kB / 16.41 MB, free: 5.707 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.599/1.599, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001093/0.001093, allocations: 94.3 kB / 270.9 MB, free: 8.352 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.4356/0.4356, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 23.98 kB / 431.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 58.85 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002217/0.1625, allocations: 1.472 MB / 491.7 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.164, allocations: 0.8201 MB / 492.5 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1641, allocations: 3.938 kB / 492.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.1647, allocations: 287.4 kB / 492.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.165, allocations: 191.5 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1654, allocations: 127.8 kB / 493.1 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.1657, allocations: 195.4 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.1658, allocations: 21.53 kB / 493.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.166, allocations: 111.6 kB / 493.5 MB, free: 7.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1662, allocations: 159.5 kB / 493.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1663, allocations: 0 / 493.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1664, allocations: 36 kB / 493.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1666, allocations: 131.6 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.1667, allocations: 73.45 kB / 493.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.167, allocations: 271.8 kB / 494.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.1671, allocations: 8 kB / 494.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1671, allocations: 0 / 494.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1671, allocations: 0 / 494.1 MB, free: 7.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001111/0.1682, allocations: 0.6725 MB / 494.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1683, allocations: 12.02 kB / 494.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.1683, allocations: 43.44 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.1689, allocations: 415.2 kB / 495.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.169, allocations: 0 / 495.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.169, allocations: 11.98 kB / 495.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1693, allocations: 83.31 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1693, allocations: 3.984 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1693, allocations: 0 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1693, allocations: 3.953 kB / 495.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1694, allocations: 27.98 kB / 495.4 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1699, allocations: 386.2 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1702, allocations: 101.2 kB / 495.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1703, allocations: 37.7 kB / 495.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1704, allocations: 8 kB / 495.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.1707, allocations: 109 kB / 496 MB, free: 4.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1707, allocations: 3.938 kB / 496 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005138/0.1712, allocations: 197 kB / 496.2 MB, free: 4.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1713, allocations: 81.06 kB / 496.3 MB, free: 4.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1723, allocations: 1.018 MB / 497.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1724, allocations: 25.7 kB / 497.3 MB, free: 3.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1726, allocations: 224.1 kB / 497.6 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.1726, allocations: 31.69 kB / 497.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1726, allocations: 4 kB / 497.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1728, allocations: 362.8 kB / 497.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.1729, allocations: 27.98 kB / 498 MB, free: 2.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.173, allocations: 63.41 kB / 498 MB, free: 2.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1731, allocations: 31.94 kB / 498.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1731, allocations: 0 / 498.1 MB, free: 2.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002817/0.1734, allocations: 161 kB / 498.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1735, allocations: 4 kB / 498.2 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1735, allocations: 4.062 kB / 498.2 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1735, allocations: 4 kB / 498.2 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1736, allocations: 23.98 kB / 498.3 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1736, allocations: 7.891 kB / 498.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1738, allocations: 15.84 kB / 498.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1738, allocations: 4 kB / 498.3 MB, free: 2.617 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.174, allocations: 221.6 kB / 498.5 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.1741, allocations: 47.97 kB / 498.5 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.1741, allocations: 67.84 kB / 498.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1742, allocations: 0 / 498.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.1742, allocations: 0 / 498.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1742, allocations: 3.953 kB / 498.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.1745, allocations: 333.5 kB / 498.9 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1745, allocations: 4 kB / 498.9 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.1745, allocations: 4 kB / 498.9 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1746, allocations: 4 kB / 499 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1746, allocations: 4 kB / 499 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1746, allocations: 7.938 kB / 499 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1746, allocations: 0 / 499 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1749, allocations: 201.3 kB / 499.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1751, allocations: 152.4 kB / 499.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1751, allocations: 3.938 kB / 499.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.1752, allocations: 8.078 kB / 499.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.1753, allocations: 15.92 kB / 499.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1753, allocations: 8 kB / 499.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007699/0.1761, allocations: 0.7487 MB / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1761, allocations: 0 / 0.4884 GB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.1764, allocations: 51.94 kB / 0.4884 GB, free: 0.6562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000934/0.1773, allocations: 408.4 kB / 0.4888 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1776, allocations: 75.91 kB / 0.4889 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1776, allocations: 4.125 kB / 0.4889 GB, free: 232 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1777, allocations: 39.92 kB / 0.4889 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1781, allocations: 66.2 kB / 0.489 GB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2478/0.426, allocations: 0.9249 MB / 0.4899 GB, free: 43.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4264, allocations: 0.8344 MB / 0.4907 GB, free: 42.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4265, allocations: 35.52 kB / 0.4907 GB, free: 42.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4265, allocations: 2.953 kB / 0.4907 GB, free: 42.4 MB / 378.7 MB Notification: Performance of Templates: time 0.009488/0.436, allocations: 4.895 MB / 0.4955 GB, free: 41.89 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches