Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 98.98 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.001546/0.001546, 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.405/1.405, 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.2037/0.2037, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002525, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1371, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002546/0.1397, allocations: 1.681 MB / 483.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1415, allocations: 1.041 MB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1416, allocations: 4 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1422, allocations: 259.3 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.1426, allocations: 223.4 kB / 484.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1439, allocations: 0.6014 MB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.1443, allocations: 295.1 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1444, allocations: 64.69 kB / 485.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1446, allocations: 119.5 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1448, allocations: 167.3 kB / 486.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1448, allocations: 7.984 kB / 486.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1449, allocations: 51.98 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1451, allocations: 87.66 kB / 486.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.1451, allocations: 73.45 kB / 486.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1454, allocations: 251.8 kB / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1454, allocations: 0 / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1454, allocations: 0 / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1454, allocations: 0 / 486.5 MB, free: 348 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.0007362/0.1462, allocations: 0.6378 MB / 487.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1462, allocations: 12.03 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1463, allocations: 38.56 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.1463, allocations: 47.38 kB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1467, allocations: 329.1 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1467, allocations: 15.94 kB / 487.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1467, allocations: 8 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.147, allocations: 125.6 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.147, allocations: 3.906 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.147, allocations: 8 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.147, allocations: 3.984 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.1472, allocations: 99.88 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.1479, allocations: 0.5237 MB / 488.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1481, allocations: 118.5 kB / 488.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1482, allocations: 36.84 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1482, allocations: 4 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1483, allocations: 38.5 kB / 488.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1483, allocations: 0 / 488.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009684/0.1492, allocations: 470.5 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1493, allocations: 55.41 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.1499, allocations: 0.5956 MB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.15, allocations: 29.7 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1501, allocations: 220.3 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1502, allocations: 51.19 kB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.1502, allocations: 8 kB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1503, allocations: 358.8 kB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1505, allocations: 67.86 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1506, allocations: 75.95 kB / 490.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1507, allocations: 71.97 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1507, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003482/0.1511, allocations: 243.2 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1511, allocations: 8 kB / 490.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1511, allocations: 4 kB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1511, allocations: 3.984 kB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1513, allocations: 31.98 kB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1513, allocations: 0 / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.1514, allocations: 19.89 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1514, allocations: 4 kB / 490.8 MB, free: 11.79 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.0001662/0.1516, allocations: 189.7 kB / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.1516, allocations: 43.44 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.1521, allocations: 285.8 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1522, allocations: 11.94 kB / 491.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1522, allocations: 0 / 491.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1522, allocations: 4 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008029/0.153, allocations: 0.7075 MB / 492.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.153, allocations: 4 kB / 492.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1531, allocations: 35.92 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1531, allocations: 4 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1531, allocations: 7.984 kB / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1531, allocations: 0 / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1531, allocations: 3.953 kB / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1535, allocations: 334.9 kB / 492.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.1536, allocations: 128.5 kB / 492.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1537, allocations: 4 kB / 492.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.1538, allocations: 11.98 kB / 492.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.1538, allocations: 19.92 kB / 492.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1539, allocations: 7.953 kB / 492.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004174/0.1543, allocations: 450.8 kB / 493.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1543, allocations: 0 / 493.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1546, allocations: 55.98 kB / 493.1 MB, free: 9.414 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.002087/0.1567, allocations: 1.452 MB / 494.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.157, allocations: 167.8 kB / 494.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.157, allocations: 0 / 494.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1572, allocations: 99.89 kB / 494.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1577, allocations: 72.2 kB / 494.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.1609, allocations: 2.267 MB / 497.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1613, allocations: 0.8262 MB / 498 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1615, allocations: 66.16 kB / 498.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1617, allocations: 139.4 kB / 498.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1617, allocations: 8 kB / 498.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1808, allocations: 7.183 MB / 0.4935 GB, free: 13.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.1811, allocations: 222.3 kB / 0.4938 GB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.12, allocations: 3.938 kB / 0.4938 GB, free: 13.19 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat