Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001774/0.001774, allocations: 120.9 kB / 19.18 MB, free: 3.879 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.002014/0.002014, allocations: 210.5 kB / 22.13 MB, free: 0.9297 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.59/1.59, allocations: 230.2 MB / 255.2 MB, free: 15.07 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.2361/0.2361, allocations: 46.88 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9") [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.002283/0.002283, allocations: 83.86 kB / 0.4924 GB, free: 8.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1473, allocations: 65.98 MB / 0.5568 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003325/0.1506, allocations: 1.619 MB / 0.5584 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1518, allocations: 0.5778 MB / 0.559 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.1518, allocations: 4 kB / 0.559 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.1525, allocations: 447.1 kB / 0.5594 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.153, allocations: 295.3 kB / 0.5597 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.1534, allocations: 171.2 kB / 0.5598 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1537, allocations: 175.6 kB / 0.56 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1538, allocations: 12 kB / 0.56 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1539, allocations: 107.8 kB / 0.5601 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1542, allocations: 243.5 kB / 0.5603 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1543, allocations: 7.938 kB / 0.5604 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.1543, allocations: 31.92 kB / 0.5604 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1545, allocations: 91.67 kB / 0.5605 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1546, allocations: 103 kB / 0.5606 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1549, allocations: 254.6 kB / 0.5608 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1549, allocations: 0 / 0.5608 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1549, allocations: 0 / 0.5608 GB, free: 1.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1549, allocations: 3.938 kB / 0.5608 GB, free: 1.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000857/0.1558, allocations: 0.6452 MB / 0.5614 GB, free: 1.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1558, allocations: 8.031 kB / 0.5615 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.1559, allocations: 52.59 kB / 0.5615 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1562, allocations: 308.6 kB / 0.5618 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1563, allocations: 384 / 0.5618 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1563, allocations: 384 / 0.5618 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1565, allocations: 62.23 kB / 0.5619 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1565, allocations: 192 / 0.5619 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1565, allocations: 3.938 kB / 0.5619 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1565, allocations: 0 / 0.5619 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1566, allocations: 39.91 kB / 0.5619 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.1573, allocations: 400.8 kB / 0.5623 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1574, allocations: 38.5 kB / 0.5623 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.1575, allocations: 28.92 kB / 0.5623 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1575, allocations: 0 / 0.5623 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.1575, allocations: 38.56 kB / 0.5624 GB, free: 156 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1575, allocations: 0 / 0.5624 GB, free: 156 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004088/0.1579, allocations: 133.3 kB / 0.5625 GB, free: 16 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.158, allocations: 51.41 kB / 0.5626 GB, free: 15.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.159, allocations: 0.8691 MB / 0.5634 GB, free: 15.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.159, allocations: 25.7 kB / 0.5634 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.1592, allocations: 212.1 kB / 0.5636 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1592, allocations: 11.91 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1593, allocations: 17.7 kB / 0.5637 GB, free: 14.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1595, allocations: 358.8 kB / 0.564 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.1596, allocations: 19.98 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.1596, allocations: 11.98 kB / 0.564 GB, free: 14.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1598, allocations: 48.81 kB / 0.5641 GB, free: 14.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1598, allocations: 7.938 kB / 0.5641 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002399/0.16, allocations: 113.7 kB / 0.5642 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.16, allocations: 4 kB / 0.5642 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.16, allocations: 3.984 kB / 0.5642 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1601, allocations: 0 / 0.5642 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.1601, allocations: 8 kB / 0.5642 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1602, allocations: 0 / 0.5642 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.1602, allocations: 7.984 kB / 0.5642 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1602, allocations: 7.984 kB / 0.5642 GB, free: 14.2 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 (3): * Single equations (assignments): 3 * 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.0002309/0.1605, allocations: 221.7 kB / 0.5644 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.1605, allocations: 39.72 kB / 0.5645 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.1608, allocations: 133 kB / 0.5646 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1608, allocations: 3.984 kB / 0.5646 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1608, allocations: 3.938 kB / 0.5646 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1608, allocations: 0 / 0.5646 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.1612, allocations: 293.5 kB / 0.5649 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1612, allocations: 0 / 0.5649 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.1612, allocations: 11.98 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1612, allocations: 3.938 kB / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1613, allocations: 0 / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1613, allocations: 0 / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1613, allocations: 0 / 0.5649 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.1616, allocations: 223.1 kB / 0.5651 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1617, allocations: 108.8 kB / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1617, allocations: 0 / 0.5652 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1618, allocations: 7.984 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.1618, allocations: 0 / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1618, allocations: 3.938 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.1625, allocations: 0.6589 MB / 0.5659 GB, free: 12.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1625, allocations: 0 / 0.5659 GB, free: 12.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1627, allocations: 19.94 kB / 0.5659 GB, free: 12.38 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 (3): * Single equations (assignments): 3 * 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.001331/0.1641, allocations: 342.3 kB / 0.5662 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1643, allocations: 47.95 kB / 0.5663 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1643, allocations: 4 kB / 0.5663 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.848e-05/0.1644, allocations: 19.98 kB / 0.5663 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1648, allocations: 41.11 kB / 0.5663 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1663, allocations: 0.8432 MB / 0.5672 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.1669, allocations: 0.8143 MB / 0.5679 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1669, allocations: 19.42 kB / 0.568 GB, free: 10.33 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1669, allocations: 7.938 kB / 0.568 GB, free: 10.32 MB / 430.1 MB Notification: Performance of Templates: time 0.007824/0.1748, allocations: 3.566 MB / 0.5715 GB, free: 6.746 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 8.157663904130459]