Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 101.1 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 213.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 246.3 MB, free: 10.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2551/0.2551, allocations: 46.11 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 74.33 kB / 416.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1634, allocations: 62.44 MB / 479.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003395/0.1668, allocations: 1.781 MB / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1698, allocations: 1.608 MB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1699, allocations: 0 / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.1704, allocations: 39.83 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1707, allocations: 79.75 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1709, allocations: 63.86 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1711, allocations: 103.6 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1713, allocations: 15.97 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.1714, allocations: 35.8 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1715, allocations: 43.83 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1716, allocations: 4 kB / 483.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1718, allocations: 107.9 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.1718, allocations: 11.94 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1719, allocations: 31.8 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1722, allocations: 167.8 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1722, allocations: 0 / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1723, allocations: 0 / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1723, allocations: 0 / 483.4 MB, free: 1.672 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.0007299/0.173, allocations: 431 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.1731, allocations: 8.875 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1731, allocations: 12.84 kB / 483.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1734, allocations: 212.6 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1735, allocations: 3.938 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1735, allocations: 4 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1737, allocations: 71.33 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1737, allocations: 0 / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1737, allocations: 0 / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1737, allocations: 0 / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.1738, allocations: 23.98 kB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1743, allocations: 288.9 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1745, allocations: 54.62 kB / 484.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.1745, allocations: 20.84 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1746, allocations: 11.94 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.1747, allocations: 67.39 kB / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1747, allocations: 0 / 484.6 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005903/0.1753, allocations: 185.1 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.1754, allocations: 84.98 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1756, allocations: 158.5 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1756, allocations: 33.7 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.1757, allocations: 100.1 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1757, allocations: 23.66 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1758, allocations: 25.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1759, allocations: 322.8 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.176, allocations: 19.94 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.1761, allocations: 42.56 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1762, allocations: 61.73 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1762, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1764, allocations: 101.6 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1764, allocations: 11.98 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1764, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1764, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.1765, allocations: 12 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1766, allocations: 7.938 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1766, allocations: 4.031 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1766, allocations: 7.984 kB / 485.7 MB, free: 15.06 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 9.701e-05/0.1767, allocations: 125.8 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1768, allocations: 11.81 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1768, allocations: 12.72 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1768, allocations: 3.984 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1768, allocations: 3.938 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1768, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.1773, allocations: 399.3 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1773, allocations: 0 / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1774, allocations: 11.94 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1774, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1774, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1774, allocations: 4.375 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1774, allocations: 0 / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1776, allocations: 212.4 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.1777, allocations: 84.95 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1777, allocations: 15.94 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.1778, allocations: 0 / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.1779, allocations: 11.92 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1779, allocations: 4 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.178, allocations: 126.5 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.178, allocations: 4 kB / 486.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1784, allocations: 51.98 kB / 486.8 MB, free: 13.89 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.001281/0.1796, allocations: 0.5313 MB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1798, allocations: 63.91 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1799, allocations: 4.062 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.1799, allocations: 23.94 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1803, allocations: 31.91 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.1808, allocations: 220.7 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1811, allocations: 0.6965 MB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.1812, allocations: 25.17 kB / 488.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.1812, allocations: 19.42 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1812, allocations: 0 / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.005564/0.1868, allocations: 2.3 MB / 490.7 MB, free: 10.12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches