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.001611/0.001615, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001128/0.001128, allocations: 94.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3285/0.3285, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006714/0.0006718, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1656, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002716/0.1684, allocations: 1.461 MB / 491.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1704, allocations: 0.7968 MB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1706, allocations: 0 / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.1713, allocations: 287.4 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1718, allocations: 199.5 kB / 493 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.1724, allocations: 123.7 kB / 493.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.1728, allocations: 163.7 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.188e-05/0.1729, allocations: 9.547 kB / 493.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1731, allocations: 111.6 kB / 493.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.1734, allocations: 147.6 kB / 493.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.1735, allocations: 7.938 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1736, allocations: 27.98 kB / 493.5 MB, free: 6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.1739, allocations: 131.6 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.174, allocations: 77.45 kB / 493.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.1744, allocations: 283.7 kB / 494 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1745, allocations: 0 / 494 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1745, allocations: 0 / 494 MB, free: 5.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1745, allocations: 0 / 494 MB, free: 5.512 MB / 330.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.001234/0.1757, allocations: 0.6687 MB / 494.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1758, allocations: 16.02 kB / 494.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1759, allocations: 51.39 kB / 494.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.1768, allocations: 427.1 kB / 495.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1768, allocations: 0 / 495.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1769, allocations: 4 kB / 495.2 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1772, allocations: 87.34 kB / 495.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1772, allocations: 0 / 495.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1772, allocations: 0 / 495.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1773, allocations: 0 / 495.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1774, allocations: 43.86 kB / 495.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.1781, allocations: 378.3 kB / 495.7 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.1785, allocations: 105.3 kB / 495.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1785, allocations: 7.984 kB / 495.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.1789, allocations: 105.1 kB / 495.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.1789, allocations: 0 / 495.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007809/0.1797, allocations: 201.3 kB / 496.1 MB, free: 3.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.1798, allocations: 85.11 kB / 496.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.1816, allocations: 1.034 MB / 497.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1817, allocations: 25.7 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.1819, allocations: 250.5 kB / 497.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.182, allocations: 27.64 kB / 497.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.182, allocations: 8 kB / 497.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1822, allocations: 314.8 kB / 497.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1824, allocations: 27.98 kB / 497.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1825, allocations: 55.42 kB / 497.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1827, allocations: 35.98 kB / 497.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1827, allocations: 0 / 497.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004377/0.1832, allocations: 125.4 kB / 498.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1832, allocations: 4 kB / 498.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.1832, allocations: 8.062 kB / 498.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1832, allocations: 0 / 498.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1835, allocations: 19.98 kB / 498.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1835, allocations: 4 kB / 498.1 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1837, allocations: 11.98 kB / 498.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1837, allocations: 7.953 kB / 498.1 MB, free: 1.164 MB / 330.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.0003575/0.1841, allocations: 233.5 kB / 498.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.1842, allocations: 51.34 kB / 498.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1843, allocations: 60 kB / 498.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1844, allocations: 7.938 kB / 498.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1844, allocations: 0 / 498.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1844, allocations: 0 / 498.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1849, allocations: 345.4 kB / 498.8 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1849, allocations: 0 / 498.8 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.185, allocations: 8 kB / 498.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/0.185, allocations: 0 / 498.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.185, allocations: 0 / 498.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.185, allocations: 4 kB / 498.8 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1851, allocations: 192 / 498.8 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.1856, allocations: 222.9 kB / 499 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.1859, allocations: 140.5 kB / 499.2 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.186, allocations: 8.047 kB / 499.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1861, allocations: 4 kB / 499.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.1862, allocations: 23.84 kB / 499.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.1863, allocations: 4 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.1876, allocations: 0.7682 MB / 500 MB, free: 15.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.1877, allocations: 4 kB / 500 MB, free: 15.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.1881, allocations: 51.86 kB / 0.4883 GB, free: 15.14 MB / 346.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.001302/0.1895, allocations: 405.6 kB / 0.4887 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.1899, allocations: 83.95 kB / 0.4888 GB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1899, allocations: 4.062 kB / 0.4888 GB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1901, allocations: 43.92 kB / 0.4888 GB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.1908, allocations: 58.27 kB / 0.4889 GB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1928, allocations: 0.9534 MB / 0.4898 GB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.1934, allocations: 0.8507 MB / 0.4906 GB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1936, allocations: 27.44 kB / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.1936, allocations: 3.938 kB / 0.4907 GB, free: 12.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01377/0.2074, allocations: 4.967 MB / 0.4955 GB, free: 7.738 MB / 346.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/jenkins1/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