Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001203/0.001204, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 216 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 74.38 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 62.46 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.004253/0.1273, allocations: 1.642 MB / 482.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1284, allocations: 0.6802 MB / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.1285, allocations: 0 / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.1287, allocations: 39.83 kB / 483.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.129, allocations: 35.84 kB / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.366e-06/0.129, allocations: 0 / 483.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1292, allocations: 39.83 kB / 483.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.1293, allocations: 4 kB / 483.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.1293, allocations: 7.938 kB / 483.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.1294, allocations: 19.91 kB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1294, allocations: 0 / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.1295, allocations: 12 kB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1295, allocations: 15.98 kB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1296, allocations: 23.75 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1297, allocations: 68.02 kB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1298, allocations: 4 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1298, allocations: 0 / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1298, allocations: 4 kB / 483.3 MB, free: 2.684 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.0004128/0.1302, allocations: 355.3 kB / 483.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1302, allocations: 8.031 kB / 483.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1303, allocations: 8.844 kB / 483.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1305, allocations: 176.2 kB / 483.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1305, allocations: 4.375 kB / 483.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1305, allocations: 4.359 kB / 483.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1307, allocations: 130.2 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1307, allocations: 192 / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1307, allocations: 3.938 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.1308, allocations: 27.92 kB / 484 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.1309, allocations: 43.86 kB / 484 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.1315, allocations: 0.8945 MB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.1316, allocations: 165.1 kB / 485.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.1317, allocations: 84.12 kB / 485.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1317, allocations: 79.22 kB / 485.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.1318, allocations: 109.8 kB / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.956e-06/0.1318, allocations: 96 / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.683e-05/0.1319, allocations: 45.53 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1319, allocations: 130.7 kB / 485.5 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1321, allocations: 186 kB / 485.7 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.1322, allocations: 25.7 kB / 485.7 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1323, allocations: 147.1 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.1323, allocations: 8 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.1324, allocations: 45.61 kB / 485.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1325, allocations: 314.8 kB / 486.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.1326, allocations: 39.91 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1327, allocations: 161 kB / 486.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.1329, allocations: 204.9 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1329, allocations: 4 kB / 486.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003167/0.1332, allocations: 193.5 kB / 486.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1333, allocations: 12.12 kB / 486.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1333, allocations: 4 kB / 486.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1333, allocations: 4 kB / 486.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1334, allocations: 47.91 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1335, allocations: 4 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.1335, allocations: 19.78 kB / 486.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1336, allocations: 16 kB / 486.9 MB, free: 14.65 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.0001373/0.1337, allocations: 213 kB / 487.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.1338, allocations: 124.7 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.1339, allocations: 112.8 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.1339, allocations: 184.2 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.87e-05/0.134, allocations: 180.3 kB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.118e-05/0.1341, allocations: 176.3 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.1343, allocations: 433.1 kB / 488.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.1344, allocations: 104.9 kB / 488.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.1344, allocations: 104.9 kB / 488.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/0.1345, allocations: 180.3 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.1346, allocations: 176.3 kB / 488.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.006e-05/0.1347, allocations: 192.2 kB / 489.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.205e-05/0.1347, allocations: 180.3 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1349, allocations: 307.7 kB / 489.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.135, allocations: 201.9 kB / 489.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.1351, allocations: 180.2 kB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.1352, allocations: 101 kB / 490 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.1353, allocations: 184.2 kB / 490.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.1353, allocations: 105 kB / 490.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1354, allocations: 131.2 kB / 490.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1354, allocations: 0 / 490.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1357, allocations: 12 kB / 490.4 MB, free: 10.92 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.000519/0.1363, allocations: 279.1 kB / 490.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1364, allocations: 79.78 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1364, allocations: 0 / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1364, allocations: 0 / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1368, allocations: 475.5 kB / 491.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.1372, allocations: 270.9 kB / 491.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1375, allocations: 0.6967 MB / 492.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1376, allocations: 19.44 kB / 492.2 MB, free: 9.102 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1376, allocations: 4 kB / 492.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of Templates: time 0.003022/0.1407, allocations: 1.288 MB / 493.5 MB, free: 7.812 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches