Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008309/0.0008368, allocations: 98.42 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.0009141/0.0009141, 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.443/1.443, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 45.91 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 15.92 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 63.46 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001836/0.137, allocations: 1.35 MB / 483 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.1378, allocations: 0.511 MB / 483.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.1379, allocations: 0 / 483.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1384, allocations: 447.2 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1388, allocations: 283.3 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1392, allocations: 147 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1394, allocations: 143.7 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.1395, allocations: 12 kB / 484.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1397, allocations: 107.7 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1399, allocations: 167.7 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1399, allocations: 4 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.14, allocations: 23.98 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1401, allocations: 83.69 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1402, allocations: 65.52 kB / 485 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1404, allocations: 203.9 kB / 485.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1404, allocations: 3.938 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1404, allocations: 0 / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1404, allocations: 0 / 485.2 MB, free: 1.746 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.0006848/0.1411, allocations: 0.591 MB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1412, allocations: 20.02 kB / 485.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1412, allocations: 30.56 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.1413, allocations: 43.44 kB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1416, allocations: 279.3 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1416, allocations: 7.938 kB / 486.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1416, allocations: 0 / 486.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1418, allocations: 61.61 kB / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1418, allocations: 0 / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1418, allocations: 4 kB / 486.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1418, allocations: 4 kB / 486.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.522e-05/0.1419, allocations: 31.97 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1424, allocations: 408.6 kB / 486.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1426, allocations: 50.5 kB / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1427, allocations: 20.94 kB / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1427, allocations: 0 / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1427, allocations: 34.55 kB / 486.7 MB, free: 0 / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1428, allocations: 4.047 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005943/0.1434, allocations: 255.8 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1434, allocations: 51.41 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.1443, allocations: 0.8738 MB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1443, allocations: 37.69 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1445, allocations: 220.1 kB / 488.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1445, allocations: 23.81 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1445, allocations: 0 / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1447, allocations: 362.8 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.1448, allocations: 23.98 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1449, allocations: 27.98 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.1449, allocations: 23.98 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1449, allocations: 0 / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.1452, allocations: 141 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1452, allocations: 4 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1452, allocations: 0 / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1452, allocations: 0 / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.1453, allocations: 19.94 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1453, allocations: 0 / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.1454, allocations: 8 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1454, allocations: 4 kB / 488.8 MB, free: 13.89 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 (5): * Single equations (assignments): 5 * 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.0001957/0.1456, allocations: 217.8 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.1456, allocations: 47.38 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1459, allocations: 157 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1459, allocations: 0 / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1459, allocations: 3.953 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.146, allocations: 4 kB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.1465, allocations: 474.5 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1465, allocations: 0 / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.1466, allocations: 20.3 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1466, allocations: 4 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1466, allocations: 7.953 kB / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1466, allocations: 0 / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1466, allocations: 0 / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1468, allocations: 227 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1469, allocations: 116.5 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.147, allocations: 4 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1471, allocations: 11.95 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1471, allocations: 7.984 kB / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1471, allocations: 0 / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006158/0.1477, allocations: 0.6589 MB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 0 / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.148, allocations: 28 kB / 490.7 MB, free: 11.82 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 (5): * Single equations (assignments): 5 * 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.001244/0.1493, allocations: 1.057 MB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1495, allocations: 59.95 kB / 491.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1495, allocations: 0 / 491.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1495, allocations: 31.92 kB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1499, allocations: 30.25 kB / 491.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.1528, allocations: 2.367 MB / 494.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.1532, allocations: 0.8301 MB / 495.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.553e-05/0.1533, allocations: 16.66 kB / 495.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.1534, allocations: 115.4 kB / 495.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of SimCode: time 1.753e-06/0.1534, allocations: 112 / 495.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.1711, allocations: 5.53 MB / 0.489 GB, free: 1.934 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.1714, allocations: 217.6 kB / 0.4892 GB, free: 1.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.093, allocations: 0 / 0.4892 GB, free: 1.691 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat