Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007946/0.0007948, allocations: 96.5 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000907/0.0009072, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.7 MB / 246.8 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.19 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 419.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 63.56 MB / 483.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002234/0.1539, allocations: 1.384 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1549, allocations: 0.5457 MB / 485 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.155, allocations: 0 / 485 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.1555, allocations: 451.2 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.1559, allocations: 275.5 kB / 485.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1563, allocations: 123.3 kB / 485.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1565, allocations: 171.6 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1566, allocations: 16 kB / 486 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1567, allocations: 107.7 kB / 486.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.157, allocations: 203.5 kB / 486.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.157, allocations: 0 / 486.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1571, allocations: 51.98 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1572, allocations: 79.62 kB / 486.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.1573, allocations: 136.6 kB / 486.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1576, allocations: 259 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1576, allocations: 0 / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1577, allocations: 0 / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1577, allocations: 0 / 486.9 MB, free: 320 kB / 350.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.0006929/0.1584, allocations: 0.5992 MB / 487.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1584, allocations: 8.031 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1585, allocations: 44.38 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.1588, allocations: 304.1 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1588, allocations: 4.375 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1589, allocations: 8.375 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.159, allocations: 61.8 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.159, allocations: 0 / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1591, allocations: 0 / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1591, allocations: 8 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1592, allocations: 31.92 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1597, allocations: 404.6 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1599, allocations: 50.59 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.16, allocations: 20.94 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.16, allocations: 4 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.16, allocations: 34.56 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.16, allocations: 0 / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001105/0.1611, allocations: 327.8 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1612, allocations: 63.33 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009474/0.1622, allocations: 0.8614 MB / 489.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1622, allocations: 25.7 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1624, allocations: 224.1 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.1624, allocations: 31.55 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1625, allocations: 17.7 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1627, allocations: 358.8 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.1628, allocations: 27.98 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.1628, allocations: 35.97 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.163, allocations: 72.77 kB / 490.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.163, allocations: 4 kB / 490.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002458/0.1633, allocations: 137.1 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1633, allocations: 7.938 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1633, allocations: 3.938 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1633, allocations: 4 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1634, allocations: 19.98 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1635, allocations: 7.938 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.1635, allocations: 7.984 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1635, allocations: 4 kB / 490.6 MB, free: 12.3 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.0002007/0.1638, allocations: 213.7 kB / 490.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.1638, allocations: 39.53 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.1642, allocations: 173.7 kB / 491 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1642, allocations: 3.984 kB / 491 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1642, allocations: 3.938 kB / 491 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1642, allocations: 4.422 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.1649, allocations: 0.5031 MB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1649, allocations: 7.938 kB / 491.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.165, allocations: 23.92 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.165, allocations: 0 / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.165, allocations: 0 / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.165, allocations: 0 / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.165, allocations: 8.031 kB / 491.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.1653, allocations: 247.8 kB / 491.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.1654, allocations: 120.5 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1655, allocations: 8 kB / 492 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.1656, allocations: 8 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1656, allocations: 7.984 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1656, allocations: 7.938 kB / 492 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.1663, allocations: 0.6511 MB / 492.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1663, allocations: 0 / 492.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1666, allocations: 27.98 kB / 492.7 MB, free: 10.15 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.001158/0.1678, allocations: 456.4 kB / 493.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.168, allocations: 67.97 kB / 493.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.168, allocations: 0 / 493.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.1681, allocations: 43.91 kB / 493.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1685, allocations: 34.23 kB / 493.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1698, allocations: 0.905 MB / 494.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1703, allocations: 0.8301 MB / 495 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1704, allocations: 16.73 kB / 495 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1704, allocations: 19.36 kB / 495 MB, free: 7.887 MB / 366.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1704, allocations: 0 / 495 MB, free: 7.887 MB / 366.1 MB Notification: Performance of Templates: time 0.005207/0.1756, allocations: 1.611 MB / 496.6 MB, free: 6.281 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches