Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001337, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001504, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 76.44 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003437/0.1464, allocations: 1.658 MB / 483.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1475, allocations: 0.5767 MB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.1476, allocations: 7.938 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.1481, allocations: 455.2 kB / 484.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.1486, allocations: 291.3 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1491, allocations: 183.4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.1493, allocations: 183.6 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1495, allocations: 16 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1496, allocations: 111.8 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1498, allocations: 215.6 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.1499, allocations: 4 kB / 485.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.15, allocations: 35.92 kB / 485.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1501, allocations: 83.69 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.1502, allocations: 107 kB / 485.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1505, allocations: 263 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1505, allocations: 7.984 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1505, allocations: 0 / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.1505, allocations: 0 / 485.6 MB, free: 360 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008006/0.1513, allocations: 0.6452 MB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1514, allocations: 12.03 kB / 486.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1515, allocations: 40.38 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1518, allocations: 300.1 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1518, allocations: 4.375 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1519, allocations: 12.31 kB / 486.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.1521, allocations: 61.78 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1521, allocations: 4 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1522, allocations: 4 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1522, allocations: 0 / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1523, allocations: 39.95 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.1531, allocations: 408.7 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1532, allocations: 46.55 kB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.1533, allocations: 24.94 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1533, allocations: 4 kB / 487.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1534, allocations: 30.56 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 3.126e-06/0.1534, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009274/0.1543, allocations: 319.8 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1544, allocations: 51.41 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.1553, allocations: 0.8653 MB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1553, allocations: 29.7 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1555, allocations: 212.1 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.1556, allocations: 27.55 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1556, allocations: 25.66 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1559, allocations: 362.7 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.156, allocations: 35.97 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1561, allocations: 47.91 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1563, allocations: 88.78 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1563, allocations: 0 / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003028/0.1566, allocations: 153.4 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1567, allocations: 4 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1567, allocations: 4 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.1567, allocations: 7.984 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1569, allocations: 23.92 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1569, allocations: 0 / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.157, allocations: 15.92 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.157, allocations: 0 / 489.5 MB, free: 12.25 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.0002626/0.1572, allocations: 213.8 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.1574, allocations: 47.44 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.1578, allocations: 181.4 kB / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1578, allocations: 0 / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1578, allocations: 0 / 489.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1578, allocations: 11.88 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.1586, allocations: 0.5023 MB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1586, allocations: 0 / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.1587, allocations: 23.98 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1587, allocations: 0 / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1588, allocations: 7.875 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1588, allocations: 4 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1588, allocations: 3.984 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1592, allocations: 258.9 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1593, allocations: 108.5 kB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1593, allocations: 3.938 kB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1594, allocations: 11.98 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1595, allocations: 0 / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1595, allocations: 8 kB / 490.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007989/0.1603, allocations: 0.655 MB / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1603, allocations: 0 / 491.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1606, allocations: 27.94 kB / 491.5 MB, free: 10.1 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.001212/0.1618, allocations: 399 kB / 491.9 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.1622, allocations: 99.84 kB / 492 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1622, allocations: 4 kB / 492 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1623, allocations: 43.97 kB / 492.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.1629, allocations: 26.3 kB / 492.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1643, allocations: 0.8307 MB / 492.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.165, allocations: 0.826 MB / 493.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.928e-05/0.1651, allocations: 32.62 kB / 493.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1652, allocations: 15.44 kB / 493.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1652, allocations: 0 / 493.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of Templates: time 0.005362/0.1706, allocations: 1.61 MB / 495.4 MB, free: 6.305 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches