Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001398, allocations: 95.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002416/0.002417, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.724/1.724, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3349/0.3349, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004528, allocations: 8.219 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 63.59 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002003/0.1623, allocations: 1.334 MB / 483.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.1632, allocations: 0.4953 MB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1632, allocations: 0 / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1634, allocations: 39.83 kB / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1636, allocations: 59.81 kB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1639, allocations: 79.84 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.164, allocations: 75.77 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.1642, allocations: 23.98 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.1642, allocations: 31.78 kB / 484.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.1643, allocations: 23.86 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1643, allocations: 4 kB / 484.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1644, allocations: 43.97 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1645, allocations: 11.92 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1645, allocations: 37.64 kB / 484.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1646, allocations: 79.88 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.176 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004557/0.1651, allocations: 395.2 kB / 485.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1652, allocations: 16.03 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1652, allocations: 7.906 kB / 485.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1654, allocations: 190.8 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1654, allocations: 4 kB / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1655, allocations: 15.88 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1656, allocations: 61.67 kB / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1657, allocations: 0 / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1657, allocations: 11.98 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1657, allocations: 0 / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1658, allocations: 47.97 kB / 485.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1662, allocations: 320.6 kB / 485.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1663, allocations: 58.56 kB / 485.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1664, allocations: 32.84 kB / 485.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1664, allocations: 0 / 485.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1665, allocations: 30.56 kB / 485.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1665, allocations: 0 / 485.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009752/0.1674, allocations: 337.2 kB / 486.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1675, allocations: 59.34 kB / 486.3 MB, free: 448 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1676, allocations: 161.4 kB / 486.5 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1677, allocations: 25.7 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.1677, allocations: 111.9 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1678, allocations: 39.36 kB / 486.6 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.1678, allocations: 8 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1679, allocations: 318.8 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.168, allocations: 39.97 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.1681, allocations: 39.98 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.1682, allocations: 47.48 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1682, allocations: 0 / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002386/0.1685, allocations: 149.5 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1685, allocations: 7.953 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1685, allocations: 0 / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1685, allocations: 8 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1686, allocations: 27.98 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1686, allocations: 4 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.1687, allocations: 4 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1687, allocations: 8.703 kB / 487.3 MB, free: 15.43 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.113e-05/0.1688, allocations: 121.8 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.1688, allocations: 15.81 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1692, allocations: 174.3 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1692, allocations: 0 / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1692, allocations: 0 / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1692, allocations: 3.984 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.1698, allocations: 487.1 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1698, allocations: 0 / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.1699, allocations: 27.92 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1699, allocations: 4 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1699, allocations: 8.016 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1699, allocations: 0 / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1699, allocations: 4 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1702, allocations: 244.2 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1703, allocations: 96.91 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1703, allocations: 0 / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1704, allocations: 7.938 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1705, allocations: 15.98 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1705, allocations: 0 / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.1706, allocations: 127.4 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1706, allocations: 0 / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1708, allocations: 27.98 kB / 488.6 MB, free: 13.98 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.1719, allocations: 461 kB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.1722, allocations: 107.9 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1722, allocations: 0 / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1723, allocations: 59.91 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1727, allocations: 17.05 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.1732, allocations: 278.6 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1735, allocations: 0.7121 MB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.1736, allocations: 16.55 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.1736, allocations: 23.42 kB / 490.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1737, allocations: 3.938 kB / 490.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.003837/0.1775, allocations: 1.404 MB / 491.7 MB, free: 11.02 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches