Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000844/0.0008443, allocations: 93.22 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.0009883/0.0009884, allocations: 203.6 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.434/1.434, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002567/0.1336, allocations: 1.735 MB / 484.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1356, allocations: 1.095 MB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.611e-05/0.1357, allocations: 4 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.1362, allocations: 255.3 kB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1366, allocations: 231.3 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1379, allocations: 0.6203 MB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.1384, allocations: 335 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1386, allocations: 72.7 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1387, allocations: 119.5 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.139, allocations: 199.2 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.139, allocations: 4 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1391, allocations: 63.97 kB / 487.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1393, allocations: 95.66 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.1394, allocations: 140.6 kB / 488 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1397, allocations: 311 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1398, allocations: 0 / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1398, allocations: 0 / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1398, allocations: 0 / 488.3 MB, free: 14.91 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.0007254/0.1405, allocations: 0.607 MB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1406, allocations: 9.953 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.1407, allocations: 44.38 kB / 489 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.1411, allocations: 330 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1411, allocations: 8.375 kB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1411, allocations: 8.375 kB / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1414, allocations: 129.7 kB / 489.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1414, allocations: 4 kB / 489.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1415, allocations: 8 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1415, allocations: 4 kB / 489.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.1417, allocations: 95.81 kB / 489.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.1424, allocations: 0.5119 MB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1426, allocations: 114.5 kB / 490.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.1427, allocations: 44.83 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1428, allocations: 3.938 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1428, allocations: 30.56 kB / 490.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.1428, allocations: 4 kB / 490.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009974/0.1438, allocations: 467.9 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1438, allocations: 55.41 kB / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.1444, allocations: 0.5682 MB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1445, allocations: 29.7 kB / 491.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1446, allocations: 212.3 kB / 491.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.1447, allocations: 51.25 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1447, allocations: 17.72 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1449, allocations: 354.7 kB / 492 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.145, allocations: 75.95 kB / 492.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1452, allocations: 77.89 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1455, allocations: 160.7 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1455, allocations: 7.938 kB / 492.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003659/0.1458, allocations: 235.9 kB / 492.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1459, allocations: 8 kB / 492.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1459, allocations: 3.984 kB / 492.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1459, allocations: 0 / 492.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1461, allocations: 35.98 kB / 492.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1461, allocations: 0 / 492.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.1462, allocations: 15.94 kB / 492.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1462, allocations: 11.92 kB / 492.6 MB, free: 10.4 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.0001597/0.1463, allocations: 177.8 kB / 492.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1464, allocations: 47.38 kB / 492.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.1469, allocations: 289.6 kB / 493.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1469, allocations: 0 / 493.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1469, allocations: 7.938 kB / 493.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.147, allocations: 3.984 kB / 493.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008632/0.1478, allocations: 0.6881 MB / 493.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1478, allocations: 0 / 493.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.148, allocations: 35.97 kB / 493.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.148, allocations: 0 / 493.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.148, allocations: 12 kB / 493.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.148, allocations: 0 / 493.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.148, allocations: 7.938 kB / 493.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.1484, allocations: 338.8 kB / 494.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.1485, allocations: 124.5 kB / 494.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1486, allocations: 8 kB / 494.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.1487, allocations: 4 kB / 494.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1487, allocations: 15.92 kB / 494.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1487, allocations: 11.98 kB / 494.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004165/0.1492, allocations: 423.1 kB / 494.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1492, allocations: 0 / 494.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1495, allocations: 55.98 kB / 494.8 MB, free: 8.07 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.001622/0.1511, allocations: 0.6788 MB / 495.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1515, allocations: 179.8 kB / 495.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1515, allocations: 0 / 495.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.1517, allocations: 99.8 kB / 495.8 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.1522, allocations: 72.3 kB / 495.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1534, allocations: 0.8531 MB / 496.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1538, allocations: 0.8223 MB / 497.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1539, allocations: 61.89 kB / 497.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.154, allocations: 31.42 kB / 497.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.154, allocations: 0 / 497.6 MB, free: 5.508 MB / 366.1 MB Notification: Performance of Templates: time 0.006873/0.1609, allocations: 3.204 MB / 0.4891 GB, free: 2.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches