Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 116.1 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002309/0.002309, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 79.06 kB / 417.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1591, allocations: 62.44 MB / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003892/0.1631, allocations: 1.797 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.165, allocations: 1.006 MB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1652, allocations: 4 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.1656, allocations: 55.81 kB / 482.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.166, allocations: 79.75 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1662, allocations: 67.8 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1665, allocations: 111.7 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1666, allocations: 7.984 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1667, allocations: 47.78 kB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.1668, allocations: 31.8 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1668, allocations: 7.938 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1669, allocations: 43.97 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.167, allocations: 31.91 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.649e-05/0.1671, allocations: 39.69 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1674, allocations: 143.8 kB / 483 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1674, allocations: 0 / 483 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1675, allocations: 0 / 483 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1675, allocations: 0 / 483 MB, free: 2.152 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.0008513/0.1683, allocations: 450.7 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1684, allocations: 11.97 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.1684, allocations: 12.84 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1687, allocations: 216.9 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.1688, allocations: 4.375 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1688, allocations: 12.12 kB / 483.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.169, allocations: 53.67 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.169, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.169, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.169, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.1691, allocations: 19.98 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.1695, allocations: 304.8 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1697, allocations: 58.69 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.1698, allocations: 24.78 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1698, allocations: 0 / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1701, allocations: 67.33 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.1701, allocations: 4 kB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.1707, allocations: 188.9 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1708, allocations: 55.41 kB / 484.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.171, allocations: 267 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1711, allocations: 25.7 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1712, allocations: 120.1 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.1712, allocations: 15.72 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1712, allocations: 25.72 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1714, allocations: 334.8 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.1714, allocations: 23.98 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.1715, allocations: 29.72 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1716, allocations: 65.62 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1717, allocations: 4 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1718, allocations: 97.48 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1719, allocations: 8 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1719, allocations: 4.406 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1719, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.172, allocations: 15.94 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.172, allocations: 4 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.1721, allocations: 19.86 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1721, allocations: 4 kB / 485.4 MB, free: 15.42 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.000111/0.1722, allocations: 137.8 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1722, allocations: 15.81 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1723, allocations: 25.39 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1723, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1723, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1723, allocations: 3.938 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1728, allocations: 403.3 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1728, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.1729, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1729, allocations: 4 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1729, allocations: 7.969 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1729, allocations: 3.938 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1729, allocations: 4.188 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1732, allocations: 208.4 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1732, allocations: 92.86 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.1733, allocations: 7.938 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1733, allocations: 11.94 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1734, allocations: 7.984 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1734, allocations: 4 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.1736, allocations: 204.4 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1739, allocations: 23.98 kB / 486.6 MB, free: 14.16 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.001176/0.1751, allocations: 461.2 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1753, allocations: 67.89 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1753, allocations: 0 / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1755, allocations: 20 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1759, allocations: 34.97 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.1764, allocations: 331.7 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1767, allocations: 0.7119 MB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.1768, allocations: 25.17 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1768, allocations: 23.38 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1769, allocations: 0 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004577/0.1814, allocations: 1.735 MB / 490 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches