Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.00108, allocations: 96.88 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 194.1 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001936/0.1563, allocations: 1.354 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1579, allocations: 1.105 MB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1579, allocations: 0 / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.1581, allocations: 23.86 kB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1584, allocations: 63.81 kB / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1587, allocations: 159.2 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1589, allocations: 67.77 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.159, allocations: 15.97 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.159, allocations: 23.86 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1592, allocations: 31.84 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1592, allocations: 4 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1593, allocations: 79.95 kB / 484.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1594, allocations: 23.91 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.1594, allocations: 33.64 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1596, allocations: 108.1 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1596, allocations: 4 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1596, allocations: 3.938 kB / 484.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1596, allocations: 0 / 484.7 MB, free: 2.148 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.0004812/0.1601, allocations: 399.1 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1602, allocations: 12.03 kB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.1602, allocations: 38.55 kB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1603, allocations: 15.8 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1605, allocations: 205.5 kB / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1605, allocations: 4 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1605, allocations: 4 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1607, allocations: 79.39 kB / 485.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1608, allocations: 4 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1608, allocations: 0 / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1608, allocations: 0 / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1609, allocations: 51.95 kB / 485.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1614, allocations: 320.7 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1615, allocations: 50.56 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.1616, allocations: 36.88 kB / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1616, allocations: 0 / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1616, allocations: 30.56 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1616, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007685/0.1624, allocations: 265.2 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1625, allocations: 81.11 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1626, allocations: 149.8 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1627, allocations: 33.64 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1627, allocations: 104 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1628, allocations: 15.72 kB / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.1628, allocations: 4 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1629, allocations: 322.8 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1631, allocations: 43.97 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1632, allocations: 69.73 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1633, allocations: 47.97 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1633, allocations: 0 / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002907/0.1636, allocations: 141.5 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1636, allocations: 7.984 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1637, allocations: 0 / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1637, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1638, allocations: 27.92 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1638, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.724e-05/0.1639, allocations: 15.98 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1639, allocations: 0 / 487.3 MB, free: 15.38 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.48e-05/0.164, allocations: 121.8 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.164, allocations: 11.86 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.1644, allocations: 158.3 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1644, allocations: 4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1644, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1644, allocations: 3.938 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.165, allocations: 438.4 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.165, allocations: 0 / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.1651, allocations: 23.92 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1651, allocations: 4 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1651, allocations: 0 / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1651, allocations: 3.938 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1651, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.1654, allocations: 243.2 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1655, allocations: 101.2 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1655, allocations: 0 / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1656, allocations: 15.98 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1657, allocations: 4 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1657, allocations: 7.984 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1658, allocations: 117.7 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1658, allocations: 0 / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1661, allocations: 43.98 kB / 488.5 MB, free: 14 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.001611/0.1677, allocations: 1.163 MB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.168, allocations: 103.9 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.168, allocations: 3.938 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1681, allocations: 59.89 kB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1684, allocations: 10.66 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1697, allocations: 0.7372 MB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.17, allocations: 0.7005 MB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.1701, allocations: 24.7 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.1702, allocations: 31.42 kB / 491.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1702, allocations: 0 / 491.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.185, allocations: 3.091 MB / 494.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.1852, allocations: 228.9 kB / 494.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.165, allocations: 3.375 kB / 494.7 MB, free: 8.016 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat