Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001518, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 73.3 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1578, allocations: 62.45 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003481/0.1613, allocations: 1.612 MB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1624, allocations: 0.5533 MB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.1625, allocations: 0 / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1628, allocations: 123.7 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.1632, allocations: 131.5 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1636, allocations: 111.7 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1638, allocations: 91.84 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1639, allocations: 20 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.164, allocations: 47.81 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1642, allocations: 83.78 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1642, allocations: 4 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1643, allocations: 47.92 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1644, allocations: 31.86 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.1645, allocations: 39.67 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1647, allocations: 111.6 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1647, allocations: 0 / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1647, allocations: 8 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1647, allocations: 0 / 483 MB, free: 2.289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005265/0.1653, allocations: 435.1 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1653, allocations: 12.03 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1654, allocations: 12.75 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1656, allocations: 219.9 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1656, allocations: 384 / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1656, allocations: 4.375 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1658, allocations: 57.81 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1658, allocations: 0 / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1659, allocations: 0 / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1659, allocations: 4 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.166, allocations: 27.97 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.1665, allocations: 316.6 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1666, allocations: 50.55 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.1667, allocations: 20.8 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1667, allocations: 0 / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1667, allocations: 30.56 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1667, allocations: 0 / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009968/0.1678, allocations: 257.1 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1678, allocations: 55.34 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.1681, allocations: 279.7 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1681, allocations: 25.7 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.1682, allocations: 116.1 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1683, allocations: 31.61 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.1683, allocations: 25.66 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1685, allocations: 326.8 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.1686, allocations: 31.97 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.743e-05/0.1687, allocations: 32.06 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1689, allocations: 76.81 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1689, allocations: 4 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00024/0.1692, allocations: 117.5 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1692, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1692, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1692, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1693, allocations: 19.98 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1693, allocations: 0 / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1694, allocations: 11.92 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1694, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001136/0.1695, allocations: 137.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1696, allocations: 15.81 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.1699, allocations: 138.9 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1699, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1699, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.17, allocations: 4.359 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.1706, allocations: 431.2 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1706, allocations: 3.938 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.1707, allocations: 19.98 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1707, allocations: 3.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1707, allocations: 4 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1707, allocations: 3.984 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1707, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1711, allocations: 224.5 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1711, allocations: 92.86 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1712, allocations: 8 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1712, allocations: 7.984 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1713, allocations: 0 / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1713, allocations: 12 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1715, allocations: 213.5 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1715, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1718, allocations: 20 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001042/0.1728, allocations: 451.5 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1731, allocations: 83.88 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1731, allocations: 4 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1732, allocations: 39.92 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1736, allocations: 11.98 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.1742, allocations: 324.2 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1745, allocations: 0.7236 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.162e-05/0.1746, allocations: 16.97 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1746, allocations: 15.42 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1746, allocations: 4 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of Templates: time 0.004466/0.1791, allocations: 1.43 MB / 490 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches