Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.00146/0.00146, 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.00146/0.00146, 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.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2528/0.2528, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 71.91 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1502, allocations: 66 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003827/0.154, allocations: 1.679 MB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1553, allocations: 0.5533 MB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1554, allocations: 11.94 kB / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.1557, allocations: 39.81 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.1561, allocations: 95.59 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1566, allocations: 131.3 kB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1568, allocations: 75.81 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.157, allocations: 24.22 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.1571, allocations: 35.78 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1572, allocations: 51.77 kB / 0.5585 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1572, allocations: 4 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1573, allocations: 47.98 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.1574, allocations: 23.91 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1575, allocations: 31.8 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.1578, allocations: 107.5 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1578, allocations: 4 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1578, allocations: 0 / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1578, allocations: 4 kB / 0.5587 GB, free: 2.383 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.0006956/0.1585, allocations: 418.7 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.1585, allocations: 8.031 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.1586, allocations: 12.89 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1589, allocations: 196.8 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1589, allocations: 4.375 kB / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.1589, allocations: 7.938 kB / 0.5593 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1591, allocations: 73.55 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1591, allocations: 0 / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1592, allocations: 0 / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1592, allocations: 0 / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.1593, allocations: 35.97 kB / 0.5594 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.1599, allocations: 304.7 kB / 0.5597 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1602, allocations: 58.55 kB / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.1603, allocations: 20.97 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1604, allocations: 4 kB / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1604, allocations: 34.56 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1604, allocations: 0 / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001743/0.1621, allocations: 405.4 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1622, allocations: 51.41 kB / 0.5603 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1624, allocations: 177.5 kB / 0.5605 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1624, allocations: 33.7 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.1625, allocations: 104 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1626, allocations: 39.67 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.1626, allocations: 29.7 kB / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1628, allocations: 322.8 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.163, allocations: 39.97 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1631, allocations: 39.97 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.1634, allocations: 101.1 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1634, allocations: 0 / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004009/0.1638, allocations: 157.3 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1638, allocations: 8 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1638, allocations: 3.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1638, allocations: 0 / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.164, allocations: 23.98 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.164, allocations: 4 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.164, allocations: 15.98 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1641, allocations: 4 kB / 0.5613 GB, free: 15.48 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.0001412/0.1642, allocations: 132 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1642, allocations: 7.953 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.1647, allocations: 166.2 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1647, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1647, allocations: 3.938 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1647, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/0.1655, allocations: 475.9 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1655, allocations: 4.062 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1656, allocations: 23.98 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1656, allocations: 4 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1657, allocations: 192 / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1657, allocations: 4 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1657, allocations: 7.938 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.1661, allocations: 257.1 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.1662, allocations: 85.06 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1662, allocations: 0 / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1663, allocations: 15.98 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.1664, allocations: 7.984 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1664, allocations: 7.938 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1665, allocations: 135.2 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1665, allocations: 3.938 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1668, allocations: 31.92 kB / 0.5627 GB, free: 14.02 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.001902/0.1687, allocations: 453.7 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1691, allocations: 99.88 kB / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1691, allocations: 0 / 0.5632 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1693, allocations: 63.83 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1697, allocations: 22.8 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.1704, allocations: 291.2 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1708, allocations: 0.708 MB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.1709, allocations: 20.53 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.1709, allocations: 19.38 kB / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1709, allocations: 0 / 0.5643 GB, free: 12.48 MB / 430.1 MB Notification: Performance of Templates: time 0.005547/0.1765, allocations: 1.573 MB / 0.5658 GB, free: 10.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.366963852196932]