Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008335/0.0008333, allocations: 99.89 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009106/0.0009111, allocations: 192.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.469/1.469, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 45.91 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.00031, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002079/0.127, allocations: 1.306 MB / 482.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.128, allocations: 499.2 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.128, allocations: 0 / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.1286, allocations: 435.2 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1289, allocations: 271.5 kB / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1292, allocations: 107.4 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1294, allocations: 131.6 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.1295, allocations: 8.172 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1296, allocations: 103.8 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1298, allocations: 171.6 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1299, allocations: 0 / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.1299, allocations: 20 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1301, allocations: 87.62 kB / 484.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1301, allocations: 65.52 kB / 484.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1303, allocations: 179.7 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1304, allocations: 0 / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1304, allocations: 4 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1304, allocations: 0 / 485 MB, free: 1.898 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.000788/0.1312, allocations: 0.5989 MB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1312, allocations: 8.031 kB / 485.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.1313, allocations: 34.56 kB / 485.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.1314, allocations: 43.53 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.1317, allocations: 279.2 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1317, allocations: 4 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1318, allocations: 7.984 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1319, allocations: 49.69 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1319, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1319, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.132, allocations: 0 / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.132, allocations: 31.91 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1325, allocations: 376.8 kB / 486.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.1326, allocations: 30.56 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.1327, allocations: 20.91 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1327, allocations: 0 / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1327, allocations: 34.5 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1327, allocations: 7.938 kB / 486.5 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002482/0.133, allocations: 97.12 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.133, allocations: 59.36 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.1339, allocations: 0.8777 MB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1339, allocations: 25.7 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.134, allocations: 232.2 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1341, allocations: 7.891 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.1341, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1342, allocations: 358.8 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.1343, allocations: 8 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.1343, allocations: 19.92 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.1343, allocations: 12.06 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1343, allocations: 0 / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.1345, allocations: 97.11 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1345, allocations: 4 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1345, allocations: 0 / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1345, allocations: 0 / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.1346, allocations: 8 kB / 488.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1346, allocations: 0 / 488.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1347, allocations: 15.92 kB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1347, allocations: 0 / 488.3 MB, free: 14.36 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.0001689/0.1349, allocations: 213.8 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1349, allocations: 39.44 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.1351, allocations: 108.7 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1351, allocations: 4.031 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1351, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1351, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1354, allocations: 293.5 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1354, allocations: 0 / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1354, allocations: 4 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1355, allocations: 0 / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1355, allocations: 0 / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1355, allocations: 0 / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1355, allocations: 4 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1357, allocations: 198.9 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1357, allocations: 112.6 kB / 489.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1358, allocations: 3.938 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1358, allocations: 7.984 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1359, allocations: 0 / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1359, allocations: 4 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006135/0.1365, allocations: 0.6628 MB / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1365, allocations: 0 / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1368, allocations: 12 kB / 489.9 MB, free: 12.61 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.001207/0.138, allocations: 0.9674 MB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1381, allocations: 31.92 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1381, allocations: 0 / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.1382, allocations: 15.98 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1386, allocations: 22.3 kB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.1414, allocations: 2.268 MB / 493.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1418, allocations: 0.8185 MB / 494.1 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1418, allocations: 12.16 kB / 494.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1419, allocations: 107.4 kB / 494.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.142, allocations: 0 / 494.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.1575, allocations: 5.214 MB / 499.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/0.1579, allocations: 221.7 kB / 499.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.051, allocations: 0 / 499.6 MB, free: 3.023 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat does not exist to compare? outputFormat=mat