Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009334/0.0009334, allocations: 91.67 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008986/0.0008986, allocations: 194.5 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.404/1.404, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003188, allocations: 11.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.47 MB / 481.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00285/0.1362, allocations: 1.685 MB / 483.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1383, allocations: 1.049 MB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.1385, allocations: 4 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.1391, allocations: 255.3 kB / 484.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.1397, allocations: 219.4 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1415, allocations: 0.6049 MB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.142, allocations: 291.1 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1422, allocations: 64.69 kB / 485.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1425, allocations: 119.5 kB / 485.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.1427, allocations: 167.3 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1428, allocations: 7.984 kB / 486.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1431, allocations: 83.97 kB / 486.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.1432, allocations: 87.67 kB / 486.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1433, allocations: 73.45 kB / 486.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.1437, allocations: 259.8 kB / 486.6 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1437, allocations: 3.984 kB / 486.6 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1437, allocations: 0 / 486.6 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1437, allocations: 3.938 kB / 486.6 MB, free: 268 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001168/0.1449, allocations: 0.6301 MB / 487.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.145, allocations: 12.03 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.145, allocations: 50.55 kB / 487.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.1451, allocations: 43.44 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.1457, allocations: 332.9 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1458, allocations: 11.94 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1458, allocations: 8 kB / 487.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1461, allocations: 129.5 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1461, allocations: 7.906 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1462, allocations: 0 / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1462, allocations: 0 / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1464, allocations: 103.9 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.1472, allocations: 0.5159 MB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1475, allocations: 118.5 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.112e-05/0.1475, allocations: 40.84 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.1476, allocations: 11.97 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1476, allocations: 34.5 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.286e-06/0.1476, allocations: 3.984 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00113/0.1488, allocations: 474.1 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.1489, allocations: 51.41 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.1495, allocations: 0.5995 MB / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1496, allocations: 29.7 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1497, allocations: 216.3 kB / 490 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.1498, allocations: 59.19 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-06/0.1498, allocations: 4 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.15, allocations: 354.8 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1501, allocations: 71.86 kB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1503, allocations: 75.95 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1504, allocations: 71.97 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1504, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003932/0.1508, allocations: 247.5 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1508, allocations: 8 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1509, allocations: 0 / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1509, allocations: 0 / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1511, allocations: 31.98 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1511, allocations: 3.984 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.1512, allocations: 15.91 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1512, allocations: 4 kB / 490.9 MB, free: 11.71 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 (17): * Single equations (assignments): 17 * 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.0002432/0.1514, allocations: 189.7 kB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.1515, allocations: 43.44 kB / 491.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.1521, allocations: 285.8 kB / 491.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1521, allocations: 7.938 kB / 491.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1521, allocations: 0 / 491.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1521, allocations: 3.938 kB / 491.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1531, allocations: 0.7113 MB / 492.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1531, allocations: 0 / 492.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1533, allocations: 43.91 kB / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1533, allocations: 0 / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1533, allocations: 0 / 492.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1533, allocations: 4 kB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1533, allocations: 3.953 kB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.1537, allocations: 334.9 kB / 492.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.1538, allocations: 132.5 kB / 492.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.1539, allocations: 4 kB / 492.6 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.154, allocations: 11.98 kB / 492.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1541, allocations: 7.984 kB / 492.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1541, allocations: 19.89 kB / 492.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.1546, allocations: 446.8 kB / 493.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1546, allocations: 0 / 493.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.155, allocations: 48 kB / 493.2 MB, free: 9.344 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 (17): * Single equations (assignments): 17 * 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.002249/0.1572, allocations: 1.462 MB / 494.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.1577, allocations: 175.8 kB / 494.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1577, allocations: 0 / 494.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1579, allocations: 98.08 kB / 494.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.1584, allocations: 69.83 kB / 495 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.1619, allocations: 2.259 MB / 497.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.1625, allocations: 0.8301 MB / 498 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.1627, allocations: 70.22 kB / 498.1 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1629, allocations: 143.3 kB / 498.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1629, allocations: 0 / 498.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.1827, allocations: 7.192 MB / 0.4936 GB, free: 13.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/0.1831, allocations: 224.9 kB / 0.4938 GB, free: 13.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.155, allocations: 0 / 0.4938 GB, free: 13.1 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat