Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, 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.001444/0.001444, 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.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2451/0.2451, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.7 kB / 417.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1502, allocations: 62.45 MB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004023/0.1543, allocations: 1.609 MB / 481.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1558, allocations: 0.5533 MB / 482.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.1559, allocations: 0 / 482.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.1568, allocations: 459.1 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.1574, allocations: 291.3 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.158, allocations: 174.8 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1583, allocations: 163.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1584, allocations: 15.94 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1585, allocations: 111.7 kB / 483.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1588, allocations: 211.6 kB / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1588, allocations: 0 / 483.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.1589, allocations: 27.98 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1591, allocations: 83.69 kB / 483.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1592, allocations: 103 kB / 483.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1595, allocations: 247 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1595, allocations: 0 / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1595, allocations: 3.938 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1596, allocations: 0 / 484.1 MB, free: 1.223 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.0008837/0.1605, allocations: 0.6338 MB / 484.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1605, allocations: 8.031 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.1606, allocations: 40.47 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.161, allocations: 300.1 kB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.161, allocations: 384 / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1611, allocations: 8.375 kB / 485.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1613, allocations: 49.81 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1613, allocations: 0 / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1613, allocations: 0 / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1613, allocations: 0 / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1614, allocations: 39.84 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.1622, allocations: 384.7 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1624, allocations: 34.56 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.1624, allocations: 16.92 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1625, allocations: 7.984 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1625, allocations: 34.5 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.1625, allocations: 0 / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.1629, allocations: 101.1 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1629, allocations: 51.41 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.1639, allocations: 0.8699 MB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1639, allocations: 29.7 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1641, allocations: 220.2 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1642, allocations: 7.906 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1642, allocations: 13.72 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1644, allocations: 366.7 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.1645, allocations: 11.98 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.1645, allocations: 7.938 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.3e-05/0.1646, allocations: 36.91 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1646, allocations: 0 / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.1648, allocations: 89.2 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1648, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.1648, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.1649, allocations: 0 / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.165, allocations: 4 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.165, allocations: 0 / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.165, allocations: 7.891 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.165, allocations: 8.031 kB / 487.5 MB, free: 13.64 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 (2): * Single equations (assignments): 2 * 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.0002237/0.1653, allocations: 217.6 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1653, allocations: 39.47 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1656, allocations: 108.7 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1656, allocations: 4 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1656, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1656, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.166, allocations: 293.5 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.166, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.166, allocations: 11.98 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1661, allocations: 3.938 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1661, allocations: 4 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1661, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1661, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1663, allocations: 202.8 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.1664, allocations: 112.5 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1665, allocations: 0 / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1665, allocations: 4 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.1666, allocations: 0 / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1666, allocations: 0 / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.1673, allocations: 0.6589 MB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 0 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1675, allocations: 16 kB / 489.1 MB, free: 11.89 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 (2): * Single equations (assignments): 2 * 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.001315/0.1689, allocations: 351.7 kB / 489.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1691, allocations: 27.92 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.1691, allocations: 8 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.1691, allocations: 11.98 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1696, allocations: 31.36 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1709, allocations: 0.7796 MB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.1714, allocations: 0.8221 MB / 491.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1715, allocations: 19.97 kB / 491.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.1715, allocations: 15.38 kB / 491.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1715, allocations: 0 / 491.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of Templates: time 0.005901/0.1774, allocations: 1.252 MB / 492.4 MB, free: 8.641 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches