Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001348, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.284/0.284, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1609, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003411/0.1643, allocations: 1.743 MB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1661, allocations: 1.027 MB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.1661, allocations: 7.938 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1665, allocations: 107.7 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1669, allocations: 119.5 kB / 484.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1671, allocations: 87.66 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1673, allocations: 119.7 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1675, allocations: 15.98 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.1676, allocations: 55.77 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1677, allocations: 71.69 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1677, allocations: 4 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1678, allocations: 63.97 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.1679, allocations: 23.91 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.168, allocations: 47.62 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1682, allocations: 143.5 kB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1682, allocations: 4 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1682, allocations: 0 / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1682, allocations: 0 / 485.1 MB, free: 0.9023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006258/0.1689, allocations: 446.8 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1689, allocations: 8.031 kB / 485.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.169, allocations: 16.75 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.1693, allocations: 219.9 kB / 485.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1693, allocations: 8.375 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1694, allocations: 12.12 kB / 485.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1695, allocations: 57.66 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1695, allocations: 0 / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1696, allocations: 4 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1696, allocations: 11.86 kB / 485.9 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.1697, allocations: 23.98 kB / 485.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.1702, allocations: 312.7 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1704, allocations: 58.56 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.1705, allocations: 28.91 kB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1705, allocations: 0 / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.1707, allocations: 71.38 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1707, allocations: 0 / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007625/0.1715, allocations: 249 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1716, allocations: 59.34 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1718, allocations: 247.2 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1718, allocations: 29.7 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.1719, allocations: 112.1 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.172, allocations: 31.55 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.172, allocations: 25.72 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1722, allocations: 334.8 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.1722, allocations: 27.94 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.1723, allocations: 53.62 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1725, allocations: 73.72 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1725, allocations: 0 / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002084/0.1727, allocations: 129.4 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1727, allocations: 8.031 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1727, allocations: 0 / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1727, allocations: 4 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.1728, allocations: 19.98 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1728, allocations: 3.938 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.1729, allocations: 4 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1729, allocations: 7.938 kB / 487.7 MB, free: 14.02 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 (13): * Single equations (assignments): 13 * 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.0001167/0.173, allocations: 137.8 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1731, allocations: 15.81 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.1731, allocations: 25.39 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1731, allocations: 4 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1731, allocations: 3.938 kB / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1732, allocations: 0 / 487.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.1737, allocations: 459.9 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1737, allocations: 0 / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1737, allocations: 16.08 kB / 488.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1737, allocations: 8 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1738, allocations: 12 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1738, allocations: 0 / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1738, allocations: 4 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.174, allocations: 236.9 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.1741, allocations: 88.92 kB / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1741, allocations: 11.94 kB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.1742, allocations: 7.984 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1743, allocations: 4 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1743, allocations: 8 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1744, allocations: 196.2 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1745, allocations: 0 / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1747, allocations: 28 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001361/0.1761, allocations: 0.5055 MB / 489.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1763, allocations: 83.84 kB / 489.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1764, allocations: 3.938 kB / 489.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.462e-05/0.1764, allocations: 39.92 kB / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1768, allocations: 39.47 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.1773, allocations: 300.9 kB / 489.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1777, allocations: 0.7158 MB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1777, allocations: 16.64 kB / 490.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.1778, allocations: 19.42 kB / 490.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1778, allocations: 4 kB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Templates: time 0.005427/0.1832, allocations: 2.007 MB / 492.7 MB, free: 9.082 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches