Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000899/0.0008989, allocations: 102.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009754/0.0009753, allocations: 199.5 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2613/0.2613, allocations: 46.18 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003197, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1621, allocations: 63.56 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002429/0.1646, allocations: 1.323 MB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1659, allocations: 0.5187 MB / 484.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.166, allocations: 0 / 484.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007585/0.1668, allocations: 439.2 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.1674, allocations: 283.3 kB / 484.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.168, allocations: 151.1 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1684, allocations: 135.7 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1685, allocations: 15.98 kB / 485.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.1687, allocations: 107.7 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.169, allocations: 167.7 kB / 485.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.169, allocations: 0 / 485.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1691, allocations: 23.98 kB / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1693, allocations: 83.69 kB / 485.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1694, allocations: 65.52 kB / 485.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1696, allocations: 183.7 kB / 485.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.1697, allocations: 0 / 485.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1697, allocations: 0 / 485.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1697, allocations: 0 / 485.9 MB, free: 1.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009733/0.1707, allocations: 0.599 MB / 486.5 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.1707, allocations: 16.02 kB / 486.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.538e-05/0.1708, allocations: 43.44 kB / 486.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1712, allocations: 279.2 kB / 486.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1712, allocations: 4 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1712, allocations: 4 kB / 486.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.1715, allocations: 53.67 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1715, allocations: 4 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1715, allocations: 4 kB / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1715, allocations: 0 / 486.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1717, allocations: 39.97 kB / 486.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.1724, allocations: 404.8 kB / 487.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1725, allocations: 46.66 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.1726, allocations: 28.83 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1727, allocations: 8 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1727, allocations: 30.56 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1727, allocations: 0 / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003999/0.1731, allocations: 145 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1732, allocations: 51.41 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009656/0.1741, allocations: 0.8613 MB / 488.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1742, allocations: 29.7 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1744, allocations: 208.1 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1744, allocations: 19.83 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.1744, allocations: 3.938 kB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1747, allocations: 358.8 kB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.1747, allocations: 27.98 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1748, allocations: 19.98 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.1749, allocations: 28.25 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1749, allocations: 3.938 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002496/0.1752, allocations: 125 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1752, allocations: 7.984 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1752, allocations: 0 / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1752, allocations: 0 / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.1753, allocations: 8 kB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1754, allocations: 7.984 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1754, allocations: 15.98 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1754, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000223/0.1757, allocations: 210.3 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.1757, allocations: 47.42 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.176, allocations: 141 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.176, allocations: 0 / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1761, allocations: 0 / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.1761, allocations: 4 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1764, allocations: 289.5 kB / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1765, allocations: 0 / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.1765, allocations: 11.98 kB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1765, allocations: 4 kB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1765, allocations: 0 / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1766, allocations: 4 kB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1766, allocations: 4 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.1769, allocations: 210.9 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.177, allocations: 116.6 kB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1771, allocations: 0 / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.1771, allocations: 11.94 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1772, allocations: 4 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1772, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006566/0.1778, allocations: 0.6511 MB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1779, allocations: 0 / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1781, allocations: 20 kB / 491 MB, free: 11.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0009524/0.1791, allocations: 354.7 kB / 491.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1793, allocations: 59.94 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1794, allocations: 0 / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.1794, allocations: 19.98 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1799, allocations: 34.19 kB / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1813, allocations: 0.8412 MB / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.1818, allocations: 0.8262 MB / 493.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1819, allocations: 12.17 kB / 493.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1819, allocations: 11.44 kB / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1819, allocations: 0 / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of Templates: time 0.00477/0.1867, allocations: 1.188 MB / 494.3 MB, free: 8.309 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches