Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001107/0.001107, allocations: 177.2 kB / 17.06 MB, free: 5.094 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.334/1.334, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009422, allocations: 91.75 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3344/0.3344, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003175, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.343, allocations: 61.91 MB / 0.5096 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4704, allocations: 88.51 MB / 0.5961 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.4708, allocations: 75.89 kB / 0.5961 GB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.4875, allocations: 7.85 MB / 0.6038 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4875, allocations: 0 / 0.6038 GB, free: 14.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.4876, allocations: 4 kB / 0.6038 GB, free: 14.66 MB / 426.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.000729/0.4883, allocations: 0.6413 MB / 0.6044 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4884, allocations: 8.031 kB / 0.6044 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.4884, allocations: 34.56 kB / 0.6045 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.4885, allocations: 39.44 kB / 0.6045 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.4891, allocations: 331.3 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4891, allocations: 4 kB / 0.6048 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.4891, allocations: 4 kB / 0.6048 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4893, allocations: 49.69 kB / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4893, allocations: 4 kB / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4893, allocations: 0 / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4893, allocations: 7.938 kB / 0.6049 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4894, allocations: 31.91 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.4901, allocations: 428.7 kB / 0.6053 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.4903, allocations: 54.48 kB / 0.6054 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4904, allocations: 0 / 0.6054 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4904, allocations: 38.56 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4904, allocations: 0 / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006624/0.4911, allocations: 244.1 kB / 0.6057 GB, free: 12.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.4911, allocations: 55.36 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4923, allocations: 0.7863 MB / 0.6065 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.4923, allocations: 25.7 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4925, allocations: 228 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.4925, allocations: 15.72 kB / 0.6067 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.4925, allocations: 0 / 0.6067 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4927, allocations: 362.8 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.4928, allocations: 19.98 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.4928, allocations: 32.05 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.4929, allocations: 23.98 kB / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4929, allocations: 0 / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002153/0.4931, allocations: 121.1 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4932, allocations: 5.719 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4932, allocations: 4 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4932, allocations: 4 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.4933, allocations: 11.98 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.4933, allocations: 4 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.4934, allocations: 11.89 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.4934, allocations: 0 / 0.6073 GB, free: 10.85 MB / 426.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.0001833/0.4936, allocations: 214.3 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.4936, allocations: 47.44 kB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.4939, allocations: 149.2 kB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4939, allocations: 4 kB / 0.6077 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.494, allocations: 3.984 kB / 0.6077 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.494, allocations: 0 / 0.6077 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.4948, allocations: 0.5843 MB / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4948, allocations: 0 / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.4949, allocations: 15.98 kB / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4949, allocations: 0 / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4949, allocations: 8 kB / 0.6083 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4949, allocations: 3.938 kB / 0.6083 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.495, allocations: 4.266 kB / 0.6083 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.4953, allocations: 219 kB / 0.6085 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.4956, allocations: 160.5 kB / 0.6087 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.4957, allocations: 4 kB / 0.6087 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4959, allocations: 15.92 kB / 0.6087 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.4959, allocations: 7.953 kB / 0.6087 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.496, allocations: 4 kB / 0.6087 GB, free: 9.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.4971, allocations: 0.6432 MB / 0.6093 GB, free: 8.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4971, allocations: 0 / 0.6093 GB, free: 8.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004823/0.4976, allocations: 56 kB / 0.6094 GB, free: 8.613 MB / 426.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.001977/0.4996, allocations: 1.052 MB / 0.6104 GB, free: 7.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4998, allocations: 55.97 kB / 0.6105 GB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4999, allocations: 0 / 0.6105 GB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.5, allocations: 35.91 kB / 0.6105 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.5004, allocations: 21.91 kB / 0.6105 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.5049, allocations: 2.317 MB / 0.6128 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5054, allocations: 0.8301 MB / 0.6136 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.5056, allocations: 36.25 kB / 0.6136 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.5058, allocations: 107.4 kB / 0.6137 GB, free: 4.207 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5058, allocations: 0 / 0.6137 GB, free: 4.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.5315, allocations: 6.42 MB / 0.62 GB, free: 13.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.5318, allocations: 220.3 kB / 0.6202 GB, free: 13.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.501, allocations: 0 / 0.6202 GB, free: 13.66 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat