Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009538/0.0009537, allocations: 99.31 kB / 17.01 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.001073/0.001073, allocations: 192.7 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.418/1.418, 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.1979/0.1979, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002825, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.00196/0.1551, allocations: 1.37 MB / 483 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.1561, allocations: 0.5226 MB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1561, allocations: 0 / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1564, allocations: 71.83 kB / 483.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1567, allocations: 87.72 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.157, allocations: 155.2 kB / 483.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1572, allocations: 79.75 kB / 483.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1573, allocations: 16.17 kB / 483.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.1574, allocations: 39.89 kB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.1575, allocations: 39.83 kB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1575, allocations: 4 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.1576, allocations: 43.92 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1577, allocations: 27.91 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.1577, allocations: 37.64 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1579, allocations: 92.08 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1579, allocations: 0 / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1579, allocations: 0 / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1579, allocations: 0 / 484.2 MB, free: 2.641 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000508/0.1584, allocations: 422.8 kB / 484.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1584, allocations: 8.031 kB / 484.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.1585, allocations: 30.56 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1585, allocations: 19.81 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1587, allocations: 207.3 kB / 484.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1587, allocations: 4 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1588, allocations: 0 / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.159, allocations: 77.66 kB / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.159, allocations: 0 / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.159, allocations: 0 / 485 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.159, allocations: 4 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1591, allocations: 55.89 kB / 485 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1596, allocations: 332.7 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1598, allocations: 66.58 kB / 485.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.1599, allocations: 32.97 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.16, allocations: 3.984 kB / 485.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.16, allocations: 34.56 kB / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.16, allocations: 0 / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001449/0.1615, allocations: 0.4971 MB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1615, allocations: 51.41 kB / 486 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1617, allocations: 214.7 kB / 486.2 MB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1617, allocations: 33.7 kB / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.1618, allocations: 112 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1619, allocations: 39.45 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1619, allocations: 4 kB / 486.4 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.162, allocations: 326.8 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1622, allocations: 59.97 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1623, allocations: 67.89 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1624, allocations: 72.22 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1624, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003258/0.1628, allocations: 177.5 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1628, allocations: 11.95 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1628, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1628, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.163, allocations: 31.97 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.163, allocations: 0 / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.163, allocations: 16 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1631, allocations: 7.984 kB / 487.2 MB, free: 15.44 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 (11): * Single equations (assignments): 11 * 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.000107/0.1632, allocations: 133.8 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1632, allocations: 19.8 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.1636, allocations: 203 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1636, allocations: 7.938 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1636, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1637, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.1643, allocations: 0.5194 MB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1643, allocations: 4 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.1644, allocations: 35.98 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1645, allocations: 0 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1645, allocations: 0 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1645, allocations: 4 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1645, allocations: 192 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1649, allocations: 285 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1649, allocations: 101 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1649, allocations: 3.938 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.165, allocations: 23.98 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1651, allocations: 11.92 kB / 488.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.1651, allocations: 4 kB / 488.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1652, allocations: 168.3 kB / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 0 / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1655, allocations: 32.08 kB / 488.7 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001621/0.1671, allocations: 1.167 MB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.1675, allocations: 139.9 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1675, allocations: 7.938 kB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1677, allocations: 75.89 kB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.168, allocations: 20.16 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1696, allocations: 1.004 MB / 491.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1698, allocations: 0.72 MB / 491.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.1699, allocations: 36.52 kB / 491.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.17, allocations: 43.42 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.17, allocations: 0 / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.1829, allocations: 3.118 MB / 495 MB, free: 7.633 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.1831, allocations: 222.1 kB / 495.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.104, allocations: 0 / 495.3 MB, free: 7.391 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat