Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001646, allocations: 188.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004745, allocations: 15.98 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 58.85 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003394/0.1603, allocations: 1.267 MB / 491.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1613, allocations: 260 kB / 491.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.1614, allocations: 3.938 kB / 491.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.1622, allocations: 431.2 kB / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.1627, allocations: 239.5 kB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.1632, allocations: 91.8 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1635, allocations: 107.8 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1636, allocations: 15.98 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1638, allocations: 95.8 kB / 492.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1641, allocations: 143.7 kB / 492.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1641, allocations: 0 / 492.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.1642, allocations: 19.92 kB / 493 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1644, allocations: 75.75 kB / 493 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.1644, allocations: 69.45 kB / 493.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1648, allocations: 175.7 kB / 493.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1648, allocations: 4 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1648, allocations: 0 / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1648, allocations: 4 kB / 493.3 MB, free: 6.254 MB / 330.7 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.0009044/0.1657, allocations: 0.5835 MB / 493.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1658, allocations: 8.031 kB / 493.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1658, allocations: 38.56 kB / 493.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.1659, allocations: 47.39 kB / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1663, allocations: 267.4 kB / 494.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1663, allocations: 8 kB / 494.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1664, allocations: 0 / 494.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1665, allocations: 49.62 kB / 494.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1666, allocations: 3.984 kB / 494.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1666, allocations: 4 kB / 494.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1666, allocations: 0 / 494.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1668, allocations: 23.98 kB / 494.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.1674, allocations: 384.7 kB / 494.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1675, allocations: 34.5 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1676, allocations: 4.062 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1676, allocations: 30.56 kB / 494.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 4.629e-06/0.1676, allocations: 4 kB / 494.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003959/0.168, allocations: 97.17 kB / 494.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1681, allocations: 51.41 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.1694, allocations: 0.8691 MB / 495.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1695, allocations: 25.7 kB / 495.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.1697, allocations: 242.6 kB / 496 MB, free: 3.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1697, allocations: 8.031 kB / 496 MB, free: 3.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.1697, allocations: 4 kB / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1699, allocations: 318.8 kB / 496.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.17, allocations: 11.92 kB / 496.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.1701, allocations: 8 kB / 496.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.1702, allocations: 15.98 kB / 496.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1702, allocations: 4.062 kB / 496.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002124/0.1704, allocations: 53.69 kB / 496.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1705, allocations: 7.438 kB / 496.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1705, allocations: 0 / 496.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1705, allocations: 0 / 496.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.1706, allocations: 7.953 kB / 496.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1706, allocations: 0 / 496.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1707, allocations: 19.89 kB / 496.5 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1708, allocations: 4 kB / 496.5 MB, free: 2.832 MB / 330.7 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 (2): * Single equations (assignments): 2 * 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.0003075/0.1711, allocations: 205.8 kB / 496.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1712, allocations: 47.38 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.1715, allocations: 104.6 kB / 496.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1715, allocations: 0 / 496.8 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.1715, allocations: 11.98 kB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1716, allocations: 0 / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.172, allocations: 277.6 kB / 497.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.172, allocations: 0 / 497.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.1721, allocations: 7.984 kB / 497.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1721, allocations: 4 kB / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1721, allocations: 0 / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1721, allocations: 0 / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1721, allocations: 0 / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1724, allocations: 198.9 kB / 497.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1725, allocations: 108.6 kB / 497.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.1726, allocations: 8 kB / 497.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1727, allocations: 0 / 497.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1728, allocations: 11.98 kB / 497.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1728, allocations: 0 / 497.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.1738, allocations: 0.655 MB / 498.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1738, allocations: 0 / 498.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.1742, allocations: 23.95 kB / 498.1 MB, free: 1.09 MB / 330.7 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 (2): * Single equations (assignments): 2 * 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.001517/0.1757, allocations: 0.973 MB / 499.1 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.176, allocations: 23.98 kB / 499.1 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.176, allocations: 4.062 kB / 499.1 MB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.1761, allocations: 12 kB / 499.1 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1765, allocations: 21.95 kB / 499.2 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.1809, allocations: 2.186 MB / 0.4896 GB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.1815, allocations: 0.8262 MB / 0.4904 GB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1817, allocations: 111.3 kB / 0.4905 GB, free: 12.85 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1817, allocations: 0 / 0.4905 GB, free: 12.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.051/3.233, allocations: 6.338 MB / 0.4967 GB, free: 6.508 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat