Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007928, allocations: 96.75 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008315/0.0008316, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 45.91 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 63.46 MB / 481.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002375/0.1447, allocations: 1.37 MB / 483 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.1457, allocations: 0.5187 MB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1458, allocations: 0 / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1461, allocations: 79.77 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1463, allocations: 83.77 kB / 483.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1467, allocations: 162.8 kB / 483.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1469, allocations: 75.77 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.147, allocations: 24.16 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.1471, allocations: 39.83 kB / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.1472, allocations: 39.78 kB / 484 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1472, allocations: 4 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1473, allocations: 47.97 kB / 484.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.1474, allocations: 23.92 kB / 484.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1474, allocations: 37.62 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1476, allocations: 92.08 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1476, allocations: 4 kB / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1476, allocations: 4 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1476, allocations: 0 / 484.2 MB, free: 2.691 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.0005722/0.1482, allocations: 414.8 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1482, allocations: 12.03 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1483, allocations: 34.55 kB / 484.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1483, allocations: 15.81 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1486, allocations: 211.3 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1486, allocations: 7.938 kB / 484.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1487, allocations: 4 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1488, allocations: 73.61 kB / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1489, allocations: 0 / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1489, allocations: 0 / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1489, allocations: 0 / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.149, allocations: 55.95 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.1496, allocations: 332.7 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1498, allocations: 62.55 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.1499, allocations: 32.97 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1499, allocations: 0 / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1499, allocations: 34.55 kB / 485.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.15, allocations: 4 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001442/0.1514, allocations: 0.4895 MB / 486 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1515, allocations: 59.41 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1517, allocations: 214.7 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1517, allocations: 33.7 kB / 486.3 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.1518, allocations: 112 kB / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1518, allocations: 31.47 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.1518, allocations: 4 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.152, allocations: 330.8 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1521, allocations: 63.91 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.1523, allocations: 63.89 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1525, allocations: 67.97 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1525, allocations: 3.984 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003345/0.1528, allocations: 177.5 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1528, allocations: 7.953 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1528, allocations: 8 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1529, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.153, allocations: 27.98 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.153, allocations: 7.922 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.1531, allocations: 16 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1531, allocations: 8 kB / 487.2 MB, free: 15.49 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 0.0001156/0.1532, allocations: 129.8 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1532, allocations: 11.81 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.1537, allocations: 211.3 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1537, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1537, allocations: 4 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1537, allocations: 0 / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.1544, allocations: 0.5272 MB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1544, allocations: 0 / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.876e-05/0.1545, allocations: 27.98 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1545, allocations: 4 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1545, allocations: 0 / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1545, allocations: 4 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1545, allocations: 3.938 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.1549, allocations: 293 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.155, allocations: 101 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1551, allocations: 0 / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.1552, allocations: 19.98 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.1552, allocations: 7.984 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1552, allocations: 4 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1554, allocations: 168.3 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1554, allocations: 4 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1557, allocations: 31.98 kB / 488.7 MB, free: 13.85 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.001647/0.1573, allocations: 1.168 MB / 489.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1577, allocations: 147.8 kB / 490 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1577, allocations: 0 / 490 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1579, allocations: 75.83 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1582, allocations: 20.39 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1599, allocations: 1.008 MB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.1603, allocations: 0.72 MB / 491.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1604, allocations: 36.52 kB / 491.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.1605, allocations: 43.41 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1605, allocations: 4 kB / 491.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.1757, allocations: 3.12 MB / 495.1 MB, free: 7.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.176, allocations: 214.8 kB / 495.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.072, allocations: 4.062 kB / 495.3 MB, free: 7.438 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat