Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16",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.002482/0.002488, allocations: 182.5 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.22/2.22, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001226/0.001225, allocations: 101.4 kB / 270.9 MB, free: 8.359 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.5592/0.5592, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.000504, allocations: 12 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1738, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002792/0.1767, allocations: 1.259 MB / 491.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000923/0.1777, allocations: 283.9 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.1778, allocations: 3.938 kB / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1782, allocations: 67.83 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1784, allocations: 51.88 kB / 492 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1789, allocations: 83.77 kB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1791, allocations: 51.88 kB / 492.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1792, allocations: 11.98 kB / 492.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.1793, allocations: 31.89 kB / 492.1 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1795, allocations: 31.91 kB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1795, allocations: 0 / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1796, allocations: 23.98 kB / 492.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.1797, allocations: 15.86 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1797, allocations: 37.64 kB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1799, allocations: 64.12 kB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1799, allocations: 4 kB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.18, allocations: 0 / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.18, allocations: 0 / 492.3 MB, free: 9.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006346/0.1806, allocations: 394.5 kB / 492.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.1807, allocations: 8.031 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.1808, allocations: 38.55 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1808, allocations: 11.86 kB / 492.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1811, allocations: 190.8 kB / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1811, allocations: 8 kB / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1812, allocations: 0 / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1814, allocations: 53.67 kB / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1814, allocations: 0 / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1814, allocations: 0 / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1814, allocations: 7.953 kB / 493 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1816, allocations: 23.98 kB / 493 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1822, allocations: 292.9 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1825, allocations: 42.56 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1825, allocations: 0 / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1826, allocations: 34.56 kB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.255e-06/0.1826, allocations: 0 / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009261/0.1835, allocations: 185.2 kB / 493.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1836, allocations: 55.41 kB / 493.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1839, allocations: 202.2 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.184, allocations: 29.7 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1841, allocations: 158.6 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1841, allocations: 23.7 kB / 494 MB, free: 7.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1841, allocations: 0 / 494 MB, free: 7.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1843, allocations: 310.8 kB / 494.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1845, allocations: 27.98 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1846, allocations: 27.92 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1848, allocations: 31.97 kB / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1848, allocations: 0 / 494.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003554/0.1852, allocations: 85.67 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1852, allocations: 7.953 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1852, allocations: 0 / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1853, allocations: 0 / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1854, allocations: 19.98 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1854, allocations: 0 / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/0.1855, allocations: 8 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1855, allocations: 7.938 kB / 494.6 MB, free: 6.629 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 (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.0001611/0.1857, allocations: 129.8 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.1858, allocations: 7.906 kB / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.1862, allocations: 113.9 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1863, allocations: 0 / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1863, allocations: 4 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1863, allocations: 0 / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.187, allocations: 374.4 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1871, allocations: 4 kB / 495.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1872, allocations: 20.31 kB / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1872, allocations: 288 / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1872, allocations: 0 / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.1873, allocations: 4 kB / 495.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1873, allocations: 0 / 495.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.1877, allocations: 199.3 kB / 495.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1878, allocations: 89.02 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1878, allocations: 3.953 kB / 495.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.188, allocations: 11.92 kB / 495.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.188, allocations: 7.938 kB / 495.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1881, allocations: 0 / 495.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002276/0.1883, allocations: 168 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1883, allocations: 0 / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.1887, allocations: 23.98 kB / 495.7 MB, free: 5.387 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 (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.001999/0.1907, allocations: 1.014 MB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.1912, allocations: 63.89 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1912, allocations: 0 / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1914, allocations: 31.98 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1918, allocations: 15.94 kB / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1936, allocations: 0.7233 MB / 497.5 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1941, allocations: 0.7121 MB / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.1942, allocations: 23.44 kB / 498.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1942, allocations: 4 kB / 498.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.777/2.972, allocations: 2.033 MB / 0.4886 GB, free: 0.707 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat does not exist to compare? outputFormat=mat