Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 93.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.8 MB / 246.8 MB, free: 9.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.19 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 63.56 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002266/0.1535, allocations: 1.373 MB / 484.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1554, allocations: 1.144 MB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1555, allocations: 4 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.1558, allocations: 19.92 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1561, allocations: 67.81 kB / 485.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1564, allocations: 115.1 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1566, allocations: 71.81 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1567, allocations: 12 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.1568, allocations: 23.86 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1569, allocations: 39.83 kB / 486 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.157, allocations: 7.938 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1571, allocations: 91.88 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1572, allocations: 15.92 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.1573, allocations: 53.5 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1576, allocations: 135.7 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1576, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1576, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1576, allocations: 0 / 486.3 MB, free: 0.9609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005353/0.1581, allocations: 411.4 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1582, allocations: 12.88 kB / 486.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1582, allocations: 12.84 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1585, allocations: 191.1 kB / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1585, allocations: 384 / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1585, allocations: 4.375 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1588, allocations: 79.52 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1588, allocations: 4 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1588, allocations: 0 / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1588, allocations: 4 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.159, allocations: 47.89 kB / 487 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1594, allocations: 292.7 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1595, allocations: 46.56 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.1596, allocations: 32.94 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1596, allocations: 0 / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1597, allocations: 42.48 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1597, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008547/0.1606, allocations: 249.6 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1606, allocations: 77.11 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1608, allocations: 148 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1608, allocations: 29.64 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1609, allocations: 100 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.161, allocations: 23.66 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.161, allocations: 13.7 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1612, allocations: 322.8 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1613, allocations: 35.97 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1615, allocations: 57.77 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.1617, allocations: 101 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1617, allocations: 0 / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003306/0.1621, allocations: 129.5 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1621, allocations: 8 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1621, allocations: 0 / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1621, allocations: 4 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1623, allocations: 19.98 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1623, allocations: 0 / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.1624, allocations: 23.91 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1624, allocations: 11.94 kB / 488.7 MB, free: 14.24 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 (7): * Single equations (assignments): 7 * 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.0001145/0.1625, allocations: 117.8 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1626, allocations: 7.906 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.163, allocations: 146.3 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.163, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.163, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.163, allocations: 3.938 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.1637, allocations: 406.5 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1637, allocations: 0 / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1638, allocations: 27.92 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1639, allocations: 4 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1639, allocations: 3.938 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1639, allocations: 0 / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1639, allocations: 4 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1643, allocations: 223.4 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1644, allocations: 93 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1644, allocations: 3.938 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.1645, allocations: 12 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1646, allocations: 11.98 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1646, allocations: 11.94 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.576e-05/0.1647, allocations: 109.3 kB / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1647, allocations: 0 / 489.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.165, allocations: 44 kB / 489.9 MB, free: 12.93 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 (7): * Single equations (assignments): 7 * 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.001398/0.1664, allocations: 498.2 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.1668, allocations: 95.88 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1668, allocations: 4 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.167, allocations: 55.91 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1673, allocations: 18.8 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1679, allocations: 233 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1682, allocations: 0.6945 MB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.1682, allocations: 16.28 kB / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1683, allocations: 23.42 kB / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1683, allocations: 0 / 491.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004955/0.1733, allocations: 1.81 MB / 493.4 MB, free: 9.609 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches