Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 99.89 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.18 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 8 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.132, allocations: 63.57 MB / 482.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002069/0.1342, allocations: 1.314 MB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.135, allocations: 0.4914 MB / 484.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.1351, allocations: 0 / 484.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.1356, allocations: 443.2 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.136, allocations: 271.5 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1363, allocations: 111.3 kB / 485 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1365, allocations: 119.7 kB / 485.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.1366, allocations: 20.16 kB / 485.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1367, allocations: 99.73 kB / 485.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.137, allocations: 167.7 kB / 485.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.137, allocations: 0 / 485.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.137, allocations: 16 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1372, allocations: 87.67 kB / 485.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.1372, allocations: 65.52 kB / 485.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1375, allocations: 175.8 kB / 485.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1375, allocations: 3.938 kB / 485.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1375, allocations: 4 kB / 485.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1375, allocations: 0 / 485.8 MB, free: 1.191 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006523/0.1381, allocations: 0.5873 MB / 486.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1382, allocations: 12.03 kB / 486.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.1383, allocations: 39.44 kB / 486.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1386, allocations: 283.3 kB / 486.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1386, allocations: 0 / 486.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1386, allocations: 0 / 486.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1387, allocations: 49.69 kB / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1388, allocations: 0 / 486.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1388, allocations: 7.984 kB / 486.7 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1388, allocations: 4 kB / 486.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.1389, allocations: 23.98 kB / 486.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1394, allocations: 376.7 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.1395, allocations: 34.56 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.1395, allocations: 8.922 kB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1395, allocations: 4 kB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1396, allocations: 38.55 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1396, allocations: 4 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000258/0.1398, allocations: 101.1 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1399, allocations: 55.41 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008342/0.1407, allocations: 0.869 MB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1408, allocations: 25.7 kB / 488.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1409, allocations: 224.1 kB / 488.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.141, allocations: 8.031 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.141, allocations: 0 / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1411, allocations: 366.7 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.1412, allocations: 12 kB / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.1412, allocations: 11.98 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.1413, allocations: 8 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1413, allocations: 4.062 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001448/0.1414, allocations: 93.16 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1414, allocations: 4 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1414, allocations: 3.938 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.1415, allocations: 0 / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1415, allocations: 11.98 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1416, allocations: 0 / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.1416, allocations: 4.031 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1416, allocations: 4 kB / 489 MB, free: 13.73 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.1418, allocations: 221.7 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1419, allocations: 39.44 kB / 489.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1421, allocations: 108.6 kB / 489.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1421, allocations: 0 / 489.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1421, allocations: 8.031 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1421, allocations: 3.938 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1424, allocations: 285.5 kB / 489.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1424, allocations: 0 / 489.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.1424, allocations: 11.98 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1424, allocations: 0 / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1424, allocations: 0 / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1424, allocations: 0 / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1424, allocations: 0 / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1426, allocations: 190.9 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.1427, allocations: 116.6 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1428, allocations: 0 / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1428, allocations: 4 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.1429, allocations: 0 / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1429, allocations: 0 / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005871/0.1435, allocations: 0.6628 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1435, allocations: 0 / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1437, allocations: 12 kB / 490.6 MB, free: 11.98 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007943/0.1445, allocations: 355.5 kB / 491 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1447, allocations: 23.98 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1447, allocations: 0 / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.1447, allocations: 15.92 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1451, allocations: 30.25 kB / 491.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1462, allocations: 0.8142 MB / 491.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1467, allocations: 0.8185 MB / 492.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.1467, allocations: 12.16 kB / 492.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1468, allocations: 11.44 kB / 492.7 MB, free: 9.969 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1468, allocations: 3.938 kB / 492.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of Templates: time 0.004315/0.1511, allocations: 1.147 MB / 493.9 MB, free: 8.816 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches