Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009445/0.0009446, allocations: 94.91 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246 MB, free: 10.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2759/0.2759, allocations: 45.92 MB / 344.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 63.48 MB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002153/0.1498, allocations: 1.307 MB / 483 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.1508, allocations: 0.4915 MB / 483.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.1508, allocations: 0 / 483.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.1514, allocations: 455.1 kB / 483.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.1518, allocations: 271.5 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1522, allocations: 155.2 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1524, allocations: 135.6 kB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1525, allocations: 15.98 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1526, allocations: 95.8 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1528, allocations: 167.7 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1529, allocations: 4 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.1529, allocations: 23.97 kB / 484.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.153, allocations: 87.69 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.1531, allocations: 61.52 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1533, allocations: 183.7 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1533, allocations: 3.938 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1534, allocations: 0 / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1534, allocations: 3.938 kB / 485.1 MB, free: 1.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007121/0.1541, allocations: 0.5951 MB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1541, allocations: 8.031 kB / 485.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.1542, allocations: 34.56 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1542, allocations: 39.52 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1546, allocations: 283.2 kB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1546, allocations: 8 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.1546, allocations: 0 / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1548, allocations: 45.69 kB / 486.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1548, allocations: 4 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1548, allocations: 3.938 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1548, allocations: 4 kB / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.1549, allocations: 31.97 kB / 486.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1555, allocations: 388.7 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.1556, allocations: 38.56 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.1557, allocations: 20.84 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1557, allocations: 0 / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1557, allocations: 30.56 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1557, allocations: 0 / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003141/0.1561, allocations: 109.2 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1561, allocations: 59.36 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.157, allocations: 0.8777 MB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1571, allocations: 25.7 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1573, allocations: 227.9 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1573, allocations: 7.938 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1573, allocations: 4.125 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1574, allocations: 362.8 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.1575, allocations: 11.94 kB / 488.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.1575, allocations: 15.98 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.1576, allocations: 11.98 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1576, allocations: 0 / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001501/0.1578, allocations: 97.19 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1578, allocations: 8 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1578, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1578, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.1579, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1579, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.158, allocations: 15.94 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.158, allocations: 4.031 kB / 488.4 MB, free: 14.18 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 (2): * Single equations (assignments): 2 * 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.0001817/0.1582, allocations: 205.8 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.1582, allocations: 51.36 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1584, allocations: 112.7 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1584, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1585, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1585, allocations: 8.031 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.1588, allocations: 289.5 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1588, allocations: 4 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.1588, allocations: 11.98 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1588, allocations: 0 / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1588, allocations: 0 / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1588, allocations: 0 / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1589, allocations: 0 / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1591, allocations: 202.9 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.1591, allocations: 112.5 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1592, allocations: 4 kB / 489.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1593, allocations: 3.984 kB / 489.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1593, allocations: 4 kB / 489.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1593, allocations: 0 / 489.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.1599, allocations: 0.6589 MB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1599, allocations: 4.031 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1602, allocations: 23.94 kB / 490.1 MB, free: 12.41 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 (2): * Single equations (assignments): 2 * 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.001215/0.1614, allocations: 0.9758 MB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1616, allocations: 27.92 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1616, allocations: 4.062 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.1616, allocations: 15.98 kB / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.162, allocations: 22.31 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.165, allocations: 2.292 MB / 493.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.1656, allocations: 0.8223 MB / 494.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1657, allocations: 16.16 kB / 494.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1658, allocations: 111.4 kB / 494.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1658, allocations: 0 / 494.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1841, allocations: 5.254 MB / 499.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1843, allocations: 216.8 kB / 499.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.223, allocations: 0 / 499.8 MB, free: 2.742 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat