Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 77.41 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003584/0.168, allocations: 1.724 MB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1698, allocations: 1.021 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.867e-05/0.1699, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1703, allocations: 55.75 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1706, allocations: 95.59 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1709, allocations: 79.67 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1711, allocations: 103.6 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1712, allocations: 27.97 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.1713, allocations: 39.8 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.1714, allocations: 39.72 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1714, allocations: 4 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1715, allocations: 43.97 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1716, allocations: 19.92 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.1717, allocations: 43.69 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1719, allocations: 143.8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1719, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1719, allocations: 0 / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1719, allocations: 4 kB / 483.5 MB, free: 1.832 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.000664/0.1726, allocations: 446.6 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1727, allocations: 12.03 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.1727, allocations: 8.844 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.173, allocations: 224.9 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.173, allocations: 384 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.173, allocations: 8.125 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1732, allocations: 53.67 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1732, allocations: 4 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1732, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1732, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.1733, allocations: 23.92 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1737, allocations: 296.9 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1739, allocations: 54.69 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.174, allocations: 28.84 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.174, allocations: 0 / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1742, allocations: 71.33 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.527e-06/0.1743, allocations: 0 / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.1748, allocations: 188.9 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1749, allocations: 55.41 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1752, allocations: 271 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1752, allocations: 25.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.1753, allocations: 112.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.1753, allocations: 23.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1754, allocations: 21.72 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1755, allocations: 334.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.1756, allocations: 20 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.1757, allocations: 41.64 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1758, allocations: 65.62 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1758, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.176, allocations: 105.5 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.176, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.176, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.176, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.1761, allocations: 23.97 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.1761, allocations: 4.141 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1762, allocations: 11.86 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1762, allocations: 8 kB / 485.9 MB, free: 15.1 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.0001102/0.1763, allocations: 136.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1763, allocations: 15.81 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.1764, allocations: 17.41 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1764, allocations: 3.984 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1764, allocations: 0 / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1764, allocations: 11.92 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.1769, allocations: 403.3 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1769, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.1769, allocations: 8 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1769, allocations: 3.938 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1769, allocations: 3.938 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1769, allocations: 384 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.177, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1772, allocations: 204.2 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.1772, allocations: 96.91 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1773, allocations: 7.938 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.1773, allocations: 3.938 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1774, allocations: 11.98 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1774, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1776, allocations: 204.4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1779, allocations: 27.98 kB / 487.1 MB, free: 13.85 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.001096/0.179, allocations: 461 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1792, allocations: 63.89 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1792, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1793, allocations: 28 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1796, allocations: 30.97 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.1802, allocations: 296 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1806, allocations: 0.7235 MB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.1806, allocations: 20.86 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.1807, allocations: 19.38 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1807, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004877/0.1856, allocations: 1.763 MB / 490.5 MB, free: 10.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches