Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 98.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 193.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 15.92 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 63.45 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002082/0.1261, allocations: 1.318 MB / 483 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.127, allocations: 495.2 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.127, allocations: 0 / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1276, allocations: 435.2 kB / 483.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.128, allocations: 283.4 kB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1283, allocations: 103.7 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1285, allocations: 135.7 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.1286, allocations: 15.98 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1288, allocations: 103.7 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.129, allocations: 167.7 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.129, allocations: 0 / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.1291, allocations: 23.98 kB / 484.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.1292, allocations: 87.67 kB / 484.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1292, allocations: 65.52 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1294, allocations: 175.8 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1294, allocations: 4 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1294, allocations: 0 / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1294, allocations: 0 / 485 MB, free: 1.887 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.0006543/0.1301, allocations: 0.599 MB / 485.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1301, allocations: 8.031 kB / 485.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1302, allocations: 42.5 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1302, allocations: 35.53 kB / 485.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1305, allocations: 287.2 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1305, allocations: 0 / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1306, allocations: 4 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1307, allocations: 61.61 kB / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1307, allocations: 0 / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.1307, allocations: 0 / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1307, allocations: 0 / 486 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1309, allocations: 47.97 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.1313, allocations: 376.8 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1315, allocations: 50.56 kB / 486.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.1315, allocations: 24.94 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1316, allocations: 0 / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1316, allocations: 42.5 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.1316, allocations: 0 / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003245/0.1319, allocations: 133 kB / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.132, allocations: 51.41 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.1329, allocations: 0.8776 MB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1329, allocations: 25.7 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1331, allocations: 216 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1331, allocations: 11.81 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.1331, allocations: 0 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1333, allocations: 362.8 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1334, allocations: 15.98 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/0.1334, allocations: 23.98 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.1335, allocations: 23.98 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1335, allocations: 0 / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002413/0.1337, allocations: 109.4 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1338, allocations: 4 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1338, allocations: 48 / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1338, allocations: 7.984 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.1339, allocations: 11.98 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.1339, allocations: 4 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1339, allocations: 11.86 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.134, allocations: 0 / 488.4 MB, free: 14.23 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 (3): * Single equations (assignments): 3 * 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.0001954/0.1342, allocations: 213.8 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.1342, allocations: 39.53 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.1344, allocations: 129 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1345, allocations: 0 / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1345, allocations: 0 / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1345, allocations: 0 / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.1348, allocations: 297.5 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1348, allocations: 0 / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.1348, allocations: 16 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1348, allocations: 0 / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1348, allocations: 0 / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1349, allocations: 7.922 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1349, allocations: 0 / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1351, allocations: 210.9 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.1352, allocations: 124.5 kB / 489.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1352, allocations: 0 / 489.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1353, allocations: 4 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1354, allocations: 11.92 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1354, allocations: 0 / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006258/0.136, allocations: 0.655 MB / 490.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.136, allocations: 4 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1363, allocations: 20 kB / 490.1 MB, free: 12.41 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 (3): * Single equations (assignments): 3 * 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.001198/0.1375, allocations: 0.9888 MB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1377, allocations: 51.89 kB / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1377, allocations: 0 / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.1378, allocations: 19.98 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1381, allocations: 26.3 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.1414, allocations: 2.287 MB / 493.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1418, allocations: 0.8224 MB / 494.3 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.1419, allocations: 12.16 kB / 494.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.142, allocations: 111.3 kB / 494.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.142, allocations: 0 / 494.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1594, allocations: 5.241 MB / 499.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.1597, allocations: 222.3 kB / 499.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.066, allocations: 96 / 499.9 MB, free: 2.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat does not exist to compare? outputFormat=mat