Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.002236/0.002236, allocations: 124.5 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.002186/0.002186, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.592/1.592, allocations: 230.6 MB / 254.1 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.2403/0.2403, allocations: 46.92 MB / 357.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.91 kB / 0.4914 GB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.147, allocations: 65.99 MB / 0.5559 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003209/0.1502, allocations: 1.689 MB / 0.5575 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1515, allocations: 0.5727 MB / 0.5581 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.1515, allocations: 4 kB / 0.5581 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1521, allocations: 447.1 kB / 0.5585 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.1526, allocations: 291.3 kB / 0.5588 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.153, allocations: 135 kB / 0.5589 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1532, allocations: 175.7 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1533, allocations: 20.17 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1535, allocations: 115.7 kB / 0.5592 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.1538, allocations: 255.5 kB / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1538, allocations: 4 kB / 0.5595 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.154, allocations: 51.98 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1541, allocations: 87.67 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.1542, allocations: 106.9 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1545, allocations: 278.5 kB / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1545, allocations: 0 / 0.56 GB, free: 1.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1545, allocations: 4 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1545, allocations: 0 / 0.56 GB, free: 1.051 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009243/0.1554, allocations: 0.6607 MB / 0.5606 GB, free: 348 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1555, allocations: 8.031 kB / 0.5606 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.1556, allocations: 52.61 kB / 0.5607 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1559, allocations: 305.7 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1559, allocations: 384 / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1559, allocations: 8.375 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1562, allocations: 68.59 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1562, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1562, allocations: 4 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1562, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1564, allocations: 43.91 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.1569, allocations: 400.6 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.1572, allocations: 58.58 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1573, allocations: 24.97 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1573, allocations: 4 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1573, allocations: 30.56 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1573, allocations: 0 / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001638/0.159, allocations: 492.1 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.159, allocations: 59.41 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/0.16, allocations: 0.8613 MB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.16, allocations: 25.7 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1602, allocations: 216.1 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1602, allocations: 35.66 kB / 0.5632 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.1603, allocations: 25.7 kB / 0.5632 GB, free: 13.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1605, allocations: 362.8 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1606, allocations: 47.95 kB / 0.5636 GB, free: 13.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1607, allocations: 47.91 kB / 0.5637 GB, free: 13.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.161, allocations: 100.8 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.161, allocations: 0 / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004864/0.1615, allocations: 181.3 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1615, allocations: 4 kB / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1615, allocations: 3.984 kB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1616, allocations: 4 kB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1617, allocations: 27.92 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1617, allocations: 3.984 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.1618, allocations: 7.984 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1618, allocations: 8 kB / 0.564 GB, free: 12.69 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 (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.0002195/0.162, allocations: 220 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.1621, allocations: 51.61 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.1625, allocations: 197.4 kB / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1625, allocations: 0 / 0.5645 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1626, allocations: 8.5 kB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1626, allocations: 0 / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1636, allocations: 0.5702 MB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1636, allocations: 8 kB / 0.565 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.1637, allocations: 31.91 kB / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1637, allocations: 0 / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1637, allocations: 4 kB / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1637, allocations: 4.062 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1638, allocations: 0 / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.1642, allocations: 296.7 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.1643, allocations: 116.8 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1643, allocations: 0 / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1644, allocations: 15.98 kB / 0.5655 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.1645, allocations: 7.984 kB / 0.5655 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1645, allocations: 7.938 kB / 0.5655 GB, free: 11.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006732/0.1652, allocations: 0.6511 MB / 0.5661 GB, free: 10.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1652, allocations: 0 / 0.5661 GB, free: 10.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1655, allocations: 31.98 kB / 0.5662 GB, free: 10.37 MB / 430.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.001848/0.1673, allocations: 453.8 kB / 0.5666 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.1678, allocations: 103.9 kB / 0.5667 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1678, allocations: 0 / 0.5667 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1679, allocations: 63.83 kB / 0.5667 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1683, allocations: 28.69 kB / 0.5668 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1697, allocations: 0.8705 MB / 0.5676 GB, free: 9.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.1703, allocations: 0.8299 MB / 0.5684 GB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.1704, allocations: 16.53 kB / 0.5684 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.1704, allocations: 19.44 kB / 0.5685 GB, free: 8.117 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1704, allocations: 0 / 0.5685 GB, free: 8.117 MB / 430.1 MB Notification: Performance of Templates: time 0.005966/0.1764, allocations: 1.891 MB / 0.5703 GB, free: 6.234 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.315426528453827]