Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.13 MB / 344.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 78.3 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1686, allocations: 62.46 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004556/0.1732, allocations: 1.682 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1745, allocations: 0.5844 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.1746, allocations: 0 / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1749, allocations: 47.83 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1753, allocations: 95.59 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.1759, allocations: 175 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1761, allocations: 95.75 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1763, allocations: 20.22 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.1763, allocations: 31.86 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1765, allocations: 43.83 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1765, allocations: 4 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1766, allocations: 63.91 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.1767, allocations: 23.91 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.1768, allocations: 31.75 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1771, allocations: 107.7 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1771, allocations: 0 / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1771, allocations: 0 / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1771, allocations: 0 / 483.1 MB, free: 2.164 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007087/0.1778, allocations: 415.3 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1779, allocations: 8.031 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1779, allocations: 12.84 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1783, allocations: 200 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1783, allocations: 4.375 kB / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1783, allocations: 384 / 483.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1786, allocations: 73.78 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1786, allocations: 0 / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1786, allocations: 0 / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1786, allocations: 4 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1788, allocations: 51.89 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.1794, allocations: 320.7 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1797, allocations: 58.58 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1798, allocations: 32.91 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1799, allocations: 8 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1799, allocations: 30.56 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1799, allocations: 3.938 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001732/0.1817, allocations: 425.2 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1817, allocations: 55.34 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.182, allocations: 177.3 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.182, allocations: 25.7 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1821, allocations: 104.2 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1822, allocations: 39.23 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.1823, allocations: 25.72 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1825, allocations: 322.8 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.1827, allocations: 55.95 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1829, allocations: 63.89 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1832, allocations: 124.7 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1832, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004417/0.1836, allocations: 157.5 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1837, allocations: 11.98 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1837, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1837, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1838, allocations: 31.86 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1839, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.1839, allocations: 11.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.184, allocations: 7.984 kB / 485.9 MB, free: 15.14 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 (11): * Single equations (assignments): 11 * 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.0001504/0.1841, allocations: 133.8 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.1842, allocations: 11.81 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.1847, allocations: 186.3 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1847, allocations: 3.938 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1847, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1847, allocations: 11.92 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.1856, allocations: 496 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1856, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1857, allocations: 31.98 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1857, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1857, allocations: 8 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1857, allocations: 4.172 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1857, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.1862, allocations: 289.4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1863, allocations: 88.95 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1863, allocations: 4 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.1864, allocations: 11.98 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1864, allocations: 4 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1865, allocations: 7.984 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1866, allocations: 140.5 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1866, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1869, allocations: 28 kB / 487.3 MB, free: 13.58 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00175/0.1886, allocations: 442.3 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.1891, allocations: 135.8 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1891, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1892, allocations: 67.89 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1897, allocations: 29.92 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.1905, allocations: 312.5 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.191, allocations: 0.7197 MB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.393e-05/0.1911, allocations: 28.52 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.1912, allocations: 19.44 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1912, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.005371/0.1965, allocations: 1.62 MB / 490.7 MB, free: 10.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches