Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00202/0.00202, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002249/0.002249, allocations: 208.6 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.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002192, allocations: 82.84 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1533, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004072/0.1574, allocations: 1.63 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1586, allocations: 0.565 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1587, allocations: 0 / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.1594, allocations: 455.1 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.1599, allocations: 295.3 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.1604, allocations: 175 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1607, allocations: 171.6 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1608, allocations: 19.97 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1609, allocations: 103.8 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1612, allocations: 211.6 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1612, allocations: 4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.1613, allocations: 31.98 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1614, allocations: 87.62 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1615, allocations: 99 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1619, allocations: 251 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1619, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1619, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1619, allocations: 0 / 484.2 MB, free: 1.141 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.0008942/0.1628, allocations: 0.6455 MB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1628, allocations: 8.031 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.1629, allocations: 48.38 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1633, allocations: 296.1 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1633, allocations: 4.375 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1634, allocations: 384 / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.1636, allocations: 65.73 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1636, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1636, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1636, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.1638, allocations: 31.97 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1645, allocations: 392.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1646, allocations: 54.47 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.1647, allocations: 24.94 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1648, allocations: 8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1648, allocations: 30.56 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1648, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003781/0.1652, allocations: 129.1 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1653, allocations: 51.41 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.1662, allocations: 0.8691 MB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1662, allocations: 29.64 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1664, allocations: 216.1 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1665, allocations: 7.844 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1665, allocations: 17.7 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1667, allocations: 362.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.1668, allocations: 19.98 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.1669, allocations: 19.97 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1671, allocations: 44.83 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1671, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002327/0.1673, allocations: 113.1 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1673, allocations: 4 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1673, allocations: 3.938 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1674, allocations: 4 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1675, allocations: 7.938 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1675, allocations: 3.984 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.1676, allocations: 8 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1676, allocations: 4 kB / 487.6 MB, free: 13.42 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 (3): * Single equations (assignments): 3 * 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.0002251/0.1678, allocations: 217.7 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.1679, allocations: 39.44 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.1682, allocations: 125 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1682, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1682, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1682, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1686, allocations: 289.5 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1686, allocations: 0 / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.1687, allocations: 19.92 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1687, allocations: 0 / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.1687, allocations: 0 / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1687, allocations: 4 kB / 488.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1687, allocations: 0 / 488.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.169, allocations: 211.3 kB / 488.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.1691, allocations: 104.6 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1691, allocations: 3.984 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.1692, allocations: 4 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.1692, allocations: 4.031 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1692, allocations: 4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.1699, allocations: 0.655 MB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1702, allocations: 20 kB / 489.3 MB, free: 11.63 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 (3): * Single equations (assignments): 3 * 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.001243/0.1714, allocations: 345.8 kB / 489.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1717, allocations: 51.91 kB / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1717, allocations: 0 / 489.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.1718, allocations: 23.97 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1722, allocations: 22.31 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1734, allocations: 0.8028 MB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1739, allocations: 0.8245 MB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.1739, allocations: 15.97 kB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.174, allocations: 11.44 kB / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.174, allocations: 0 / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of Templates: time 0.005445/0.1794, allocations: 1.286 MB / 492.7 MB, free: 8.316 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches