Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 100.9 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009618/0.0009619, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 10.53 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001996/0.1732, allocations: 1.325 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.174, allocations: 407.5 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.174, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.1746, allocations: 435.2 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1749, allocations: 243.5 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1753, allocations: 157.8 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.1756, allocations: 127.7 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.1757, allocations: 12 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1758, allocations: 107.8 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.176, allocations: 147.7 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1761, allocations: 4 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1762, allocations: 31.92 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.1763, allocations: 83.69 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.1763, allocations: 69.52 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1766, allocations: 199.9 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1766, allocations: 0 / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1766, allocations: 3.984 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1766, allocations: 0 / 474.8 MB, free: 10.41 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.000745/0.1773, allocations: 0.6106 MB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1774, allocations: 8.562 kB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.1775, allocations: 43.44 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1778, allocations: 279.3 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1778, allocations: 0 / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1778, allocations: 4 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.178, allocations: 77.55 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1781, allocations: 8 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1781, allocations: 3.938 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1781, allocations: 0 / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1782, allocations: 51.91 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.1788, allocations: 428.5 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1791, allocations: 66.55 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1791, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1791, allocations: 38.56 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1791, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.1807, allocations: 0.5622 MB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1808, allocations: 55.41 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.1816, allocations: 0.8574 MB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1816, allocations: 29.7 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1818, allocations: 216.1 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1819, allocations: 31.47 kB / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.1819, allocations: 0 / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1821, allocations: 374.7 kB / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1823, allocations: 59.95 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1824, allocations: 67.89 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1826, allocations: 63.97 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1826, allocations: 0 / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003892/0.183, allocations: 217.3 kB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.183, allocations: 7.984 kB / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.183, allocations: 0 / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1831, allocations: 4 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1832, allocations: 27.98 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1832, allocations: 4 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.1833, allocations: 11.98 kB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1833, allocations: 8 kB / 478.9 MB, free: 6.02 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.1835, allocations: 217.7 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.1836, allocations: 43.44 kB / 479.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.1841, allocations: 249.3 kB / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1841, allocations: 0 / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1841, allocations: 3.984 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1841, allocations: 0 / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.185, allocations: 0.6215 MB / 480.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.185, allocations: 0 / 480.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1851, allocations: 27.98 kB / 480.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1852, allocations: 4 kB / 480.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1852, allocations: 12.08 kB / 480.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1852, allocations: 7.938 kB / 480.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1852, allocations: 3.953 kB / 480.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.1857, allocations: 344 kB / 480.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.1858, allocations: 116.5 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.1858, allocations: 4 kB / 480.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1859, allocations: 15.98 kB / 480.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.186, allocations: 15.98 kB / 480.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.186, allocations: 4 kB / 480.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000612/0.1866, allocations: 0.6511 MB / 481.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1866, allocations: 0 / 481.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1869, allocations: 32 kB / 481.3 MB, free: 3.535 MB / 350.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 (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.0009759/0.1879, allocations: 469.4 kB / 481.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1883, allocations: 143.8 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1883, allocations: 0 / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1884, allocations: 75.89 kB / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1888, allocations: 26.08 kB / 482 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1899, allocations: 0.9018 MB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1903, allocations: 0.8457 MB / 483.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.846e-05/0.1905, allocations: 36.58 kB / 483.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.1905, allocations: 15.44 kB / 483.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1905, allocations: 7.875 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Templates: time 0.004949/0.1955, allocations: 1.766 MB / 485.6 MB, free: 15.38 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches