Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 97.33 kB / 16.98 MB, free: 6.398 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.0008951/0.0008952, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005602, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1566, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002963/0.1596, allocations: 1.547 MB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1616, allocations: 0.8933 MB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.1619, allocations: 3.938 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.1625, allocations: 239.4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.163, allocations: 155.7 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.1637, allocations: 170.4 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.1642, allocations: 167.6 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1643, allocations: 21.67 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.1646, allocations: 107.6 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1649, allocations: 139.6 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.165, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1651, allocations: 43.86 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1653, allocations: 63.8 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.185e-05/0.1654, allocations: 53.58 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.1658, allocations: 179.9 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1658, allocations: 0 / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1658, allocations: 0 / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1658, allocations: 3.938 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009756/0.1668, allocations: 0.533 MB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1669, allocations: 12.03 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.167, allocations: 27.62 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1674, allocations: 275 kB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1674, allocations: 4 kB / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1675, allocations: 8 kB / 476.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.1678, allocations: 115.3 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.1678, allocations: 4 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1678, allocations: 7.984 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1678, allocations: 0 / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.168, allocations: 47.91 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.1687, allocations: 480.7 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1691, allocations: 125.2 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1691, allocations: 3.984 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.1695, allocations: 127.7 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1695, allocations: 0 / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.171, allocations: 0.4892 MB / 477.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.1711, allocations: 93.05 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.1716, allocations: 473.7 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1717, allocations: 37.7 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1718, allocations: 168.4 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.1719, allocations: 67.09 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.1719, allocations: 0 / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1721, allocations: 350.8 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1722, allocations: 55.97 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1724, allocations: 95.28 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1725, allocations: 72.14 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1725, allocations: 3.938 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003909/0.1729, allocations: 229.1 kB / 479.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.173, allocations: 8 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.173, allocations: 0 / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.173, allocations: 0 / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1731, allocations: 51.97 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1732, allocations: 8.062 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.1733, allocations: 11.95 kB / 479.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1733, allocations: 8 kB / 479.1 MB, free: 5.77 MB / 350.1 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 (26): * Single equations (assignments): 26 * 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.00016/0.1735, allocations: 178.2 kB / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1735, allocations: 35.61 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.1736, allocations: 42.81 kB / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1736, allocations: 0 / 479.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.1736, allocations: 8 kB / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1736, allocations: 3.938 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1747, allocations: 0.7272 MB / 480.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.1748, allocations: 8.125 kB / 480.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.1749, allocations: 35.94 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1749, allocations: 4 kB / 480.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1749, allocations: 4 kB / 480.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.1749, allocations: 4 kB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1749, allocations: 3.938 kB / 480.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.1755, allocations: 485.2 kB / 480.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.1756, allocations: 104.7 kB / 480.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1757, allocations: 15.95 kB / 480.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1759, allocations: 15.92 kB / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.1759, allocations: 15.98 kB / 480.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.176, allocations: 15.98 kB / 480.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.1764, allocations: 355.1 kB / 481.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1764, allocations: 0 / 481.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.1768, allocations: 48 kB / 481.2 MB, free: 3.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001454/0.1783, allocations: 0.5189 MB / 481.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.1787, allocations: 155.8 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1787, allocations: 0 / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.1789, allocations: 75.91 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.1794, allocations: 62.52 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1805, allocations: 0.6246 MB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.181, allocations: 0.7964 MB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1811, allocations: 41.91 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1811, allocations: 27.42 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1812, allocations: 4 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.00677/0.1879, allocations: 2.869 MB / 486.4 MB, free: 14.53 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches