Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2635/0.2635, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 78.56 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1518, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003347/0.1552, allocations: 1.595 MB / 481.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.157, allocations: 1.167 MB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1571, allocations: 0 / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1573, allocations: 27.78 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1576, allocations: 95.61 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1579, allocations: 107.5 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.158, allocations: 59.84 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1581, allocations: 23.97 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.1582, allocations: 23.88 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1583, allocations: 35.83 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1584, allocations: 8 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1586, allocations: 91.89 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.1586, allocations: 15.97 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.1587, allocations: 23.81 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1589, allocations: 135.7 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1589, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.147e-06/0.159, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.159, allocations: 3.938 kB / 483.5 MB, free: 1.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005784/0.1596, allocations: 403.4 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1596, allocations: 12.03 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.1597, allocations: 8.938 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1599, allocations: 192.1 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1599, allocations: 4.375 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.16, allocations: 4.375 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1602, allocations: 67.45 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1602, allocations: 7.938 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1602, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1602, allocations: 4 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.1603, allocations: 27.97 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.1608, allocations: 276.9 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.161, allocations: 50.48 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.1611, allocations: 16.86 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1611, allocations: 4.078 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1611, allocations: 34.56 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.165e-06/0.1611, allocations: 3.984 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006448/0.1618, allocations: 153.2 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1619, allocations: 81.11 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.162, allocations: 141.8 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1621, allocations: 29.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1621, allocations: 96.06 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1622, allocations: 23.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1622, allocations: 17.72 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1624, allocations: 322.8 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.1625, allocations: 15.98 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.1626, allocations: 41.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1628, allocations: 56.81 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1628, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002014/0.163, allocations: 81.61 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.163, allocations: 4 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.163, allocations: 4 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1631, allocations: 8.266 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.1631, allocations: 8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1631, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1632, allocations: 7.984 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1632, allocations: 7.938 kB / 485.7 MB, free: 15.38 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 (5): * Single equations (assignments): 5 * 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.0001011/0.1633, allocations: 113.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.1634, allocations: 7.906 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1636, allocations: 105.9 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1637, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1637, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1637, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.1642, allocations: 358.4 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1642, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1642, allocations: 19.92 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1642, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1643, allocations: 4 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1643, allocations: 7.875 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1643, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1645, allocations: 179.4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.1646, allocations: 77.11 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1646, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1647, allocations: 11.92 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1648, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1648, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1649, allocations: 121.2 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1649, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1652, allocations: 36 kB / 486.7 MB, free: 14.24 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001696/0.1669, allocations: 485.6 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1671, allocations: 59.95 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1672, allocations: 3.938 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.774e-05/0.1673, allocations: 27.92 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1677, allocations: 18.64 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.1682, allocations: 185.2 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1686, allocations: 0.6924 MB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.1687, allocations: 15.97 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.1687, allocations: 19.42 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1687, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005135/0.1739, allocations: 1.76 MB / 490 MB, free: 11.1 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches