Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1684, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003747/0.1722, allocations: 1.737 MB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1741, allocations: 1.021 MB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1742, allocations: 0 / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1745, allocations: 39.77 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1749, allocations: 99.53 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1751, allocations: 75.67 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1753, allocations: 107.7 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1754, allocations: 11.98 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.1755, allocations: 39.8 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.1756, allocations: 35.78 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1756, allocations: 4 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1757, allocations: 43.98 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.1758, allocations: 23.86 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.1759, allocations: 43.66 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1761, allocations: 119.6 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.572e-05/0.1761, allocations: 4 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1761, allocations: 0 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1761, allocations: 0 / 484.8 MB, free: 1.098 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.0006129/0.1767, allocations: 410.9 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1768, allocations: 12.03 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1769, allocations: 8.844 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1772, allocations: 220.7 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1772, allocations: 4.375 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1773, allocations: 8.125 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1774, allocations: 53.67 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1774, allocations: 0 / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1775, allocations: 0 / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1775, allocations: 0 / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.1776, allocations: 23.98 kB / 485.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.178, allocations: 288.8 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1782, allocations: 66.59 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1782, allocations: 28.84 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1783, allocations: 0 / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1784, allocations: 63.39 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1784, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005749/0.179, allocations: 177.2 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1791, allocations: 51.41 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1793, allocations: 194.4 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1793, allocations: 29.7 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.1794, allocations: 104.1 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1794, allocations: 19.72 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.1794, allocations: 25.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1796, allocations: 338.7 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1796, allocations: 12 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.1797, allocations: 37.7 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1798, allocations: 61.69 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1799, allocations: 0 / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.18, allocations: 105.4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1801, allocations: 8.031 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1801, allocations: 192 / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1801, allocations: 3.984 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1802, allocations: 19.94 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1802, allocations: 0 / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1803, allocations: 7.875 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1803, allocations: 4 kB / 487.2 MB, free: 14.52 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.0001106/0.1804, allocations: 125.8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1804, allocations: 11.91 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.1805, allocations: 25.33 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1805, allocations: 0 / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1805, allocations: 4 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1805, allocations: 3.938 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.1809, allocations: 391.2 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1809, allocations: 4 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.181, allocations: 11.98 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.181, allocations: 384 / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.181, allocations: 7.969 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.181, allocations: 4 kB / 487.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.181, allocations: 4 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1812, allocations: 200.2 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1813, allocations: 84.92 kB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1814, allocations: 11.92 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1814, allocations: 8 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1815, allocations: 4 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1815, allocations: 7.984 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1816, allocations: 144.2 kB / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1816, allocations: 0 / 488.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1819, allocations: 27.98 kB / 488.2 MB, free: 13.36 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.001094/0.183, allocations: 461 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1832, allocations: 67.89 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1832, allocations: 0 / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.1833, allocations: 27.94 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1837, allocations: 27.16 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.1842, allocations: 231.1 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1846, allocations: 0.7041 MB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.1846, allocations: 9.203 kB / 489.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.1847, allocations: 19.42 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1847, allocations: 4 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004793/0.1895, allocations: 1.733 MB / 491.5 MB, free: 10.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches