Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009784/0.0009787, allocations: 179.4 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.81/1.81, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009214/0.0009221, allocations: 95.8 kB / 270.9 MB, free: 8.359 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.4083/0.4083, allocations: 43.56 MB / 362.7 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002521/0.1608, allocations: 1.526 MB / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1622, allocations: 0.8356 MB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.1624, allocations: 3.938 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1629, allocations: 247.5 kB / 492.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1633, allocations: 167.5 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1637, allocations: 127.8 kB / 493.1 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1639, allocations: 199.4 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1641, allocations: 25.53 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1642, allocations: 107.6 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.1644, allocations: 151.5 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1645, allocations: 7.984 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1646, allocations: 35.98 kB / 493.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.1647, allocations: 55.83 kB / 493.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.1648, allocations: 57.52 kB / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.165, allocations: 167.9 kB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.165, allocations: 0 / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.165, allocations: 0 / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1651, allocations: 4 kB / 493.9 MB, free: 7.484 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008022/0.1659, allocations: 0.5174 MB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1659, allocations: 16.02 kB / 494.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.166, allocations: 35.61 kB / 494.5 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1663, allocations: 259 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1664, allocations: 15.94 kB / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1664, allocations: 4 kB / 494.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1666, allocations: 99.28 kB / 494.9 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1667, allocations: 4 kB / 494.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1667, allocations: 3.953 kB / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1667, allocations: 0 / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1668, allocations: 43.91 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1674, allocations: 456.9 kB / 495.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1677, allocations: 117.3 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.1678, allocations: 45.7 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1679, allocations: 3.953 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.1681, allocations: 113 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1682, allocations: 0 / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000942/0.1691, allocations: 387.8 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.1692, allocations: 77.11 kB / 496.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.1697, allocations: 481.6 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1697, allocations: 29.7 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1699, allocations: 160.4 kB / 496.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1699, allocations: 47.34 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.1699, allocations: 4 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1701, allocations: 346.8 kB / 497.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1702, allocations: 43.88 kB / 497.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1703, allocations: 75.34 kB / 497.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1705, allocations: 51.92 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1705, allocations: 0 / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003295/0.1708, allocations: 185.2 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1708, allocations: 11.28 kB / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1709, allocations: 0 / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1709, allocations: 0 / 497.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.171, allocations: 35.92 kB / 497.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1711, allocations: 0 / 497.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1712, allocations: 12 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1712, allocations: 4 kB / 497.6 MB, free: 3.598 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001849/0.1714, allocations: 173.8 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1714, allocations: 31.62 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.1715, allocations: 38.81 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1715, allocations: 4 kB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1715, allocations: 0 / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1715, allocations: 0 / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007425/0.1723, allocations: 0.64 MB / 498.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1723, allocations: 3.984 kB / 498.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.1724, allocations: 19.94 kB / 498.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1724, allocations: 4 kB / 498.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1724, allocations: 4 kB / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1724, allocations: 7.984 kB / 498.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1724, allocations: 3.953 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.1728, allocations: 360.1 kB / 498.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1729, allocations: 104.7 kB / 498.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.173, allocations: 11.98 kB / 498.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1731, allocations: 4 kB / 498.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1732, allocations: 23.94 kB / 499 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.1732, allocations: 8.562 kB / 499 MB, free: 2.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.1736, allocations: 363.1 kB / 499.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1736, allocations: 0 / 499.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000305/0.1739, allocations: 40 kB / 499.4 MB, free: 1.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001027/0.1749, allocations: 480.6 kB / 499.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1752, allocations: 107.9 kB / 499.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1752, allocations: 0 / 499.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1754, allocations: 59.91 kB / 0.4883 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1759, allocations: 61.58 kB / 0.4883 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.1768, allocations: 0.5974 MB / 0.4889 GB, free: 376 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2361/0.4129, allocations: 0.7651 MB / 0.4897 GB, free: 42.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4131, allocations: 26.05 kB / 0.4897 GB, free: 42.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4131, allocations: 0.5312 kB / 0.4897 GB, free: 42.57 MB / 378.7 MB Notification: Performance of Templates: time 0.006402/0.4195, allocations: 3.343 MB / 0.493 GB, free: 42.36 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches