Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008093/0.0008094, allocations: 99.55 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.001034/0.001034, 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.459/1.459, 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.2282/0.2282, allocations: 45.92 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003736, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003052/0.1563, allocations: 1.369 MB / 483 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1587, allocations: 1.074 MB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1589, allocations: 0 / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1591, allocations: 23.86 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.1596, allocations: 67.75 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.1602, allocations: 115.7 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1605, allocations: 63.77 kB / 484.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1606, allocations: 12 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.1607, allocations: 23.91 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1609, allocations: 31.84 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1609, allocations: 0 / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.1612, allocations: 87.88 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.1613, allocations: 11.92 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1613, allocations: 41.69 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1617, allocations: 108 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1617, allocations: 0 / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1617, allocations: 4 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1617, allocations: 0 / 484.7 MB, free: 2.18 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.0006984/0.1624, allocations: 403.1 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1625, allocations: 12.03 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.1625, allocations: 30.56 kB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1626, allocations: 11.91 kB / 485.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1629, allocations: 194.8 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1629, allocations: 4 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.163, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.1632, allocations: 87.31 kB / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1633, allocations: 0 / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1633, allocations: 4 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1633, allocations: 0 / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.1635, allocations: 39.97 kB / 485.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.1641, allocations: 296.7 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1643, allocations: 50.5 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1644, allocations: 28.94 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1645, allocations: 3.984 kB / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1645, allocations: 34.56 kB / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.1645, allocations: 0 / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001122/0.1656, allocations: 237.2 kB / 486.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1657, allocations: 81.11 kB / 486.1 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.166, allocations: 160.8 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.166, allocations: 25.7 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.1661, allocations: 108 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1662, allocations: 15.72 kB / 486.4 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.1662, allocations: 4 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1664, allocations: 318.8 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1665, allocations: 43.97 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1666, allocations: 53.69 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1668, allocations: 51.88 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1668, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000444/0.1673, allocations: 121.6 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1673, allocations: 4 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1673, allocations: 8.234 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1673, allocations: 3.984 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.1675, allocations: 19.98 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1675, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1677, allocations: 23.98 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1677, allocations: 0 / 487.1 MB, free: 15.5 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 0.0001503/0.1679, allocations: 125.7 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1679, allocations: 11.89 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005671/0.1685, allocations: 142.6 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1685, allocations: 3.953 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1686, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1686, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.1694, allocations: 410.5 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.1694, allocations: 4 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1696, allocations: 35.97 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.1696, allocations: 3.953 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1696, allocations: 0 / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1696, allocations: 0 / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1696, allocations: 0 / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.1702, allocations: 231.3 kB / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.1702, allocations: 89 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1703, allocations: 7.953 kB / 488.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1705, allocations: 15.98 kB / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1706, allocations: 7.938 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1706, allocations: 3.984 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1707, allocations: 121.7 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1707, allocations: 0 / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.1711, allocations: 39.98 kB / 488.3 MB, free: 14.18 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.002558/0.1736, allocations: 1.141 MB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.1741, allocations: 99.86 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1741, allocations: 0 / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1743, allocations: 47.97 kB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.1748, allocations: 19.98 kB / 489.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1768, allocations: 0.6721 MB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1772, allocations: 0.6966 MB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.1773, allocations: 20.59 kB / 491 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1774, allocations: 31.42 kB / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1774, allocations: 0 / 491 MB, free: 11.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.1967, allocations: 3.026 MB / 494.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.197, allocations: 225.5 kB / 494.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.139, allocations: 0 / 494.3 MB, free: 8.359 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat