Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 82.05 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1622, allocations: 62.44 MB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004621/0.1669, allocations: 1.727 MB / 482.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1686, allocations: 1.017 MB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.1687, allocations: 4 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.169, allocations: 43.75 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1694, allocations: 99.53 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1696, allocations: 75.67 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1698, allocations: 103.7 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1699, allocations: 12 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.17, allocations: 51.78 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.1701, allocations: 31.78 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1701, allocations: 4 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1702, allocations: 36 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1703, allocations: 23.91 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1703, allocations: 43.67 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.1705, allocations: 115.9 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1706, allocations: 0 / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1706, allocations: 3.938 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1706, allocations: 0 / 484.1 MB, free: 1.879 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.0005377/0.1711, allocations: 418.9 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1712, allocations: 8.031 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.1712, allocations: 8.844 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1715, allocations: 212.8 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1715, allocations: 4.375 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1715, allocations: 8.062 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1717, allocations: 57.61 kB / 484.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1717, allocations: 4 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1717, allocations: 0 / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1717, allocations: 4 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.1718, allocations: 19.98 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1722, allocations: 284.8 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1724, allocations: 62.61 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1725, allocations: 24.84 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1725, allocations: 0 / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1727, allocations: 67.39 kB / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1727, allocations: 0 / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.1733, allocations: 169.5 kB / 485.4 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1733, allocations: 55.41 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1735, allocations: 194.4 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1735, allocations: 29.7 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.1736, allocations: 108.1 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1737, allocations: 23.62 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1737, allocations: 25.7 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1738, allocations: 326.8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.1739, allocations: 24.06 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.174, allocations: 37.64 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.1741, allocations: 65.7 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1741, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.1743, allocations: 97.44 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1743, allocations: 4 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1743, allocations: 7.984 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1744, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.1745, allocations: 12 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1745, allocations: 224 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.307e-05/0.1745, allocations: 15.94 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1745, allocations: 7.938 kB / 486.4 MB, free: 15.3 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.0001075/0.1747, allocations: 129.8 kB / 486.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1747, allocations: 7.906 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.1747, allocations: 21.39 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1748, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1748, allocations: 3.938 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1748, allocations: 3.938 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.1752, allocations: 407.4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1753, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.1753, allocations: 11.98 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1753, allocations: 0 / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1753, allocations: 7.938 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1753, allocations: 0 / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1753, allocations: 0 / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1756, allocations: 204.3 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.1757, allocations: 88.92 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1757, allocations: 7.922 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1758, allocations: 4 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1758, allocations: 7.984 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1759, allocations: 11.98 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.176, allocations: 144.2 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.176, allocations: 4 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1764, allocations: 23.98 kB / 487.5 MB, free: 14.13 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.001697/0.1782, allocations: 462.5 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.1784, allocations: 63.91 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1785, allocations: 0 / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1786, allocations: 27.94 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1791, allocations: 27.97 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.1799, allocations: 264.8 kB / 488.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1803, allocations: 0.7002 MB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1803, allocations: 15.44 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1804, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.005631/0.186, allocations: 1.962 MB / 491 MB, free: 10.72 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches