Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000942/0.0009421, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, 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.2387/0.2387, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 11.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 63.46 MB / 481.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002317/0.1448, allocations: 1.353 MB / 483 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.1457, allocations: 0.6369 MB / 483.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.1457, allocations: 0 / 483.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.146, allocations: 27.91 kB / 483.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1462, allocations: 27.91 kB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.688e-06/0.1462, allocations: 4 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1463, allocations: 39.89 kB / 483.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1464, allocations: 0 / 483.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.1464, allocations: 15.92 kB / 483.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.1465, allocations: 27.92 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1465, allocations: 0 / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.184e-05/0.1466, allocations: 8 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.1466, allocations: 19.91 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1467, allocations: 29.7 kB / 483.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1468, allocations: 60.09 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1468, allocations: 0 / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1468, allocations: 0 / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1468, allocations: 3.938 kB / 483.9 MB, free: 2.938 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003822/0.1472, allocations: 351.2 kB / 484.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1473, allocations: 8.031 kB / 484.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.1473, allocations: 46.53 kB / 484.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1474, allocations: 7.906 kB / 484.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1475, allocations: 170.9 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1475, allocations: 4 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1475, allocations: 8 kB / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1477, allocations: 130.7 kB / 484.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1478, allocations: 0 / 484.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1478, allocations: 7.938 kB / 484.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.1478, allocations: 31.91 kB / 484.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.1479, allocations: 39.92 kB / 484.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.1485, allocations: 0.8906 MB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.1486, allocations: 165.1 kB / 485.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.1487, allocations: 88.14 kB / 485.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1487, allocations: 75.28 kB / 485.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.1488, allocations: 109.9 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.784e-06/0.1488, allocations: 7.938 kB / 486 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.061e-05/0.1488, allocations: 33.61 kB / 486 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1489, allocations: 126.7 kB / 486.2 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1491, allocations: 190 kB / 486.3 MB, free: 240 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1491, allocations: 25.7 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.1492, allocations: 155.1 kB / 486.5 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.1492, allocations: 0 / 486.5 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1492, allocations: 8 kB / 486.5 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1494, allocations: 322.8 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.1494, allocations: 27.98 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1496, allocations: 159.5 kB / 487 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1497, allocations: 63.91 kB / 487.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1497, allocations: 4 kB / 487.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003083/0.15, allocations: 189.2 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.1501, allocations: 15.89 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1501, allocations: 4 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1501, allocations: 12.56 kB / 487.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1503, allocations: 39.92 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1503, allocations: 11.98 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.1504, allocations: 19.78 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1504, allocations: 12 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001427/0.1505, allocations: 213 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1506, allocations: 108.9 kB / 487.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1507, allocations: 124.8 kB / 487.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.869e-05/0.1508, allocations: 184.2 kB / 488 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.746e-05/0.1509, allocations: 180.2 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.1509, allocations: 176.3 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.1512, allocations: 421.2 kB / 488.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.1513, allocations: 108.9 kB / 488.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1513, allocations: 105 kB / 489 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-05/0.1514, allocations: 188.2 kB / 489.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.1514, allocations: 176.3 kB / 489.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.489e-05/0.1515, allocations: 188.2 kB / 489.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-05/0.1516, allocations: 184.2 kB / 489.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1518, allocations: 319.6 kB / 490 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1518, allocations: 186 kB / 490.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.1519, allocations: 184.2 kB / 490.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.152, allocations: 101 kB / 490.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.1521, allocations: 180.2 kB / 490.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.1521, allocations: 116.9 kB / 490.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1522, allocations: 131.2 kB / 490.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1522, allocations: 0 / 490.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1525, allocations: 16 kB / 490.9 MB, free: 11.37 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 (0): * Single equations (assignments): 0 * 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.0007283/0.1533, allocations: 0.8998 MB / 491.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1534, allocations: 67.78 kB / 491.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1534, allocations: 0 / 491.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.1534, allocations: 7.875 kB / 491.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1538, allocations: 0.5378 MB / 492.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/0.1548, allocations: 0.7585 MB / 493.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.155, allocations: 0.697 MB / 493.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1552, allocations: 53.02 kB / 493.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1553, allocations: 27.36 kB / 494 MB, free: 8.203 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1553, allocations: 0 / 494 MB, free: 8.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1682, allocations: 1.925 MB / 495.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.1684, allocations: 222 kB / 496.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.983, allocations: 0 / 496.1 MB, free: 6.145 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat does not exist to compare? outputFormat=mat