Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 212.6 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 86.45 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1517, allocations: 62.46 MB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.0041/0.1559, allocations: 1.637 MB / 481.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.1568, allocations: 0.6841 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.1569, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1572, allocations: 31.83 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1574, allocations: 47.78 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.035e-06/0.1574, allocations: 4 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1576, allocations: 31.89 kB / 482.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.1577, allocations: 0 / 482.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1577, allocations: 11.94 kB / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1578, allocations: 19.91 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1578, allocations: 0 / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.1579, allocations: 12 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1579, allocations: 15.92 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.158, allocations: 23.88 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1581, allocations: 68.02 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1582, allocations: 0 / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1582, allocations: 0 / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1582, allocations: 0 / 482.7 MB, free: 2.633 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000469/0.1587, allocations: 355.3 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1587, allocations: 12.03 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1587, allocations: 12.78 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1589, allocations: 176.2 kB / 483.2 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.159, allocations: 8.359 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.159, allocations: 8.359 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1592, allocations: 121.9 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1592, allocations: 192 / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1592, allocations: 3.938 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.1593, allocations: 27.98 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.1594, allocations: 47.84 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.1601, allocations: 0.8907 MB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1603, allocations: 165.1 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.1603, allocations: 84.08 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.1604, allocations: 79.22 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.1604, allocations: 109.8 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1605, allocations: 4 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.298e-05/0.1606, allocations: 45.55 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1606, allocations: 126.7 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1608, allocations: 186 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1609, allocations: 25.7 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.161, allocations: 147.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.161, allocations: 4 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.1611, allocations: 49.55 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1612, allocations: 326.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.1613, allocations: 23.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1615, allocations: 161 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1617, allocations: 204.9 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1617, allocations: 0 / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003246/0.162, allocations: 197.6 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1621, allocations: 14.48 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1621, allocations: 8.031 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1621, allocations: 8 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1622, allocations: 39.92 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1623, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.195e-05/0.1623, allocations: 23.78 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1624, allocations: 12 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002276/0.1626, allocations: 213 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.1627, allocations: 120.7 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.1628, allocations: 124.8 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.783e-05/0.1629, allocations: 176.3 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.823e-05/0.163, allocations: 180.2 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.163, allocations: 176.3 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1634, allocations: 425.1 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.718e-05/0.1634, allocations: 108.9 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.1635, allocations: 105 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.78e-05/0.1636, allocations: 180.2 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.1637, allocations: 188.2 kB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.852e-05/0.1638, allocations: 184.2 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/0.1638, allocations: 180.3 kB / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.164, allocations: 315.7 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1641, allocations: 189.9 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/0.1642, allocations: 180.2 kB / 489.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.1643, allocations: 105 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.1644, allocations: 184.2 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.1645, allocations: 112.8 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1646, allocations: 127.2 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1646, allocations: 0 / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1649, allocations: 12 kB / 489.9 MB, free: 10.86 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 (0): * Single equations (assignments): 0 * 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.0006627/0.1656, allocations: 285.5 kB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1658, allocations: 71.78 kB / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1658, allocations: 0 / 490.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-06/0.1658, allocations: 8 kB / 490.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1662, allocations: 463.5 kB / 490.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.1666, allocations: 245.1 kB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.167, allocations: 0.7006 MB / 491.6 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1673, allocations: 49.02 kB / 491.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1673, allocations: 15.44 kB / 491.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1673, allocations: 0 / 491.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of Templates: time 0.003546/0.1709, allocations: 0.6858 MB / 492.4 MB, free: 8.348 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches