Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008897/0.0008896, allocations: 96.64 kB / 17 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 193.8 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246 MB, free: 10.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003127, allocations: 11.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1461, allocations: 63.45 MB / 481.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002124/0.1483, allocations: 1.299 MB / 482.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1498, allocations: 1.058 MB / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.1499, allocations: 0 / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1501, allocations: 27.84 kB / 484 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1504, allocations: 63.83 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1506, allocations: 71.83 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1508, allocations: 59.84 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.1509, allocations: 4 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.151, allocations: 27.84 kB / 484.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1511, allocations: 27.86 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1511, allocations: 4 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1513, allocations: 83.88 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1514, allocations: 15.91 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1514, allocations: 37.64 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1516, allocations: 100.1 kB / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1516, allocations: 0 / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1516, allocations: 0 / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.1516, allocations: 0 / 484.5 MB, free: 2.32 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.0004652/0.1521, allocations: 399.1 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1521, allocations: 8.031 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1522, allocations: 34.56 kB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.1522, allocations: 7.906 kB / 484.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1524, allocations: 198.8 kB / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1524, allocations: 0 / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1524, allocations: 7.984 kB / 485.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1526, allocations: 63.39 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1526, allocations: 4 kB / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1526, allocations: 0 / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1526, allocations: 0 / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.1527, allocations: 27.98 kB / 485.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.1531, allocations: 280.8 kB / 485.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1533, allocations: 46.56 kB / 485.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.1534, allocations: 16.86 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1534, allocations: 0 / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1534, allocations: 30.56 kB / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1534, allocations: 0 / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005268/0.154, allocations: 165.3 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.154, allocations: 85.05 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1542, allocations: 150 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.1542, allocations: 25.7 kB / 486 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1543, allocations: 92.14 kB / 486.1 MB, free: 500 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1543, allocations: 15.8 kB / 486.1 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.1543, allocations: 0 / 486.1 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1545, allocations: 314.8 kB / 486.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.1546, allocations: 27.92 kB / 486.5 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.1546, allocations: 41.69 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.1547, allocations: 19.98 kB / 486.5 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1547, allocations: 4 kB / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.1549, allocations: 89.61 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.155, allocations: 10.12 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.155, allocations: 0 / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.155, allocations: 4 kB / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.1551, allocations: 11.98 kB / 486.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1551, allocations: 7.953 kB / 486.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1551, allocations: 11.94 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1551, allocations: 0 / 486.7 MB, free: 15.92 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 0.0001048/0.1552, allocations: 117.8 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1553, allocations: 7.906 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1555, allocations: 105.9 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1555, allocations: 7.984 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1555, allocations: 0 / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1555, allocations: 3.953 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.156, allocations: 358.4 kB / 487.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.156, allocations: 384 / 487.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.156, allocations: 19.98 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1561, allocations: 4 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1561, allocations: 0 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1561, allocations: 3.953 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1561, allocations: 0 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1563, allocations: 183.5 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1564, allocations: 93 kB / 487.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1564, allocations: 0 / 487.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1565, allocations: 7.984 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1565, allocations: 7.953 kB / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1565, allocations: 288 / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.1566, allocations: 115.2 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 4 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1569, allocations: 36 kB / 487.7 MB, free: 14.77 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.00146/0.1584, allocations: 1.1 MB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1586, allocations: 59.91 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1586, allocations: 0 / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.1587, allocations: 27.98 kB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.159, allocations: 19.94 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/0.16, allocations: 0.5551 MB / 489.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1602, allocations: 0.6887 MB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.1603, allocations: 20.38 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1604, allocations: 31.42 kB / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1604, allocations: 0 / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1745, allocations: 2.761 MB / 493 MB, free: 9.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1747, allocations: 233.7 kB / 493.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.065, allocations: 3.938 kB / 493.2 MB, free: 9.434 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat