Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009639/0.0009639, allocations: 91.97 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009989/0.0009989, allocations: 198 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 11.94 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 63.55 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002182/0.1435, allocations: 1.373 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1446, allocations: 0.5652 MB / 485 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1447, allocations: 0 / 485 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.1454, allocations: 455.2 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.1459, allocations: 275.4 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.1464, allocations: 163 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1467, allocations: 163.7 kB / 486.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.147, allocations: 27.92 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1471, allocations: 99.8 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1474, allocations: 199.6 kB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1474, allocations: 3.938 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1475, allocations: 31.98 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1477, allocations: 87.62 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1478, allocations: 124.7 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1482, allocations: 247 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1482, allocations: 4 kB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1482, allocations: 0 / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1482, allocations: 4 kB / 486.9 MB, free: 352 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.0009426/0.1492, allocations: 0.5875 MB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1492, allocations: 12.88 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.1493, allocations: 44.38 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.1497, allocations: 300.1 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1497, allocations: 384 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.1497, allocations: 4.375 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1499, allocations: 61.8 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.15, allocations: 3.984 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.15, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.15, allocations: 0 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1501, allocations: 47.91 kB / 487.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.1507, allocations: 400.6 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1509, allocations: 46.5 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.151, allocations: 28.88 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.151, allocations: 4 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.151, allocations: 30.56 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.151, allocations: 0 / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007006/0.1517, allocations: 255.9 kB / 488.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1518, allocations: 55.41 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1528, allocations: 0.8699 MB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1528, allocations: 25.7 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.153, allocations: 224 kB / 489.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1531, allocations: 19.8 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1531, allocations: 9.719 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.1533, allocations: 366.7 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1534, allocations: 27.97 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1535, allocations: 23.98 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1537, allocations: 60.83 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1537, allocations: 0 / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002703/0.154, allocations: 141 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.154, allocations: 6.656 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.154, allocations: 0 / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.154, allocations: 0 / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.1541, allocations: 15.98 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1541, allocations: 3.984 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.1542, allocations: 11.88 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1542, allocations: 4 kB / 490.5 MB, free: 12.47 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 (5): * Single equations (assignments): 5 * 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.0002707/0.1545, allocations: 217.8 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1546, allocations: 39.53 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.1549, allocations: 149.3 kB / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1549, allocations: 64 / 490.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1549, allocations: 8 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.155, allocations: 3.938 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.1555, allocations: 478.4 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1556, allocations: 0 / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.1556, allocations: 19.92 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1556, allocations: 4 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1557, allocations: 7.875 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1557, allocations: 0 / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1557, allocations: 0 / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.156, allocations: 227 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.1561, allocations: 108.5 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1561, allocations: 11.92 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1562, allocations: 11.94 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1563, allocations: 0 / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.1563, allocations: 4 kB / 491.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.1569, allocations: 0.6589 MB / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.157, allocations: 0 / 492.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1572, allocations: 16 kB / 492.4 MB, free: 10.43 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 (5): * Single equations (assignments): 5 * 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.0009909/0.1582, allocations: 405.5 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1584, allocations: 63.95 kB / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1584, allocations: 0 / 492.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.1585, allocations: 31.98 kB / 492.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1589, allocations: 26.3 kB / 493 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1601, allocations: 0.896 MB / 493.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1606, allocations: 0.8302 MB / 494.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.1606, allocations: 11.98 kB / 494.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1607, allocations: 15.42 kB / 494.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1607, allocations: 0 / 494.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of Templates: time 0.004548/0.1652, allocations: 1.389 MB / 496.1 MB, free: 6.852 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches