Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.4 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009833, allocations: 95.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.583e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6576, allocations: 87.38 MB / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.658, allocations: 75.95 kB / 0.5872 GB, free: 1.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007189/0.6652, allocations: 3.05 MB / 0.5902 GB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6652, allocations: 0 / 0.5902 GB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.6652, allocations: 0 / 0.5902 GB, free: 14.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003298/0.6655, allocations: 354.5 kB / 0.5905 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6656, allocations: 12.03 kB / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.6657, allocations: 41.52 kB / 0.5906 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.6657, allocations: 7.906 kB / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.6659, allocations: 175.2 kB / 0.5908 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.6659, allocations: 8 kB / 0.5908 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.6659, allocations: 7.984 kB / 0.5908 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.6662, allocations: 189.4 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6662, allocations: 3.938 kB / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6662, allocations: 7.984 kB / 0.591 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.6662, allocations: 11.98 kB / 0.591 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.6663, allocations: 55.8 kB / 0.591 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.6672, allocations: 1.705 MB / 0.5927 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.6673, allocations: 169.1 kB / 0.5928 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.6674, allocations: 84.08 kB / 0.5929 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.6674, allocations: 75.28 kB / 0.593 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6674, allocations: 109.8 kB / 0.5931 GB, free: 11.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.6675, allocations: 0 / 0.5931 GB, free: 11.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.377e-05/0.6675, allocations: 33.61 kB / 0.5931 GB, free: 11.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.6676, allocations: 134.6 kB / 0.5933 GB, free: 11.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.6678, allocations: 169.2 kB / 0.5934 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6678, allocations: 25.7 kB / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.6679, allocations: 147.1 kB / 0.5936 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.6679, allocations: 8 kB / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.6679, allocations: 0 / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6681, allocations: 326.8 kB / 0.5939 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.6681, allocations: 27.94 kB / 0.5939 GB, free: 10.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6682, allocations: 165 kB / 0.5941 GB, free: 10.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.6683, allocations: 59.91 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6683, allocations: 4 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002826/0.6686, allocations: 189.1 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6687, allocations: 9.875 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6687, allocations: 4.625 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6687, allocations: 8 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.6688, allocations: 47.91 kB / 0.5944 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6689, allocations: 7.953 kB / 0.5944 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.6689, allocations: 19.75 kB / 0.5944 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.669, allocations: 16 kB / 0.5944 GB, free: 9.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001015/0.6691, allocations: 192.1 kB / 0.5946 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.6692, allocations: 112.8 kB / 0.5947 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.6692, allocations: 123.1 kB / 0.5949 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/0.6693, allocations: 184.2 kB / 0.595 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.6694, allocations: 176.3 kB / 0.5952 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.203e-05/0.6695, allocations: 184.2 kB / 0.5954 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.6697, allocations: 429.2 kB / 0.5958 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.6698, allocations: 105 kB / 0.5959 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.6698, allocations: 104.9 kB / 0.596 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.535e-05/0.6699, allocations: 180.2 kB / 0.5962 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.67, allocations: 184.3 kB / 0.5963 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.481e-05/0.67, allocations: 184.2 kB / 0.5965 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.577e-05/0.6701, allocations: 176.3 kB / 0.5967 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.6703, allocations: 319.6 kB / 0.597 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.6704, allocations: 186 kB / 0.5972 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.6705, allocations: 184.2 kB / 0.5973 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.6705, allocations: 101 kB / 0.5974 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.6706, allocations: 188.2 kB / 0.5976 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6707, allocations: 105 kB / 0.5977 GB, free: 6.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.6708, allocations: 128.1 kB / 0.5978 GB, free: 6.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6708, allocations: 0 / 0.5978 GB, free: 6.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.6711, allocations: 15.98 kB / 0.5978 GB, free: 6.25 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008225/0.6719, allocations: 0.916 MB / 0.5987 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.6721, allocations: 72.92 kB / 0.5988 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6721, allocations: 0 / 0.5988 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.6721, allocations: 0 / 0.5988 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.6724, allocations: 0.5304 MB / 0.5993 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.6729, allocations: 247.2 kB / 0.5996 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.6732, allocations: 0.7009 MB / 0.6002 GB, free: 3.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.6734, allocations: 53.08 kB / 0.6003 GB, free: 3.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.6735, allocations: 27.42 kB / 0.6003 GB, free: 3.66 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6735, allocations: 0 / 0.6003 GB, free: 3.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.688, allocations: 1.978 MB / 0.6023 GB, free: 1.777 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.6883, allocations: 190.9 kB / 0.6024 GB, free: 1.547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.303, allocations: 0 / 0.6024 GB, free: 1.547 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat does not exist to compare? outputFormat=mat