Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.074/2.074, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.1 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 81.36 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.162, allocations: 62.44 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004433/0.1665, allocations: 1.788 MB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.169, allocations: 1.021 MB / 482.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1692, allocations: 4 kB / 482.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.1696, allocations: 75.77 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.1701, allocations: 99.7 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1705, allocations: 63.88 kB / 483 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.1708, allocations: 111.6 kB / 483.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1709, allocations: 15.98 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.1711, allocations: 43.78 kB / 483.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1712, allocations: 63.75 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1713, allocations: 4 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1714, allocations: 39.98 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.1715, allocations: 23.84 kB / 483.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.518e-05/0.1716, allocations: 35.75 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1719, allocations: 96.03 kB / 483.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1719, allocations: 0 / 483.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1719, allocations: 0 / 483.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1719, allocations: 4 kB / 483.4 MB, free: 2.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007528/0.1727, allocations: 423 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1728, allocations: 8.875 kB / 483.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1728, allocations: 16.75 kB / 483.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1732, allocations: 216.5 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1732, allocations: 384 / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1733, allocations: 12.03 kB / 484.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1735, allocations: 53.67 kB / 484.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1735, allocations: 4 kB / 484.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1735, allocations: 0 / 484.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1735, allocations: 4 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1737, allocations: 15.98 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.1742, allocations: 288.9 kB / 484.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1745, allocations: 66.61 kB / 484.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1746, allocations: 20.86 kB / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1746, allocations: 7.922 kB / 484.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.1749, allocations: 67.39 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 6.182e-06/0.1749, allocations: 3.984 kB / 484.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008158/0.1757, allocations: 177 kB / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1758, allocations: 63.39 kB / 484.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.1762, allocations: 215.5 kB / 485 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.1762, allocations: 25.7 kB / 485.1 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1763, allocations: 112.1 kB / 485.2 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1764, allocations: 23.64 kB / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.1765, allocations: 21.72 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1767, allocations: 330.7 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.1768, allocations: 23.98 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1769, allocations: 41.7 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1771, allocations: 61.69 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1771, allocations: 0 / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000305/0.1774, allocations: 101.4 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1774, allocations: 4 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1775, allocations: 0 / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1775, allocations: 0 / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1776, allocations: 24.02 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1777, allocations: 0 / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.1778, allocations: 15.88 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1778, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.1779, allocations: 129.8 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.178, allocations: 11.91 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.1781, allocations: 21.39 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1781, allocations: 0 / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1781, allocations: 4 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1781, allocations: 7.938 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.1788, allocations: 395.4 kB / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1788, allocations: 0 / 486.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.1788, allocations: 11.98 kB / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1789, allocations: 384 / 486.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1789, allocations: 7.938 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1789, allocations: 4 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1789, allocations: 80 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.1793, allocations: 208.4 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.1794, allocations: 92.91 kB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.1794, allocations: 11.88 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1796, allocations: 7.938 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.1796, allocations: 7.984 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1797, allocations: 4 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.1799, allocations: 169.2 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1799, allocations: 0 / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.1804, allocations: 24 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.1822, allocations: 449.3 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.1825, allocations: 59.91 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1825, allocations: 0 / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1827, allocations: 31.92 kB / 487.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.1832, allocations: 27.92 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.1841, allocations: 310.9 kB / 487.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1845, allocations: 0.7083 MB / 488.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.1846, allocations: 23.42 kB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1846, allocations: 0 / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005814/0.1904, allocations: 1.987 MB / 490.5 MB, free: 10.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches