Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.2 MB / 255.2 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2313/0.2313, allocations: 46.89 MB / 358.1 MB, free: 10.5 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-beta.om/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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 87.86 kB / 0.4924 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1589, allocations: 65.98 MB / 0.5568 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003428/0.1624, allocations: 1.687 MB / 0.5585 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1635, allocations: 0.5801 MB / 0.559 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.1636, allocations: 3.938 kB / 0.559 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1639, allocations: 59.73 kB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1642, allocations: 95.59 kB / 0.5592 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.1646, allocations: 179.2 kB / 0.5594 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1648, allocations: 83.81 kB / 0.5594 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1649, allocations: 28.16 kB / 0.5595 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.165, allocations: 31.91 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1651, allocations: 55.75 kB / 0.5596 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1651, allocations: 4 kB / 0.5596 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1652, allocations: 47.98 kB / 0.5596 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1653, allocations: 27.84 kB / 0.5596 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1653, allocations: 27.81 kB / 0.5597 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1656, allocations: 111.5 kB / 0.5598 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1656, allocations: 0 / 0.5598 GB, free: 2.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1656, allocations: 4 kB / 0.5598 GB, free: 2.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1656, allocations: 0 / 0.5598 GB, free: 2.84 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.0005474/0.1661, allocations: 418.7 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1662, allocations: 12.03 kB / 0.5602 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.1662, allocations: 8.891 kB / 0.5602 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1664, allocations: 200.1 kB / 0.5604 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1664, allocations: 4.312 kB / 0.5604 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1664, allocations: 4.375 kB / 0.5604 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1667, allocations: 70.22 kB / 0.5605 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1667, allocations: 4.188 kB / 0.5605 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1667, allocations: 7.922 kB / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1667, allocations: 0 / 0.5605 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1668, allocations: 47.89 kB / 0.5605 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1673, allocations: 320.7 kB / 0.5608 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1676, allocations: 62.58 kB / 0.5609 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.1677, allocations: 24.97 kB / 0.5609 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1677, allocations: 4 kB / 0.5609 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1677, allocations: 34.56 kB / 0.5609 GB, free: 1.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1677, allocations: 3.938 kB / 0.5609 GB, free: 1.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00155/0.1693, allocations: 421 kB / 0.5613 GB, free: 1.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.1693, allocations: 55.41 kB / 0.5614 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1696, allocations: 182 kB / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1696, allocations: 25.7 kB / 0.5616 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.1697, allocations: 108 kB / 0.5617 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1697, allocations: 35.69 kB / 0.5617 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1698, allocations: 29.72 kB / 0.5618 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1699, allocations: 326.8 kB / 0.5621 GB, free: 264 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1701, allocations: 51.95 kB / 0.5621 GB, free: 212 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1702, allocations: 59.95 kB / 0.5622 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1705, allocations: 125.3 kB / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1705, allocations: 4 kB / 0.5623 GB, free: 20 kB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003733/0.1709, allocations: 157.6 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1709, allocations: 8 kB / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1709, allocations: 0 / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1709, allocations: 0 / 0.5625 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.171, allocations: 31.92 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1711, allocations: 4 kB / 0.5625 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.1711, allocations: 19.92 kB / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1711, allocations: 0 / 0.5625 GB, free: 15.8 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.0001233/0.1713, allocations: 129.8 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1713, allocations: 11.91 kB / 0.5626 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.1717, allocations: 198.2 kB / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1718, allocations: 3.938 kB / 0.5628 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1718, allocations: 4 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1718, allocations: 3.938 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.1725, allocations: 0.4883 MB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1725, allocations: 8 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1726, allocations: 31.91 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1726, allocations: 0 / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1727, allocations: 8 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1727, allocations: 0 / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1727, allocations: 0 / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.1731, allocations: 273.6 kB / 0.5636 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1732, allocations: 92.95 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1732, allocations: 4 kB / 0.5637 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.1733, allocations: 11.98 kB / 0.5637 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1733, allocations: 7.984 kB / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1733, allocations: 4 kB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1734, allocations: 139.2 kB / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1734, allocations: 0 / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1737, allocations: 31.92 kB / 0.5639 GB, free: 14.25 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.001781/0.1755, allocations: 461.1 kB / 0.5644 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.1759, allocations: 119.9 kB / 0.5645 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1759, allocations: 0 / 0.5645 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1761, allocations: 63.89 kB / 0.5645 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1765, allocations: 37.84 kB / 0.5646 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.1773, allocations: 333.5 kB / 0.5649 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1776, allocations: 0.708 MB / 0.5656 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.1777, allocations: 27.44 kB / 0.5656 GB, free: 12.63 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1777, allocations: 0 / 0.5656 GB, free: 12.63 MB / 430.1 MB Notification: Performance of Templates: time 0.00451/0.1822, allocations: 2.034 MB / 0.5676 GB, free: 10.59 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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: 7.796556314919144]