Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001304/0.001304, allocations: 111.4 kB / 18.45 MB, free: 4.562 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.001376/0.001376, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2553/0.2553, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 0.4921 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 66 MB / 0.5565 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004189/0.1607, allocations: 1.856 MB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1627, allocations: 1.025 MB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.1628, allocations: 0 / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.1632, allocations: 59.73 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.1637, allocations: 127.3 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.1644, allocations: 159.1 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.1649, allocations: 207.4 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1651, allocations: 17.55 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.1653, allocations: 83.73 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.1655, allocations: 107.6 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.1656, allocations: 16 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.1658, allocations: 43.97 kB / 0.5601 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1659, allocations: 39.83 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.166, allocations: 71.59 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.1665, allocations: 191.1 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1665, allocations: 0 / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1665, allocations: 0 / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1665, allocations: 3.938 kB / 0.5604 GB, free: 1.285 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001551/0.1681, allocations: 0.5759 MB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1682, allocations: 8.031 kB / 0.561 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.1682, allocations: 20.8 kB / 0.561 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1686, allocations: 241 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1686, allocations: 4.375 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.1687, allocations: 12.12 kB / 0.5613 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.1694, allocations: 145.5 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1694, allocations: 0 / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1694, allocations: 4 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1694, allocations: 0 / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1705, allocations: 167.7 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.1712, allocations: 356.7 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1724, allocations: 190.3 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.1729, allocations: 96.75 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.173, allocations: 4 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008436/0.1738, allocations: 163.2 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.1738, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.005402/0.1792, allocations: 0.8246 MB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1793, allocations: 59.33 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.1797, allocations: 243.2 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.1797, allocations: 25.7 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1799, allocations: 132.1 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.1799, allocations: 39.69 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1801, allocations: 37.7 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.1803, allocations: 331.4 kB / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.1814, allocations: 163.8 kB / 0.5641 GB, free: 13.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.1821, allocations: 171.8 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.1835, allocations: 362 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1835, allocations: 0 / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001623/0.1851, allocations: 460.5 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.1852, allocations: 67.33 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1852, allocations: 0 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1852, allocations: 0 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.1857, allocations: 67.91 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1857, allocations: 3.938 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.1861, allocations: 67.91 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1861, allocations: 4 kB / 0.5653 GB, free: 12.04 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001613/0.1863, allocations: 148 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1863, allocations: 23.8 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.1879, allocations: 406.8 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1879, allocations: 4 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1879, allocations: 3.938 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1879, allocations: 3.984 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1899, allocations: 0.7012 MB / 0.5665 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1899, allocations: 0 / 0.5665 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.1903, allocations: 67.91 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1903, allocations: 3.938 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1903, allocations: 0 / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1903, allocations: 4 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1903, allocations: 4 kB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.1919, allocations: 486.8 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.192, allocations: 92.95 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.192, allocations: 3.984 kB / 0.5672 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.1924, allocations: 67.91 kB / 0.5672 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.1926, allocations: 43.94 kB / 0.5673 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1926, allocations: 8 kB / 0.5673 GB, free: 9.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.1928, allocations: 184.6 kB / 0.5675 GB, free: 9.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1928, allocations: 0 / 0.5675 GB, free: 9.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1932, allocations: 51.98 kB / 0.5675 GB, free: 9.656 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001614/0.1948, allocations: 407 kB / 0.5679 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.1964, allocations: 461.6 kB / 0.5683 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1964, allocations: 0 / 0.5683 GB, free: 8.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.1972, allocations: 179.7 kB / 0.5685 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1976, allocations: 36.58 kB / 0.5685 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1986, allocations: 380.3 kB / 0.5689 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.199, allocations: 0.7279 MB / 0.5696 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1992, allocations: 15.44 kB / 0.5696 GB, free: 7.551 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1992, allocations: 0 / 0.5696 GB, free: 7.551 MB / 430.1 MB Notification: Performance of Templates: time 0.005979/0.2051, allocations: 3.218 MB / 0.5728 GB, free: 4.336 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.173076526989462]