Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.0009922/0.0009922, allocations: 101.8 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.0009343/0.0009343, allocations: 191.4 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.415/1.415, 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.2076/0.2076, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002848, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 63.48 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002657/0.1416, allocations: 1.68 MB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.1433, allocations: 0.9396 MB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1434, allocations: 4 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.144, allocations: 251.4 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.1445, allocations: 223.3 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1456, allocations: 444.8 kB / 485.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.146, allocations: 267.2 kB / 485.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1462, allocations: 60.69 kB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1463, allocations: 115.5 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1466, allocations: 167.3 kB / 485.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1466, allocations: 4 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1468, allocations: 87.95 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.147, allocations: 83.61 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.1471, allocations: 73.45 kB / 486 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1474, allocations: 247.8 kB / 486.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1474, allocations: 4 kB / 486.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1474, allocations: 4 kB / 486.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1475, allocations: 0 / 486.3 MB, free: 0.6016 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009254/0.1484, allocations: 0.6341 MB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1484, allocations: 12.03 kB / 486.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.1485, allocations: 34.56 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.1487, allocations: 39.53 kB / 487 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.1491, allocations: 320.9 kB / 487.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1491, allocations: 11.98 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1491, allocations: 15.91 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.1494, allocations: 109.5 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1494, allocations: 3.984 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1494, allocations: 8 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1495, allocations: 0 / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1496, allocations: 71.95 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.1503, allocations: 0.5041 MB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1505, allocations: 94.53 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.1506, allocations: 36.84 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1506, allocations: 4 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1507, allocations: 30.56 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1507, allocations: 0 / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001025/0.1517, allocations: 426.1 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1518, allocations: 51.41 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.1524, allocations: 0.5838 MB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1525, allocations: 29.7 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.1528, allocations: 212.3 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.1529, allocations: 63.19 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.1529, allocations: 4 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.1532, allocations: 358.7 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1533, allocations: 51.97 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1534, allocations: 51.97 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1536, allocations: 63.91 kB / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1536, allocations: 0 / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003457/0.1539, allocations: 203.3 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1539, allocations: 4 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.154, allocations: 3.938 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.154, allocations: 4 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1542, allocations: 43.97 kB / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1542, allocations: 0 / 490.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.1543, allocations: 8 kB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1543, allocations: 7.938 kB / 490.3 MB, free: 12.32 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.0001743/0.1545, allocations: 181.7 kB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.1545, allocations: 43.44 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.1551, allocations: 245.7 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1551, allocations: 0 / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1551, allocations: 4 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1551, allocations: 3.984 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.1561, allocations: 0.6492 MB / 491.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1561, allocations: 3.938 kB / 491.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1562, allocations: 43.91 kB / 491.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1563, allocations: 0 / 491.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1563, allocations: 8 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1563, allocations: 0 / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1563, allocations: 3.953 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.1568, allocations: 306.8 kB / 491.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1569, allocations: 124.6 kB / 491.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.157, allocations: 4 kB / 491.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1571, allocations: 11.98 kB / 491.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.1572, allocations: 15.94 kB / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1572, allocations: 4 kB / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005508/0.1578, allocations: 439.1 kB / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1578, allocations: 0 / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000357/0.1581, allocations: 55.89 kB / 492.4 MB, free: 10.1 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.002624/0.1608, allocations: 1.424 MB / 493.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.1611, allocations: 139.8 kB / 494 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1612, allocations: 0 / 494 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1613, allocations: 79.91 kB / 494.1 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1619, allocations: 75.72 kB / 494.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.165, allocations: 2.112 MB / 496.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.1657, allocations: 0.8145 MB / 497.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.1659, allocations: 54.23 kB / 497.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.1661, allocations: 135.4 kB / 497.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1661, allocations: 0 / 497.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1852, allocations: 6.955 MB / 0.4924 GB, free: 14.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1855, allocations: 226.8 kB / 0.4926 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.175, allocations: 0 / 0.4926 GB, free: 14.36 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat