Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 116.9 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.001351/0.001351, allocations: 200.6 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.378/1.378, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003758/0.1415, allocations: 2.025 MB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1434, allocations: 1.032 MB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1435, allocations: 0 / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.144, allocations: 263.1 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.1445, allocations: 255.1 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1456, allocations: 497.6 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1459, allocations: 319.2 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1461, allocations: 64.7 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1463, allocations: 143.4 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1465, allocations: 207.2 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.1465, allocations: 12 kB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1467, allocations: 71.97 kB / 486.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1468, allocations: 91.67 kB / 486.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.147, allocations: 122.9 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.1474, allocations: 318.7 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1474, allocations: 4 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1474, allocations: 0 / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1474, allocations: 0 / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007591/0.1482, allocations: 0.6495 MB / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.1482, allocations: 9.109 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.1483, allocations: 44.45 kB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1487, allocations: 318.1 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1487, allocations: 8.375 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1487, allocations: 16.28 kB / 487.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.149, allocations: 105.8 kB / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.149, allocations: 0 / 488 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.149, allocations: 12 kB / 488 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.149, allocations: 3.984 kB / 488 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.1493, allocations: 75.83 kB / 488.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.15, allocations: 484.3 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1502, allocations: 94.42 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.1503, allocations: 44.84 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1503, allocations: 0 / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.1504, allocations: 34.56 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1504, allocations: 4 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000987/0.1514, allocations: 387.9 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1514, allocations: 59.34 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.152, allocations: 0.5604 MB / 489.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1521, allocations: 29.7 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1523, allocations: 208.3 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.1523, allocations: 47.27 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.1524, allocations: 33.7 kB / 490 MB, free: 11.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.1526, allocations: 350.8 kB / 490.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1528, allocations: 55.97 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1529, allocations: 58.06 kB / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1531, allocations: 112.8 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1531, allocations: 3.938 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003584/0.1535, allocations: 203 kB / 490.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1535, allocations: 4 kB / 490.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1535, allocations: 4 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1535, allocations: 4 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.1537, allocations: 31.98 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1537, allocations: 3.984 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.1538, allocations: 15.92 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1538, allocations: 4 kB / 490.8 MB, free: 10.88 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 (17): * Single equations (assignments): 17 * 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.0002276/0.1541, allocations: 177.7 kB / 491 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1541, allocations: 43.44 kB / 491.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.1546, allocations: 237.6 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1546, allocations: 0 / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1546, allocations: 0 / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1546, allocations: 4 kB / 491.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.1554, allocations: 0.6221 MB / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1554, allocations: 0 / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1556, allocations: 39.91 kB / 492 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1556, allocations: 4 kB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1556, allocations: 8 kB / 492 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1556, allocations: 7.875 kB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1556, allocations: 3.938 kB / 492 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.156, allocations: 294.8 kB / 492.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.1561, allocations: 100.7 kB / 492.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1561, allocations: 7.984 kB / 492.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.1562, allocations: 12 kB / 492.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1563, allocations: 11.92 kB / 492.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1563, allocations: 7.984 kB / 492.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.1567, allocations: 427.1 kB / 492.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1567, allocations: 3.938 kB / 492.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.157, allocations: 44 kB / 492.9 MB, free: 8.742 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 (17): * Single equations (assignments): 17 * 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.001844/0.1589, allocations: 0.6836 MB / 493.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.1592, allocations: 135.8 kB / 493.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1592, allocations: 0 / 493.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1593, allocations: 71.91 kB / 493.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.1599, allocations: 89.22 kB / 493.8 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1611, allocations: 0.6822 MB / 494.5 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.1616, allocations: 0.8104 MB / 495.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1617, allocations: 49.89 kB / 495.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.1618, allocations: 35.42 kB / 495.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1618, allocations: 0 / 495.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of Templates: time 0.007288/0.1691, allocations: 3.253 MB / 498.7 MB, free: 3.184 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches