Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000915/0.000915, allocations: 98.67 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 190.5 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, 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.2306/0.2306, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001986/0.1627, allocations: 1.307 MB / 482.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.1636, allocations: 491.2 kB / 483.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.1636, allocations: 4 kB / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.164, allocations: 127.7 kB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1642, allocations: 103.8 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1644, allocations: 75.84 kB / 483.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1646, allocations: 79.8 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1647, allocations: 15.98 kB / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.1648, allocations: 39.83 kB / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1649, allocations: 71.78 kB / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1649, allocations: 0 / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.165, allocations: 35.98 kB / 484 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.1651, allocations: 27.92 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.1651, allocations: 41.58 kB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1653, allocations: 88.14 kB / 484.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1653, allocations: 4 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1653, allocations: 0 / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1653, allocations: 0 / 484.1 MB, free: 2.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004613/0.1658, allocations: 426.6 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1658, allocations: 8.031 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1658, allocations: 34.56 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1659, allocations: 15.81 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1661, allocations: 198.8 kB / 484.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1661, allocations: 8 kB / 484.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1661, allocations: 0 / 484.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1662, allocations: 61.61 kB / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1662, allocations: 0 / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1663, allocations: 0 / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1663, allocations: 7.984 kB / 484.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.1664, allocations: 31.98 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.1668, allocations: 312.7 kB / 485.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.1669, allocations: 46.5 kB / 485.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.1669, allocations: 16.86 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.167, allocations: 8.078 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.167, allocations: 30.56 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.167, allocations: 0 / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000792/0.1678, allocations: 260.9 kB / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1678, allocations: 55.39 kB / 485.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.1681, allocations: 271.8 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1681, allocations: 33.7 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.1682, allocations: 116.1 kB / 486 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1682, allocations: 23.61 kB / 486 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.1682, allocations: 4 kB / 486 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1684, allocations: 330.8 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.1684, allocations: 31.92 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.1685, allocations: 27.98 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.1686, allocations: 27.98 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1686, allocations: 3.938 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001915/0.1688, allocations: 117.6 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1688, allocations: 4 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1688, allocations: 0 / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1689, allocations: 3.953 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.169, allocations: 19.98 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.169, allocations: 4 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.169, allocations: 11.91 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1691, allocations: 4.016 kB / 486.6 MB, free: 16 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 (8): * Single equations (assignments): 8 * 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.0001059/0.1692, allocations: 137.8 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1692, allocations: 11.91 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1695, allocations: 131 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1695, allocations: 7.953 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1695, allocations: 3.938 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1695, allocations: 3.984 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.17, allocations: 419.2 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.17, allocations: 0 / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.1701, allocations: 27.88 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1701, allocations: 0 / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1701, allocations: 4 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1701, allocations: 4 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1701, allocations: 0 / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1704, allocations: 216.7 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1705, allocations: 88.92 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1705, allocations: 3.953 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.1706, allocations: 20.41 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1706, allocations: 11.92 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1706, allocations: 4 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1708, allocations: 208.2 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1708, allocations: 0 / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1711, allocations: 19.98 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001531/0.1726, allocations: 1.095 MB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1728, allocations: 67.91 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1728, allocations: 0 / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.1729, allocations: 47.92 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1733, allocations: 23.47 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1747, allocations: 0.9059 MB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.175, allocations: 0.716 MB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1751, allocations: 20.95 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.1752, allocations: 35.42 kB / 490.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1752, allocations: 0 / 490.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1948, allocations: 2.927 MB / 493.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.1951, allocations: 226.4 kB / 494 MB, free: 8.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.073, allocations: 7.938 kB / 494 MB, free: 8.668 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat does not exist to compare? outputFormat=mat