Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001071/0.001071, allocations: 96.3 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.001393/0.001393, 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.382/1.382, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 15.92 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.001952/0.1508, allocations: 1.373 MB / 483 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007882/0.1516, allocations: 0.4914 MB / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.1517, allocations: 4 kB / 483.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.1519, allocations: 71.83 kB / 483.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1521, allocations: 75.8 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1524, allocations: 115.2 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1525, allocations: 75.75 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.1526, allocations: 16.23 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.1527, allocations: 39.83 kB / 483.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.1528, allocations: 35.83 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1528, allocations: 4 kB / 483.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.1529, allocations: 43.98 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.153, allocations: 19.92 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.153, allocations: 41.62 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1531, allocations: 88.08 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1531, allocations: 0 / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1531, allocations: 7.938 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1532, allocations: 0 / 484.1 MB, free: 2.734 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.0005181/0.1537, allocations: 422.8 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1537, allocations: 8.031 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1538, allocations: 34.5 kB / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1538, allocations: 11.91 kB / 484.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.154, allocations: 202.7 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.154, allocations: 8 kB / 484.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.154, allocations: 4 kB / 484.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1542, allocations: 65.67 kB / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1542, allocations: 0 / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1542, allocations: 15.92 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1542, allocations: 0 / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1544, allocations: 43.97 kB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1547, allocations: 308.7 kB / 485.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1549, allocations: 66.58 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.155, allocations: 28.97 kB / 485.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.155, allocations: 0 / 485.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1551, allocations: 34.56 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1551, allocations: 0 / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00129/0.1564, allocations: 469.1 kB / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1564, allocations: 55.34 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1566, allocations: 226.9 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1566, allocations: 25.7 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1567, allocations: 112 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1567, allocations: 35.45 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.1567, allocations: 8 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1569, allocations: 322.8 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.157, allocations: 51.97 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1571, allocations: 47.97 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1572, allocations: 55.97 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1572, allocations: 0 / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002926/0.1575, allocations: 161.4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1576, allocations: 11.95 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1576, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1576, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1577, allocations: 39.84 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1577, allocations: 4 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.1578, allocations: 11.98 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1578, allocations: 8 kB / 487 MB, free: 15.67 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 9.005e-05/0.1579, allocations: 125.8 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1579, allocations: 11.81 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.1583, allocations: 195.3 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1583, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1583, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1583, allocations: 3.984 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.1589, allocations: 499.9 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1589, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-05/0.159, allocations: 36.03 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.159, allocations: 3.984 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.159, allocations: 0 / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.159, allocations: 4 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1591, allocations: 0 / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1594, allocations: 265 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1594, allocations: 96.88 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.1595, allocations: 8 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.1596, allocations: 11.98 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1596, allocations: 15.98 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1596, allocations: 0 / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1597, allocations: 168.3 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1598, allocations: 0 / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.16, allocations: 24 kB / 488.4 MB, free: 14.11 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.001397/0.1614, allocations: 1.151 MB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.1617, allocations: 119.8 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1617, allocations: 4 kB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1619, allocations: 71.89 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1622, allocations: 19.98 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1635, allocations: 0.9292 MB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1638, allocations: 0.7199 MB / 491.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.1638, allocations: 12.56 kB / 491.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.1639, allocations: 39.42 kB / 491.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1639, allocations: 0 / 491.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.1767, allocations: 2.992 MB / 494.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.177, allocations: 218.8 kB / 494.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.065, allocations: 3.938 kB / 494.7 MB, free: 7.977 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat does not exist to compare? outputFormat=mat