Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",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.002422/0.002422, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.214/2.214, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001127/0.001127, allocations: 88.62 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5437/0.5437, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004811, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1732, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003561/0.1768, allocations: 1.301 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1782, allocations: 295.8 kB / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1783, allocations: 0 / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1787, allocations: 63.83 kB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.179, allocations: 55.81 kB / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/0.18, allocations: 139.7 kB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1802, allocations: 47.94 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1804, allocations: 27.83 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.1805, allocations: 31.84 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1807, allocations: 27.91 kB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1807, allocations: 4 kB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1809, allocations: 27.86 kB / 492.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.181, allocations: 19.92 kB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1811, allocations: 33.7 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1814, allocations: 80.09 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1814, allocations: 7.938 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1814, allocations: 0 / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1815, allocations: 0 / 492.5 MB, free: 8.965 MB / 378.7 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.0008775/0.1823, allocations: 398.9 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.1824, allocations: 11.97 kB / 492.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.1825, allocations: 38.55 kB / 492.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.1826, allocations: 19.77 kB / 492.9 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.183, allocations: 195.6 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.183, allocations: 4 kB / 493.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.1831, allocations: 4 kB / 493.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1834, allocations: 65.61 kB / 493.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1835, allocations: 0 / 493.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1835, allocations: 3.984 kB / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1835, allocations: 0 / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.1839, allocations: 55.92 kB / 493.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008815/0.1848, allocations: 312.8 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.1851, allocations: 58.5 kB / 493.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1852, allocations: 4.078 kB / 493.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1853, allocations: 30.56 kB / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.306e-06/0.1853, allocations: 0 / 493.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001915/0.1872, allocations: 276.9 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.1873, allocations: 51.41 kB / 494 MB, free: 7.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1878, allocations: 214.4 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1878, allocations: 25.7 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.188, allocations: 166.5 kB / 494.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1881, allocations: 31.59 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.1881, allocations: 0 / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1883, allocations: 314.8 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.1887, allocations: 47.95 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1891, allocations: 47.97 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1894, allocations: 43.97 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1894, allocations: 0 / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008002/0.1903, allocations: 141.5 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.1903, allocations: 7.953 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1903, allocations: 3.984 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.1904, allocations: 4 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.1907, allocations: 23.98 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1907, allocations: 0 / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.1909, allocations: 19.98 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.191, allocations: 4.25 kB / 495 MB, free: 6.172 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0002239/0.1912, allocations: 129.8 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.1913, allocations: 15.91 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008983/0.1922, allocations: 170.9 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.1923, allocations: 4 kB / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1923, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1923, allocations: 0 / 495.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1937, allocations: 426.5 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.1938, allocations: 3.953 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1941, allocations: 31.91 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.1941, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1941, allocations: 4 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1941, allocations: 0 / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1942, allocations: 0 / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.195, allocations: 243.3 kB / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1952, allocations: 88.97 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.1952, allocations: 0 / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1955, allocations: 19.98 kB / 496.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.1956, allocations: 3.984 kB / 496.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1956, allocations: 4 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.1959, allocations: 155.2 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1959, allocations: 0 / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005933/0.1965, allocations: 27.98 kB / 496.3 MB, free: 4.762 MB / 378.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 (7): * Single equations (assignments): 7 * 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.003013/0.1996, allocations: 1.077 MB / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.2005, allocations: 111.9 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2005, allocations: 0 / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.2009, allocations: 47.97 kB / 497.6 MB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.2014, allocations: 19.98 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.2046, allocations: 0.8651 MB / 498.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.2052, allocations: 0.7199 MB / 499.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2054, allocations: 31.42 kB / 499.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2054, allocations: 0 / 499.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.073/3.279, allocations: 2.377 MB / 0.4898 GB, free: 42.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat