Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008804/0.0008805, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 200.6 kB / 18.28 MB, free: 5.477 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.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.18 MB / 345.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002214/0.1667, allocations: 1.37 MB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1679, allocations: 0.5691 MB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.168, allocations: 0 / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.1687, allocations: 459.2 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.1691, allocations: 279.4 kB / 485.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1696, allocations: 162.6 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1699, allocations: 175.6 kB / 486.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.17, allocations: 19.98 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1701, allocations: 107.8 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1704, allocations: 203.5 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1705, allocations: 0 / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.1706, allocations: 31.98 kB / 486.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.1707, allocations: 87.62 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1709, allocations: 136.7 kB / 486.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1713, allocations: 247 kB / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1713, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1713, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1713, allocations: 0 / 486.9 MB, free: 304 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007515/0.1721, allocations: 0.603 MB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1721, allocations: 12.88 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.1722, allocations: 36.47 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1725, allocations: 308.1 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1725, allocations: 4.375 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1726, allocations: 4.375 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1728, allocations: 65.8 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1728, allocations: 0 / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1728, allocations: 7.938 kB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1728, allocations: 0 / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.173, allocations: 51.94 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.1735, allocations: 412.6 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1737, allocations: 54.55 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.1738, allocations: 28.94 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1738, allocations: 0 / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.1739, allocations: 38.56 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1739, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001004/0.1749, allocations: 347.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.175, allocations: 55.41 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.1758, allocations: 0.8691 MB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1758, allocations: 25.7 kB / 489.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.176, allocations: 212.1 kB / 490 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1761, allocations: 31.7 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1761, allocations: 9.719 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1762, allocations: 362.7 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1764, allocations: 55.95 kB / 490.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1765, allocations: 47.97 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.1768, allocations: 104.8 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1768, allocations: 0 / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003437/0.1771, allocations: 173.1 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1771, allocations: 8 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1772, allocations: 3.938 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1772, allocations: 0 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1773, allocations: 27.98 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1773, allocations: 0 / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1774, allocations: 23.86 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.1774, allocations: 4 kB / 490.8 MB, free: 12.13 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 (7): * Single equations (assignments): 7 * 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.0001871/0.1776, allocations: 213.8 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1777, allocations: 43.44 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.1781, allocations: 201.4 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1781, allocations: 0 / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1781, allocations: 4 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1781, allocations: 7.938 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.1789, allocations: 0.5179 MB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1789, allocations: 0 / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.179, allocations: 24.27 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.179, allocations: 0 / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.179, allocations: 7.938 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.179, allocations: 0 / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.179, allocations: 0 / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.1794, allocations: 287.2 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.1796, allocations: 124.5 kB / 492.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1796, allocations: 3.938 kB / 492.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1797, allocations: 11.98 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1798, allocations: 4 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1798, allocations: 0 / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.1804, allocations: 0.6589 MB / 492.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 492.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1807, allocations: 24 kB / 492.9 MB, free: 9.91 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009742/0.1817, allocations: 404.4 kB / 493.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.182, allocations: 115.8 kB / 493.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1821, allocations: 0 / 493.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.1822, allocations: 51.97 kB / 493.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1826, allocations: 26.3 kB / 493.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1839, allocations: 0.9158 MB / 494.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.1843, allocations: 0.8302 MB / 495.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.1844, allocations: 20.66 kB / 495.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1844, allocations: 15.42 kB / 495.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1844, allocations: 3.938 kB / 495.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of Templates: time 0.004645/0.1891, allocations: 1.481 MB / 496.8 MB, free: 6.137 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches