Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.00108/0.001081, allocations: 98.42 kB / 17 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.001297/0.001297, allocations: 192.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.493/1.493, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003149, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001835/0.1455, allocations: 1.295 MB / 482.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1471, allocations: 1.062 MB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.1472, allocations: 4 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1474, allocations: 23.84 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.1477, allocations: 63.81 kB / 484.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.148, allocations: 71.48 kB / 484.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1482, allocations: 63.78 kB / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1483, allocations: 11.97 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.1484, allocations: 15.94 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1486, allocations: 39.83 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1486, allocations: 0 / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1487, allocations: 79.91 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.1488, allocations: 7.969 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1488, allocations: 37.64 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.149, allocations: 100.1 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.149, allocations: 0 / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.149, allocations: 0 / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.149, allocations: 0 / 484.5 MB, free: 2.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005065/0.1496, allocations: 399.1 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1496, allocations: 8.031 kB / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1497, allocations: 38.55 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1497, allocations: 3.906 kB / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1499, allocations: 206.7 kB / 485.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1499, allocations: 0 / 485.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1499, allocations: 0 / 485.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1501, allocations: 67.41 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1501, allocations: 4 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1501, allocations: 0 / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1502, allocations: 0 / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.042e-05/0.1502, allocations: 31.97 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1506, allocations: 276.8 kB / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.1508, allocations: 46.56 kB / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.1509, allocations: 20.94 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1509, allocations: 0 / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.151, allocations: 30.56 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.151, allocations: 0 / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005551/0.1515, allocations: 161.2 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1516, allocations: 81.06 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1517, allocations: 152 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1517, allocations: 25.7 kB / 486 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1518, allocations: 96.12 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.1518, allocations: 7.812 kB / 486.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.1518, allocations: 7.938 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.1519, allocations: 318.8 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.152, allocations: 23.98 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.1521, allocations: 37.7 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.1522, allocations: 19.98 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1522, allocations: 0 / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.1524, allocations: 93.61 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1524, allocations: 7.938 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1524, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1524, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.1525, allocations: 16.03 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1525, allocations: 7.891 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.1526, allocations: 8 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.1526, allocations: 7.938 kB / 486.7 MB, free: 15.97 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 (5): * Single equations (assignments): 5 * 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 9.541e-05/0.1527, allocations: 113.8 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1527, allocations: 7.906 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1529, allocations: 105.9 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.153, allocations: 4 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.153, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.153, allocations: 3.953 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.1534, allocations: 362.7 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1534, allocations: 0 / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.1535, allocations: 24.2 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1535, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1535, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1535, allocations: 3.953 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1535, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1537, allocations: 191.4 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1538, allocations: 89.02 kB / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1538, allocations: 3.984 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.1539, allocations: 4 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1539, allocations: 11.94 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1539, allocations: 0 / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.154, allocations: 111.3 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1541, allocations: 4 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.1543, allocations: 39.98 kB / 487.7 MB, free: 14.81 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 (5): * Single equations (assignments): 5 * 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.001553/0.1559, allocations: 1.09 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1561, allocations: 55.97 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1561, allocations: 3.938 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.1562, allocations: 24.11 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1565, allocations: 24.06 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.1575, allocations: 0.559 MB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1578, allocations: 0.6887 MB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1579, allocations: 16.12 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.1579, allocations: 31.42 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1579, allocations: 0 / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.1719, allocations: 2.764 MB / 493 MB, free: 9.742 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.1721, allocations: 229 kB / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.12, allocations: 4.062 kB / 493.2 MB, free: 9.492 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat