Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,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.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,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.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 178.8 kB / 16.41 MB, free: 5.703 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.793/1.793, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008814/0.0008813, allocations: 90.31 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.4613/0.4613, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.000454, allocations: 12 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1579, allocations: 58.85 MB / 490.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002349/0.1603, allocations: 1.468 MB / 491.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1619, allocations: 0.8201 MB / 492.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.162, allocations: 3.938 kB / 492.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.1626, allocations: 295.4 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.1632, allocations: 199.5 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.1639, allocations: 131.8 kB / 493.2 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006288/0.1645, allocations: 203.4 kB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1646, allocations: 17.53 kB / 493.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.165, allocations: 115.6 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.1654, allocations: 155.6 kB / 493.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.1655, allocations: 4 kB / 493.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1657, allocations: 35.97 kB / 493.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.1659, allocations: 139.6 kB / 493.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.166, allocations: 69.52 kB / 493.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.1666, allocations: 279.8 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.1666, allocations: 0 / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1666, allocations: 0 / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.1666, allocations: 0 / 494.2 MB, free: 7.031 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.001493/0.1681, allocations: 0.6803 MB / 494.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/0.1682, allocations: 12.02 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1684, allocations: 51.34 kB / 494.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008961/0.1693, allocations: 423.1 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1693, allocations: 7.938 kB / 495.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1694, allocations: 4 kB / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1696, allocations: 83.36 kB / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1696, allocations: 0 / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1697, allocations: 0 / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1697, allocations: 7.953 kB / 495.4 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1698, allocations: 23.98 kB / 495.4 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.1705, allocations: 386.2 kB / 495.8 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1708, allocations: 101.2 kB / 495.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.171, allocations: 41.7 kB / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.171, allocations: 4 kB / 496 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.1713, allocations: 109 kB / 496.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.1714, allocations: 3.938 kB / 496.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005736/0.1719, allocations: 197.4 kB / 496.3 MB, free: 4.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.172, allocations: 85.06 kB / 496.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1733, allocations: 1.034 MB / 497.4 MB, free: 3.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1734, allocations: 33.7 kB / 497.4 MB, free: 3.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1736, allocations: 232.1 kB / 497.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.1736, allocations: 27.64 kB / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1736, allocations: 0 / 497.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1738, allocations: 374.8 kB / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.1739, allocations: 31.92 kB / 498.1 MB, free: 2.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.174, allocations: 55.42 kB / 498.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.828e-05/0.1741, allocations: 40.11 kB / 498.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1741, allocations: 0 / 498.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00033/0.1745, allocations: 161 kB / 498.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1745, allocations: 8.062 kB / 498.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1745, allocations: 4 kB / 498.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1745, allocations: 0 / 498.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1747, allocations: 27.92 kB / 498.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1747, allocations: 3.953 kB / 498.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1748, allocations: 7.984 kB / 498.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1748, allocations: 11.98 kB / 498.4 MB, free: 2.539 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.0002309/0.1751, allocations: 229.5 kB / 498.6 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.1752, allocations: 55.34 kB / 498.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.1753, allocations: 60 kB / 498.7 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1753, allocations: 7.938 kB / 498.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1753, allocations: 0 / 498.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1753, allocations: 3.953 kB / 498.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.1756, allocations: 337.5 kB / 499 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1757, allocations: 0 / 499 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.1757, allocations: 8 kB / 499.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1757, allocations: 0 / 499.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1757, allocations: 4 kB / 499.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1757, allocations: 0 / 499.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1757, allocations: 4 kB / 499.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1761, allocations: 213.2 kB / 499.3 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1763, allocations: 136.5 kB / 499.4 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.1763, allocations: 11.92 kB / 499.4 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.1764, allocations: 8 kB / 499.4 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.1765, allocations: 11.98 kB / 499.4 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.1765, allocations: 4 kB / 499.4 MB, free: 1.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008795/0.1774, allocations: 0.7721 MB / 0.4885 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1774, allocations: 0 / 0.4885 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.1777, allocations: 47.86 kB / 0.4885 GB, free: 0.5508 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.001012/0.1787, allocations: 416.7 kB / 0.4889 GB, free: 196 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.179, allocations: 76.09 kB / 0.489 GB, free: 120 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.179, allocations: 8.062 kB / 0.489 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1791, allocations: 36.11 kB / 0.489 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1796, allocations: 62.27 kB / 0.4891 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2623/0.4419, allocations: 0.9544 MB / 0.49 GB, free: 43.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.4423, allocations: 0.8434 MB / 0.4909 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.4425, allocations: 28.17 kB / 0.4909 GB, free: 42.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4425, allocations: 4.047 kB / 0.4909 GB, free: 42.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01357/0.456, allocations: 4.994 MB / 0.4958 GB, free: 41.82 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches