Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007987/0.0007988, allocations: 98.53 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.0008646/0.0008648, allocations: 192 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.377/1.377, 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.2171/0.2171, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002677, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002234/0.1527, allocations: 1.353 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1544, allocations: 1.078 MB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1544, allocations: 0 / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1546, allocations: 31.91 kB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1549, allocations: 59.77 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.1552, allocations: 111.8 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1553, allocations: 63.78 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1554, allocations: 11.98 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.1555, allocations: 27.91 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1557, allocations: 23.86 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1557, allocations: 4 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1559, allocations: 87.88 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.156, allocations: 19.91 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.156, allocations: 33.7 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1562, allocations: 104 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1562, allocations: 0 / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1562, allocations: 0 / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1562, allocations: 0 / 484.6 MB, free: 2.234 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.000541/0.1568, allocations: 415 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1568, allocations: 8.031 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.1569, allocations: 46.55 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1569, allocations: 7.906 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1571, allocations: 190.8 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1571, allocations: 8 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1572, allocations: 0 / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1573, allocations: 83.31 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1573, allocations: 0 / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1574, allocations: 4 kB / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1574, allocations: 0 / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1575, allocations: 47.97 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1579, allocations: 292.7 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.158, allocations: 50.5 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.1581, allocations: 28.94 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1582, allocations: 4 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1582, allocations: 30.56 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1582, allocations: 0 / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007512/0.1589, allocations: 249.2 kB / 486.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.159, allocations: 77.11 kB / 486.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1592, allocations: 152.8 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1592, allocations: 29.7 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1593, allocations: 99.98 kB / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1593, allocations: 27.77 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1593, allocations: 0 / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1595, allocations: 322.8 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1596, allocations: 35.98 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1597, allocations: 61.67 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1598, allocations: 35.98 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1598, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002707/0.1601, allocations: 133.5 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1601, allocations: 6.5 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1602, allocations: 3.953 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1602, allocations: 8 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1603, allocations: 19.98 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1603, allocations: 0 / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.1604, allocations: 15.98 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1604, allocations: 0 / 487.1 MB, free: 15.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.1605, allocations: 133.7 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1605, allocations: 7.906 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.1609, allocations: 142.5 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1609, allocations: 7.953 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1609, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1609, allocations: 3.984 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1614, allocations: 410.5 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1614, allocations: 0 / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.1615, allocations: 23.98 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1615, allocations: 3.953 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1615, allocations: 0 / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1616, allocations: 0 / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1616, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1619, allocations: 235.8 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1619, allocations: 89 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.162, allocations: 7.953 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.1621, allocations: 16 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1621, allocations: 11.92 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1621, allocations: 3.938 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1622, allocations: 121.7 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1622, allocations: 0 / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1625, allocations: 43.98 kB / 488.3 MB, free: 14.21 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 (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.001616/0.1642, allocations: 1.142 MB / 489.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.1645, allocations: 95.88 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1645, allocations: 0 / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1646, allocations: 47.97 kB / 489.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1649, allocations: 16 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1662, allocations: 0.6841 MB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1665, allocations: 0.6965 MB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.1665, allocations: 12.66 kB / 491 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.1666, allocations: 27.42 kB / 491 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1666, allocations: 8.094 kB / 491 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.1818, allocations: 3.011 MB / 494.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.182, allocations: 222.2 kB / 494.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.102, allocations: 0 / 494.3 MB, free: 8.402 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat does not exist to compare? outputFormat=mat