Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 191 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.714/1.714, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2577/0.2577, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 12 kB / 418.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 63.56 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002748/0.1735, allocations: 1.384 MB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1751, allocations: 0.9266 MB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.1752, allocations: 0 / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1755, allocations: 39.88 kB / 484.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1757, allocations: 87.66 kB / 484.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.1759, allocations: 59.88 kB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.176, allocations: 91.69 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.1761, allocations: 4.234 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1762, allocations: 35.8 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.1763, allocations: 39.83 kB / 485.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1763, allocations: 0 / 485.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.1764, allocations: 31.94 kB / 485.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1764, allocations: 19.91 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.1765, allocations: 53.58 kB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1766, allocations: 88.08 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1767, allocations: 0 / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1767, allocations: 0 / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1767, allocations: 0 / 485.3 MB, free: 1.633 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005565/0.1772, allocations: 414.8 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1773, allocations: 8.031 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.1773, allocations: 15.81 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1776, allocations: 215.7 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1776, allocations: 7.984 kB / 485.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1776, allocations: 0 / 485.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1778, allocations: 53.62 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1778, allocations: 7.938 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1778, allocations: 3.984 kB / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1778, allocations: 0 / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.1779, allocations: 12 kB / 486 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1782, allocations: 201.5 kB / 486.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1783, allocations: 58.61 kB / 486.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.1784, allocations: 16.86 kB / 486.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1784, allocations: 3.938 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1786, allocations: 67.33 kB / 486.3 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1786, allocations: 0 / 486.3 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002888/0.1789, allocations: 101.6 kB / 486.4 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.179, allocations: 51.41 kB / 486.5 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1793, allocations: 270.9 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1793, allocations: 25.7 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.1794, allocations: 112.1 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1794, allocations: 11.91 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.1794, allocations: 0 / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1796, allocations: 330.8 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.1796, allocations: 16 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1797, allocations: 29.7 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.1797, allocations: 12 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.1797, allocations: 7.953 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.1799, allocations: 85.42 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1799, allocations: 8 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1799, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.18, allocations: 4.031 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.18, allocations: 12 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1801, allocations: 0 / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1801, allocations: 7.938 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1801, allocations: 7.984 kB / 487.4 MB, free: 15.27 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001428/0.1803, allocations: 133.8 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1803, allocations: 15.77 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1804, allocations: 17 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1804, allocations: 0 / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1804, allocations: 4 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1804, allocations: 3.984 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1806, allocations: 201.5 kB / 487.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1806, allocations: 0 / 487.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.1806, allocations: 16.2 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1806, allocations: 0 / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1806, allocations: 4 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1806, allocations: 0 / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1806, allocations: 0 / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1808, allocations: 112.9 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1809, allocations: 92.92 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1809, allocations: 7.938 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.181, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.181, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.181, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1812, allocations: 212.3 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1812, allocations: 0 / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1814, allocations: 16 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001064/0.1825, allocations: 408.1 kB / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1827, allocations: 39.97 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1827, allocations: 3.938 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.1828, allocations: 16 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1831, allocations: 42.94 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.1836, allocations: 277.8 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.184, allocations: 0.7208 MB / 489.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.184, allocations: 8.547 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1841, allocations: 15.44 kB / 489.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1841, allocations: 0 / 489.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004913/0.189, allocations: 1.418 MB / 491.2 MB, free: 11.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches