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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001714, allocations: 104 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 213.7 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.483/1.483, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 77.88 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1366, allocations: 62.45 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004421/0.141, allocations: 1.703 MB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1423, allocations: 0.6721 MB / 481.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.1423, allocations: 0 / 481.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1426, allocations: 23.92 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1429, allocations: 39.88 kB / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.711e-06/0.1429, allocations: 4 kB / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1431, allocations: 43.89 kB / 481.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.1431, allocations: 8 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.1432, allocations: 11.92 kB / 481.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.1433, allocations: 23.86 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1433, allocations: 4 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.1433, allocations: 11.98 kB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.1434, allocations: 15.92 kB / 481.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1434, allocations: 23.81 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1436, allocations: 68.02 kB / 482 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1436, allocations: 3.938 kB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1436, allocations: 3.984 kB / 482 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1436, allocations: 0 / 482 MB, free: 2.918 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.000459/0.1441, allocations: 359.4 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1441, allocations: 16.88 kB / 482.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1442, allocations: 34.75 kB / 482.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1442, allocations: 12.75 kB / 482.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1444, allocations: 180.2 kB / 482.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1444, allocations: 4.359 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1444, allocations: 4.375 kB / 482.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1447, allocations: 123.3 kB / 482.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1447, allocations: 3.938 kB / 482.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1447, allocations: 0 / 482.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.1448, allocations: 23.98 kB / 482.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.1449, allocations: 43.91 kB / 482.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.1457, allocations: 0.8906 MB / 483.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1459, allocations: 173.2 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.1459, allocations: 84.08 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.146, allocations: 83.22 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.1461, allocations: 105.8 kB / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1461, allocations: 0 / 484.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.594e-05/0.1462, allocations: 33.61 kB / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1463, allocations: 130.7 kB / 484.3 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1465, allocations: 190 kB / 484.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1466, allocations: 29.7 kB / 484.5 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1467, allocations: 147.1 kB / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.1467, allocations: 0 / 484.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.1468, allocations: 45.61 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1469, allocations: 326.8 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.147, allocations: 27.98 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1471, allocations: 153.1 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1473, allocations: 204.9 kB / 485.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1473, allocations: 0 / 485.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000328/0.1477, allocations: 209.3 kB / 485.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1477, allocations: 8 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1477, allocations: 4 kB / 485.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1477, allocations: 8 kB / 485.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1479, allocations: 35.92 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1479, allocations: 7.938 kB / 485.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.148, allocations: 27.69 kB / 485.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.148, allocations: 12.34 kB / 485.7 MB, free: 14.84 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.0001412/0.1482, allocations: 220.9 kB / 485.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.1483, allocations: 116.8 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.1483, allocations: 120.8 kB / 486.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/0.1484, allocations: 180.3 kB / 486.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-05/0.1485, allocations: 176.3 kB / 486.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-05/0.1486, allocations: 192.2 kB / 486.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1489, allocations: 421.2 kB / 487.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/0.1489, allocations: 104.9 kB / 487.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.149, allocations: 109 kB / 487.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.238e-05/0.149, allocations: 176.3 kB / 487.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.1491, allocations: 180.2 kB / 487.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.278e-05/0.1492, allocations: 184.3 kB / 487.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-05/0.1493, allocations: 184.2 kB / 488 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.1494, allocations: 315.6 kB / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.1495, allocations: 189.9 kB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.1496, allocations: 180.3 kB / 488.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.1497, allocations: 112.9 kB / 488.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/0.1498, allocations: 184.3 kB / 489 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.1499, allocations: 101 kB / 489.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.15, allocations: 123.2 kB / 489.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.15, allocations: 3.938 kB / 489.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1503, allocations: 16 kB / 489.2 MB, free: 11.1 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.0009677/0.1513, allocations: 0.921 MB / 490.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1515, allocations: 80.62 kB / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1515, allocations: 3.938 kB / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.1515, allocations: 0 / 490.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.152, allocations: 0.5263 MB / 490.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1539, allocations: 1.885 MB / 492.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1542, allocations: 0.7008 MB / 493.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.1544, allocations: 53.02 kB / 493.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.1545, allocations: 27.42 kB / 493.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1545, allocations: 4 kB / 493.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.1687, allocations: 1.91 MB / 495.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.169, allocations: 235 kB / 495.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.022, allocations: 0 / 495.6 MB, free: 4.617 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches