Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006665/0.0006666, allocations: 95.88 kB / 17.01 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.0008105/0.0008106, 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.454/1.454, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 45.92 MB / 344.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.000292, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002149/0.1435, allocations: 1.341 MB / 483 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.1444, allocations: 0.6486 MB / 483.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.1445, allocations: 0 / 483.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1447, allocations: 23.92 kB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1449, allocations: 31.89 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1449, allocations: 0 / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1451, allocations: 35.91 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.1451, allocations: 4 kB / 483.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.1451, allocations: 11.92 kB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.244e-05/0.1452, allocations: 27.92 kB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1453, allocations: 0 / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.1453, allocations: 15.98 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.1454, allocations: 11.94 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1454, allocations: 37.64 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1455, allocations: 56.12 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1455, allocations: 0 / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1455, allocations: 0 / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1456, allocations: 3.938 kB / 483.9 MB, free: 2.992 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.0003574/0.1459, allocations: 355.2 kB / 484.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.146, allocations: 16.03 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.146, allocations: 34.56 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.146, allocations: 3.906 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1462, allocations: 186.8 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1462, allocations: 3.938 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1462, allocations: 4 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.1464, allocations: 122.8 kB / 484.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1464, allocations: 0 / 484.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1465, allocations: 7.922 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.1465, allocations: 19.98 kB / 484.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1466, allocations: 47.91 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.1473, allocations: 0.8906 MB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.1474, allocations: 165.1 kB / 485.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.1475, allocations: 80.14 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1475, allocations: 79.28 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.1476, allocations: 109.9 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1476, allocations: 0 / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.482e-05/0.1477, allocations: 37.61 kB / 486 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.1478, allocations: 134.7 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.148, allocations: 182 kB / 486.3 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.148, allocations: 29.7 kB / 486.4 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1481, allocations: 151.1 kB / 486.5 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.1481, allocations: 11.98 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.1481, allocations: 0 / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1483, allocations: 318.8 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.1483, allocations: 31.97 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1485, allocations: 157.1 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.1486, allocations: 67.92 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1486, allocations: 0 / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003169/0.1489, allocations: 197.5 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.149, allocations: 11.95 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.149, allocations: 7.984 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.149, allocations: 7.938 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1491, allocations: 39.92 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1492, allocations: 4 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.1493, allocations: 23.78 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1493, allocations: 12 kB / 487.4 MB, free: 15.16 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.0001418/0.1494, allocations: 221.2 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.1495, allocations: 112.8 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.1496, allocations: 116.8 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.643e-05/0.1497, allocations: 192.2 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.1497, allocations: 180.2 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.1498, allocations: 180.2 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1501, allocations: 429.2 kB / 488.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/0.1501, allocations: 101 kB / 488.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.1502, allocations: 105 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.1503, allocations: 188.2 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.1503, allocations: 176.3 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000102/0.1504, allocations: 192.2 kB / 489.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-05/0.1505, allocations: 176.3 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1507, allocations: 315.6 kB / 490 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1509, allocations: 190 kB / 490.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.151, allocations: 184.2 kB / 490.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.1511, allocations: 105 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.1512, allocations: 188.2 kB / 490.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.1512, allocations: 101 kB / 490.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.821e-05/0.1513, allocations: 131.2 kB / 490.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1513, allocations: 0 / 490.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1517, allocations: 12 kB / 490.9 MB, free: 11.43 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.0007753/0.1524, allocations: 0.91 MB / 491.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1526, allocations: 76.97 kB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1526, allocations: 4.062 kB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1526, allocations: 3.938 kB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.153, allocations: 0.5301 MB / 492.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1542, allocations: 0.7606 MB / 493.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1545, allocations: 0.7047 MB / 493.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.1547, allocations: 49.02 kB / 493.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.1548, allocations: 23.44 kB / 494 MB, free: 8.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1548, allocations: 4 kB / 494 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1677, allocations: 1.915 MB / 495.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.1679, allocations: 226.8 kB / 496.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.962, allocations: 4 kB / 496.1 MB, free: 6.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat