Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 108 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.11 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 77.5 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1233, allocations: 62.43 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002887/0.1263, allocations: 1.731 MB / 481.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1278, allocations: 1.152 MB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.1279, allocations: 4 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.128, allocations: 15.92 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1283, allocations: 75.75 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1286, allocations: 115.2 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1288, allocations: 71.77 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.1289, allocations: 19.98 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1289, allocations: 31.86 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1291, allocations: 43.77 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1291, allocations: 4 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1293, allocations: 91.94 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.1293, allocations: 19.98 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1294, allocations: 35.72 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1296, allocations: 159.9 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1296, allocations: 0 / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1296, allocations: 0 / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1296, allocations: 0 / 483.1 MB, free: 1.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004784/0.1301, allocations: 419.1 kB / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1301, allocations: 8.031 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1302, allocations: 30.75 kB / 483.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1302, allocations: 8.844 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1304, allocations: 204 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1304, allocations: 4.375 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1304, allocations: 4.375 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1306, allocations: 75.31 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1306, allocations: 0 / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1306, allocations: 4 kB / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1307, allocations: 0 / 483.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1308, allocations: 35.97 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1311, allocations: 304.7 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1312, allocations: 38.56 kB / 484.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.1313, allocations: 24.94 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1314, allocations: 3.938 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1314, allocations: 34.56 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1314, allocations: 0 / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007277/0.1322, allocations: 213.1 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1322, allocations: 81.11 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1324, allocations: 156.4 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1324, allocations: 29.7 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.1324, allocations: 96.12 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1325, allocations: 19.72 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1325, allocations: 25.7 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1326, allocations: 314.8 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1327, allocations: 40 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1329, allocations: 53.72 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1331, allocations: 72.81 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1331, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002591/0.1333, allocations: 113.6 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1334, allocations: 10.5 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1334, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1334, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1335, allocations: 27.86 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1335, allocations: 3.984 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.1336, allocations: 11.88 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1336, allocations: 8 kB / 485.6 MB, free: 15.25 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 (7): * Single equations (assignments): 7 * 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 7.879e-05/0.1337, allocations: 117.8 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1338, allocations: 7.906 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.1341, allocations: 122.3 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1341, allocations: 0 / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1341, allocations: 4.281 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1341, allocations: 7.875 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.1346, allocations: 402.4 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1346, allocations: 0 / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.1347, allocations: 19.97 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1347, allocations: 4 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1348, allocations: 7.938 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1348, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1348, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.1351, allocations: 215.7 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1351, allocations: 89.02 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1352, allocations: 3.938 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.1353, allocations: 11.98 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1353, allocations: 7.984 kB / 486.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1353, allocations: 8 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.1354, allocations: 121.9 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1355, allocations: 0 / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1357, allocations: 36 kB / 486.7 MB, free: 13.99 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 (7): * Single equations (assignments): 7 * 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.001499/0.1372, allocations: 1.135 MB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1375, allocations: 75.94 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1376, allocations: 0 / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1377, allocations: 47.91 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.138, allocations: 15.94 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1399, allocations: 1.606 MB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1401, allocations: 0.6924 MB / 490.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.1402, allocations: 20.84 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1403, allocations: 35.36 kB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.464e-06/0.1403, allocations: 0 / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1574, allocations: 3.323 MB / 493.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.1578, allocations: 248.2 kB / 493.9 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.028, allocations: 0 / 493.9 MB, free: 6.898 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches