Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 86.98 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 62.45 MB / 480.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003408/0.1331, allocations: 1.674 MB / 482.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1341, allocations: 0.5611 MB / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.1342, allocations: 0 / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.1348, allocations: 455.1 kB / 483.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1353, allocations: 299.3 kB / 483.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1357, allocations: 135.2 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.1359, allocations: 179.6 kB / 484 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.136, allocations: 20.2 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1362, allocations: 119.7 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1364, allocations: 207.6 kB / 484.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1364, allocations: 8 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1366, allocations: 51.98 kB / 484.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1367, allocations: 87.67 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.874e-05/0.1368, allocations: 110.9 kB / 484.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1371, allocations: 270.9 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1372, allocations: 3.938 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1372, allocations: 0 / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1372, allocations: 0 / 484.9 MB, free: 1.043 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007804/0.138, allocations: 0.6534 MB / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.138, allocations: 12.03 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.1381, allocations: 44.38 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1384, allocations: 296.1 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1384, allocations: 4.375 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1385, allocations: 8.312 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1387, allocations: 65.8 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1387, allocations: 0 / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1387, allocations: 0 / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1387, allocations: 4 kB / 486 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1388, allocations: 39.95 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.1394, allocations: 408.5 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1396, allocations: 54.55 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.1397, allocations: 28.97 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1397, allocations: 0 / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1398, allocations: 38.53 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1398, allocations: 4 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001562/0.1413, allocations: 475.9 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1414, allocations: 55.34 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009062/0.1423, allocations: 0.8574 MB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1423, allocations: 29.7 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1425, allocations: 216 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.1426, allocations: 35.45 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1426, allocations: 21.72 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1428, allocations: 370.8 kB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.143, allocations: 39.97 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1431, allocations: 43.97 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.1434, allocations: 104.7 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1434, allocations: 4 kB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003415/0.1437, allocations: 169.1 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1438, allocations: 4 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1438, allocations: 4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1438, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1439, allocations: 35.84 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1439, allocations: 0 / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.144, allocations: 15.98 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.144, allocations: 4 kB / 489 MB, free: 12.72 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 (11): * Single equations (assignments): 11 * 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.0002079/0.1442, allocations: 217.7 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1443, allocations: 39.44 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.1448, allocations: 205.3 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1448, allocations: 7.938 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1448, allocations: 4 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1448, allocations: 0 / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.1456, allocations: 0.5701 MB / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1456, allocations: 0 / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1457, allocations: 31.98 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1458, allocations: 4 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1458, allocations: 0 / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1458, allocations: 3.984 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.1458, allocations: 7.984 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.1462, allocations: 284.5 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1463, allocations: 108.6 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1463, allocations: 4 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1465, allocations: 12.17 kB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1465, allocations: 11.92 kB / 490.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1465, allocations: 8 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007294/0.1473, allocations: 0.6589 MB / 491.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1473, allocations: 4 kB / 491.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1476, allocations: 28 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001682/0.1492, allocations: 448.7 kB / 491.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.1496, allocations: 115.9 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1496, allocations: 0 / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1498, allocations: 59.91 kB / 491.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1502, allocations: 33.95 kB / 491.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1516, allocations: 0.8925 MB / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1521, allocations: 0.8299 MB / 493.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1522, allocations: 15.44 kB / 493.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1522, allocations: 192 / 493.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of Templates: time 0.008663/0.1609, allocations: 4.108 MB / 497.7 MB, free: 4.008 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches