Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001664/0.001664, allocations: 105.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002034, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.3 MB, free: 9.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 77 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 62.44 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003149/0.1377, allocations: 1.717 MB / 481 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.1385, allocations: 0.6604 MB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.1385, allocations: 0 / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1388, allocations: 31.91 kB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1389, allocations: 39.89 kB / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.1389, allocations: 3.938 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1391, allocations: 51.88 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.1391, allocations: 8 kB / 481.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.1392, allocations: 11.88 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.1392, allocations: 23.91 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1393, allocations: 0 / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.715e-05/0.1393, allocations: 12 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1394, allocations: 15.92 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1394, allocations: 19.88 kB / 481.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1395, allocations: 72 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1395, allocations: 0 / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1395, allocations: 0 / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1395, allocations: 0 / 482 MB, free: 3.051 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.0003589/0.1399, allocations: 359.4 kB / 482.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.14, allocations: 12.88 kB / 482.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.14, allocations: 4.844 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1401, allocations: 180.2 kB / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1402, allocations: 384 / 482.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1402, allocations: 12.38 kB / 482.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1403, allocations: 119.3 kB / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1404, allocations: 192 / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1404, allocations: 7.922 kB / 482.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.1404, allocations: 23.98 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.1405, allocations: 47.86 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.1411, allocations: 0.8906 MB / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.1412, allocations: 169.2 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.1412, allocations: 80.14 kB / 483.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1413, allocations: 83.2 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.1413, allocations: 109.8 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1413, allocations: 4 kB / 484 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.813e-05/0.1414, allocations: 33.61 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1415, allocations: 126.7 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1416, allocations: 190 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1416, allocations: 25.7 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1417, allocations: 151.1 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/0.1417, allocations: 0 / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1418, allocations: 49.55 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1419, allocations: 326.8 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.142, allocations: 31.97 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1421, allocations: 161.1 kB / 485.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1423, allocations: 196.9 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1423, allocations: 3.938 kB / 485.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002746/0.1426, allocations: 197.1 kB / 485.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1426, allocations: 6.969 kB / 485.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1426, allocations: 4 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1426, allocations: 12 kB / 485.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1428, allocations: 39.91 kB / 485.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1428, allocations: 11.94 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.1429, allocations: 27.78 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1429, allocations: 8 kB / 485.6 MB, free: 15.02 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.0001123/0.143, allocations: 217 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.1431, allocations: 116.7 kB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1431, allocations: 124.8 kB / 486 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.793e-05/0.1432, allocations: 180.2 kB / 486.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/0.1433, allocations: 180.3 kB / 486.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/0.1433, allocations: 180.2 kB / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1435, allocations: 421.2 kB / 487 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.679e-05/0.1436, allocations: 116.9 kB / 487.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.1436, allocations: 101 kB / 487.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.764e-05/0.1437, allocations: 176.3 kB / 487.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.1438, allocations: 180.2 kB / 487.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.409e-05/0.1438, allocations: 184.2 kB / 487.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-05/0.1439, allocations: 184.2 kB / 487.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.144, allocations: 311.7 kB / 488.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.1441, allocations: 197.8 kB / 488.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.1442, allocations: 180.3 kB / 488.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1443, allocations: 108.9 kB / 488.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.1443, allocations: 184.3 kB / 488.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.1444, allocations: 101 kB / 489 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.821e-05/0.1445, allocations: 139.2 kB / 489.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1445, allocations: 0 / 489.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1447, allocations: 12 kB / 489.1 MB, free: 11.27 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.0004462/0.1452, allocations: 264.8 kB / 489.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1453, allocations: 76.25 kB / 489.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1454, allocations: 4 kB / 489.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1454, allocations: 0 / 489.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1458, allocations: 0.5313 MB / 490 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1461, allocations: 262.9 kB / 490.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1463, allocations: 0.7009 MB / 490.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.1465, allocations: 53 kB / 491 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1465, allocations: 15.44 kB / 491 MB, free: 9.363 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1465, allocations: 0 / 491 MB, free: 9.363 MB / 366.1 MB Notification: Performance of Templates: time 0.002716/0.1492, allocations: 0.681 MB / 491.7 MB, free: 8.688 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches