Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001304, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 71.08 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1303, allocations: 62.46 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003899/0.1343, allocations: 1.638 MB / 481.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.1353, allocations: 0.6763 MB / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.1354, allocations: 0 / 482.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1356, allocations: 31.89 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.1359, allocations: 43.81 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.017e-06/0.1359, allocations: 0 / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1361, allocations: 39.8 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1362, allocations: 0 / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1362, allocations: 11.92 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.1363, allocations: 19.92 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1363, allocations: 0 / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.1364, allocations: 8 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1365, allocations: 19.97 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.1365, allocations: 19.81 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1367, allocations: 68.02 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1367, allocations: 4 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1367, allocations: 4 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1367, allocations: 0 / 482.6 MB, free: 2.676 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003656/0.1371, allocations: 359.3 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1371, allocations: 11.97 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.1372, allocations: 12.84 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1373, allocations: 180.2 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1373, allocations: 384 / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1373, allocations: 4.375 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1375, allocations: 129.7 kB / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1376, allocations: 192 / 483.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1376, allocations: 3.938 kB / 483.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.473e-05/0.1376, allocations: 23.98 kB / 483.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.1377, allocations: 47.84 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.1384, allocations: 0.8868 MB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1386, allocations: 173.2 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.1386, allocations: 80.14 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1386, allocations: 83.22 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.594e-05/0.1387, allocations: 105.8 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.1387, allocations: 0 / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.884e-05/0.1388, allocations: 37.61 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.1389, allocations: 138.6 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1391, allocations: 186 kB / 485 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.1391, allocations: 29.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1392, allocations: 147.1 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.1393, allocations: 0 / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.1393, allocations: 45.61 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1395, allocations: 318.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.257e-05/0.1396, allocations: 35.92 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1397, allocations: 153.1 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.14, allocations: 212.9 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.14, allocations: 0 / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003208/0.1403, allocations: 201.1 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1403, allocations: 8 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1404, allocations: 4 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1404, allocations: 4 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1405, allocations: 40.55 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.1406, allocations: 11.92 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.1406, allocations: 27.78 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1407, allocations: 12 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000133/0.1408, allocations: 213 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.1409, allocations: 116.7 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.141, allocations: 120.8 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.141, allocations: 180.3 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.191e-05/0.1411, allocations: 184.2 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/0.1412, allocations: 180.2 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1415, allocations: 421.2 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-05/0.1415, allocations: 108.9 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1416, allocations: 101 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/0.1417, allocations: 196.2 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.1417, allocations: 180.3 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-05/0.1418, allocations: 180.3 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001579/0.142, allocations: 180.2 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1422, allocations: 319.7 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1423, allocations: 193.9 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/0.1424, allocations: 176.3 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.1425, allocations: 104.9 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.1426, allocations: 184.2 kB / 489.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.1426, allocations: 108.9 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1428, allocations: 127.2 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1428, allocations: 0 / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.1431, allocations: 16 kB / 489.8 MB, free: 10.89 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 (0): * Single equations (assignments): 0 * 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.0004732/0.1436, allocations: 281.9 kB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1437, allocations: 72.84 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1437, allocations: 4.188 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1437, allocations: 0 / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1441, allocations: 466.3 kB / 490.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.1444, allocations: 241.2 kB / 490.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1447, allocations: 0.7044 MB / 491.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.1449, allocations: 49.02 kB / 491.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.1449, allocations: 19.38 kB / 491.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.145, allocations: 0 / 491.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003179/0.1481, allocations: 0.6858 MB / 492.3 MB, free: 8.387 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches