Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",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.002792/0.002799, allocations: 188.1 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.331/2.331, 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.001804/0.001804, allocations: 94.8 kB / 270.9 MB, free: 13.39 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.3146/0.3146, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000707/0.0007075, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1553, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003496/0.1589, allocations: 1.271 MB / 491.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1601, allocations: 267.9 kB / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1602, allocations: 0 / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1614, allocations: 435.2 kB / 492.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000691/0.1621, allocations: 243.5 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.1628, allocations: 91.81 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1632, allocations: 111.8 kB / 492.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1634, allocations: 16 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.1636, allocations: 95.78 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.164, allocations: 147.7 kB / 493 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1641, allocations: 0 / 493 MB, free: 6.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1642, allocations: 8 kB / 493 MB, free: 6.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.1644, allocations: 87.69 kB / 493.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1645, allocations: 69.44 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.165, allocations: 179.7 kB / 493.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1651, allocations: 4 kB / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1651, allocations: 0 / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1651, allocations: 0 / 493.3 MB, free: 6.23 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.001297/0.1664, allocations: 0.5952 MB / 493.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.1665, allocations: 12.03 kB / 493.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.1666, allocations: 30.56 kB / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1667, allocations: 47.33 kB / 494 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.1673, allocations: 279.4 kB / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1673, allocations: 0 / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1673, allocations: 7.984 kB / 494.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.1676, allocations: 49.69 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1677, allocations: 4 kB / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1677, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1677, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.168, allocations: 39.97 kB / 494.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.169, allocations: 384.7 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1693, allocations: 46.56 kB / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.1693, allocations: 0 / 494.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.1694, allocations: 34.56 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.1694, allocations: 0 / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007498/0.1702, allocations: 133.2 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1702, allocations: 51.41 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.1722, allocations: 0.8613 MB / 495.9 MB, free: 3.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1724, allocations: 29.7 kB / 495.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1727, allocations: 226.6 kB / 496.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.1728, allocations: 19.75 kB / 496.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1728, allocations: 3.938 kB / 496.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003113/0.1731, allocations: 314.8 kB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1734, allocations: 19.98 kB / 496.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1735, allocations: 16 kB / 496.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1737, allocations: 19.98 kB / 496.5 MB, free: 2.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.1737, allocations: 4 kB / 496.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004291/0.1742, allocations: 73.61 kB / 496.6 MB, free: 2.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.1742, allocations: 6.656 kB / 496.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1743, allocations: 0 / 496.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1743, allocations: 336 / 496.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1745, allocations: 15.98 kB / 496.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.1745, allocations: 7.953 kB / 496.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1747, allocations: 4 kB / 496.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1748, allocations: 4 kB / 496.6 MB, free: 2.707 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 (3): * Single equations (assignments): 3 * 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.0004831/0.1753, allocations: 217.7 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1754, allocations: 43.44 kB / 496.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.176, allocations: 129 kB / 497 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.1761, allocations: 0 / 497 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.1761, allocations: 7.938 kB / 497 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1761, allocations: 7.938 kB / 497 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.1768, allocations: 285.6 kB / 497.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1768, allocations: 0 / 497.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.177, allocations: 8 kB / 497.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.177, allocations: 0 / 497.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.177, allocations: 8 kB / 497.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1771, allocations: 0 / 497.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1771, allocations: 0 / 497.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.1777, allocations: 211 kB / 497.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1779, allocations: 112.5 kB / 497.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.178, allocations: 7.984 kB / 497.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1782, allocations: 8 kB / 497.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.1783, allocations: 0 / 497.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1783, allocations: 0 / 497.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001522/0.1798, allocations: 0.6511 MB / 498.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.1799, allocations: 3.938 kB / 498.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006325/0.1805, allocations: 19.98 kB / 498.3 MB, free: 0.9062 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 (3): * Single equations (assignments): 3 * 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.002542/0.1831, allocations: 0.9955 MB / 499.3 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.1836, allocations: 39.97 kB / 499.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1837, allocations: 0 / 499.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.1839, allocations: 31.92 kB / 499.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.1845, allocations: 18.14 kB / 499.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.1906, allocations: 2.214 MB / 0.4898 GB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.1912, allocations: 0.8262 MB / 0.4907 GB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.1915, allocations: 111.3 kB / 0.4908 GB, free: 12.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1915, allocations: 0 / 0.4908 GB, free: 12.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.872/3.064, allocations: 6.408 MB / 0.497 GB, free: 6.195 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat