Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",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.001542/0.001542, allocations: 189.2 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.276/2.276, 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.001195/0.001195, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.3004/0.3004, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002487/0.1645, allocations: 1.256 MB / 491.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.1653, allocations: 287.8 kB / 491.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.1654, allocations: 4 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.1658, allocations: 99.73 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.166, allocations: 59.91 kB / 492 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1664, allocations: 83.77 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1666, allocations: 51.86 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1667, allocations: 15.98 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1668, allocations: 27.91 kB / 492.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1669, allocations: 51.83 kB / 492.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.167, allocations: 0 / 492.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.1671, allocations: 19.92 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1671, allocations: 23.97 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1672, allocations: 33.64 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1674, allocations: 72.12 kB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1674, allocations: 0 / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1674, allocations: 4 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1674, allocations: 3.938 kB / 492.4 MB, free: 7.133 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.0006045/0.168, allocations: 402.8 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1681, allocations: 8.031 kB / 492.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.1682, allocations: 30.56 kB / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1682, allocations: 15.86 kB / 492.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1685, allocations: 198.9 kB / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1685, allocations: 0 / 493 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1685, allocations: 8 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1687, allocations: 45.69 kB / 493.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1688, allocations: 4 kB / 493.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1688, allocations: 3.938 kB / 493.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1688, allocations: 0 / 493.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.169, allocations: 23.98 kB / 493.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.1695, allocations: 300.8 kB / 493.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1698, allocations: 46.55 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1698, allocations: 3.938 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1698, allocations: 34.56 kB / 493.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.717e-06/0.1699, allocations: 4 kB / 493.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009046/0.1708, allocations: 181.1 kB / 493.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.1708, allocations: 55.41 kB / 493.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.1712, allocations: 238.7 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1713, allocations: 29.7 kB / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1714, allocations: 166.5 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1714, allocations: 23.73 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1714, allocations: 0 / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1716, allocations: 314.8 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1717, allocations: 23.98 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1719, allocations: 27.98 kB / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.172, allocations: 23.98 kB / 494.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.172, allocations: 0 / 494.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003353/0.1724, allocations: 93.84 kB / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1724, allocations: 7.438 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.1724, allocations: 8 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1725, allocations: 3.953 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1726, allocations: 19.92 kB / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1726, allocations: 0 / 494.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.1727, allocations: 8 kB / 494.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1727, allocations: 4 kB / 494.7 MB, free: 4.602 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 (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.0001449/0.1729, allocations: 129.8 kB / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.1729, allocations: 11.81 kB / 494.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.1733, allocations: 114.6 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.1734, allocations: 0 / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1734, allocations: 7.891 kB / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1734, allocations: 0 / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.1741, allocations: 370.5 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1741, allocations: 3.984 kB / 495.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1742, allocations: 16 kB / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1742, allocations: 0 / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1743, allocations: 3.953 kB / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1743, allocations: 0 / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1743, allocations: 0 / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1747, allocations: 195.4 kB / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.1748, allocations: 96.91 kB / 495.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1748, allocations: 4.125 kB / 495.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1749, allocations: 11.95 kB / 495.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.175, allocations: 7.984 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.175, allocations: 0 / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1753, allocations: 188.3 kB / 495.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1753, allocations: 8 kB / 495.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.1756, allocations: 12 kB / 495.9 MB, free: 3.344 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 (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.001781/0.1774, allocations: 1.014 MB / 496.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.1778, allocations: 63.97 kB / 496.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1778, allocations: 0 / 496.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1779, allocations: 35.92 kB / 497 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1783, allocations: 16.12 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1802, allocations: 0.7988 MB / 497.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1806, allocations: 0.72 MB / 498.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.1807, allocations: 31.42 kB / 498.5 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1807, allocations: 0 / 498.5 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.981/3.162, allocations: 2.208 MB / 0.489 GB, free: 14.4 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat does not exist to compare? outputFormat=mat