Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 124.3 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2815/0.2815, allocations: 46.91 MB / 357.1 MB, free: 10.39 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.91 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1716, allocations: 66 MB / 0.5559 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.004217/0.1758, allocations: 1.654 MB / 0.5575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1771, allocations: 0.5611 MB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1772, allocations: 0 / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.1779, allocations: 459.1 kB / 0.5585 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.1785, allocations: 291.3 kB / 0.5588 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1789, allocations: 135.1 kB / 0.5589 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.1792, allocations: 171.6 kB / 0.5591 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1794, allocations: 11.98 kB / 0.5591 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1795, allocations: 111.7 kB / 0.5592 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.1799, allocations: 259.5 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1799, allocations: 4 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.18, allocations: 35.98 kB / 0.5595 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1802, allocations: 83.67 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1803, allocations: 103 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.1806, allocations: 266.6 kB / 0.5599 GB, free: 1.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1807, allocations: 3.938 kB / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1807, allocations: 0 / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.1807, allocations: 4 kB / 0.5599 GB, free: 1.219 MB / 414.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.0009644/0.1816, allocations: 0.6568 MB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1817, allocations: 12.03 kB / 0.5605 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.1818, allocations: 44.61 kB / 0.5606 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1821, allocations: 300.7 kB / 0.5609 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.1821, allocations: 384 / 0.5609 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1822, allocations: 4.375 kB / 0.5609 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1824, allocations: 61.8 kB / 0.5609 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1824, allocations: 8 kB / 0.561 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1824, allocations: 7.922 kB / 0.561 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1824, allocations: 0 / 0.561 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1826, allocations: 40.02 kB / 0.561 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.1832, allocations: 384.6 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1833, allocations: 42.56 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.1834, allocations: 24.88 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1834, allocations: 0 / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.1834, allocations: 38.55 kB / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1834, allocations: 0 / 0.5615 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009683/0.1844, allocations: 308.6 kB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1845, allocations: 51.41 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.1854, allocations: 0.8613 MB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1855, allocations: 25.7 kB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1857, allocations: 216 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.1857, allocations: 31.73 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1857, allocations: 17.72 kB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.186, allocations: 370.7 kB / 0.5633 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1862, allocations: 27.97 kB / 0.5633 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1863, allocations: 31.98 kB / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1865, allocations: 80.73 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1865, allocations: 0 / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003188/0.1868, allocations: 153.3 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1869, allocations: 4 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1869, allocations: 0 / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1869, allocations: 4 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.187, allocations: 19.98 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.187, allocations: 0 / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.1871, allocations: 15.92 kB / 0.5636 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1871, allocations: 0 / 0.5636 GB, free: 13.19 MB / 430.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.000216/0.1873, allocations: 216 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1874, allocations: 43.72 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.1878, allocations: 173.3 kB / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1879, allocations: 0 / 0.564 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.1879, allocations: 3.984 kB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1879, allocations: 3.938 kB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.1886, allocations: 498.4 kB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1886, allocations: 0 / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.1887, allocations: 23.97 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1887, allocations: 4 kB / 0.5645 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1887, allocations: 3.938 kB / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1887, allocations: 0 / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1887, allocations: 480 / 0.5645 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.1891, allocations: 251.2 kB / 0.5648 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1892, allocations: 112.8 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1892, allocations: 7.922 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1893, allocations: 11.94 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1894, allocations: 7.984 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1894, allocations: 4 kB / 0.5649 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000718/0.1901, allocations: 0.655 MB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1901, allocations: 0 / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1904, allocations: 27.98 kB / 0.5656 GB, free: 11.06 MB / 430.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.001644/0.192, allocations: 414.2 kB / 0.566 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1924, allocations: 71.94 kB / 0.566 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1924, allocations: 0 / 0.566 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1925, allocations: 43.91 kB / 0.5661 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1929, allocations: 29.47 kB / 0.5661 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.1943, allocations: 0.8259 MB / 0.5669 GB, free: 9.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.1948, allocations: 0.8182 MB / 0.5677 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.1949, allocations: 15.98 kB / 0.5677 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1949, allocations: 11.44 kB / 0.5677 GB, free: 8.945 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1949, allocations: 4 kB / 0.5677 GB, free: 8.941 MB / 430.1 MB Notification: Performance of Templates: time 0.006018/0.2009, allocations: 1.607 MB / 0.5693 GB, free: 7.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.311250727623701]