Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001378/0.001378, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.364/1.364, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009515/0.0009519, allocations: 91.19 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.3595/0.3595, allocations: 44.22 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.436, allocations: 90.75 MB / 0.5983 GB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.4364, allocations: 87.81 kB / 0.5983 GB, free: 4.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02517/0.4616, allocations: 9.521 MB / 0.6076 GB, free: 10.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4616, allocations: 0 / 0.6076 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.87e-05/0.4617, allocations: 8 kB / 0.6076 GB, free: 10.65 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009074/0.4626, allocations: 0.6381 MB / 0.6083 GB, free: 9.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4627, allocations: 12.03 kB / 0.6083 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.4627, allocations: 42.55 kB / 0.6083 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.4628, allocations: 35.53 kB / 0.6084 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.4634, allocations: 341.1 kB / 0.6087 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4634, allocations: 11.94 kB / 0.6087 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.4635, allocations: 19.89 kB / 0.6087 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4637, allocations: 102.8 kB / 0.6088 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4637, allocations: 4 kB / 0.6088 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4637, allocations: 7.984 kB / 0.6088 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.4638, allocations: 4 kB / 0.6088 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.4639, allocations: 71.84 kB / 0.6089 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.4647, allocations: 0.5041 MB / 0.6094 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4649, allocations: 94.53 kB / 0.6095 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4649, allocations: 7.953 kB / 0.6095 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4649, allocations: 30.56 kB / 0.6095 GB, free: 8.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.4649, allocations: 0 / 0.6095 GB, free: 8.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000953/0.4659, allocations: 392.6 kB / 0.6099 GB, free: 8.172 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.466, allocations: 55.41 kB / 0.6099 GB, free: 8.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.4666, allocations: 497 kB / 0.6104 GB, free: 7.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4666, allocations: 33.7 kB / 0.6104 GB, free: 7.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4668, allocations: 208.2 kB / 0.6106 GB, free: 7.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.4668, allocations: 51.27 kB / 0.6107 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.4669, allocations: 4 kB / 0.6107 GB, free: 7.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.467, allocations: 350.8 kB / 0.611 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.4671, allocations: 51.97 kB / 0.6111 GB, free: 6.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4673, allocations: 61.59 kB / 0.6111 GB, free: 6.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.4674, allocations: 55.98 kB / 0.6112 GB, free: 6.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4674, allocations: 3.953 kB / 0.6112 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003591/0.4677, allocations: 206.6 kB / 0.6114 GB, free: 6.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4678, allocations: 8 kB / 0.6114 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4678, allocations: 3.984 kB / 0.6114 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4678, allocations: 0 / 0.6114 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.468, allocations: 35.97 kB / 0.6114 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.468, allocations: 0 / 0.6114 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.4681, allocations: 15.94 kB / 0.6115 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.4681, allocations: 8 kB / 0.6115 GB, free: 6.508 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 (17): * Single equations (assignments): 17 * 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.0001712/0.4683, allocations: 178.3 kB / 0.6116 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.4683, allocations: 39.48 kB / 0.6117 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.4688, allocations: 246.3 kB / 0.6119 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4688, allocations: 0 / 0.6119 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4688, allocations: 0 / 0.6119 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4688, allocations: 3.984 kB / 0.6119 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.4698, allocations: 0.6916 MB / 0.6126 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4698, allocations: 3.984 kB / 0.6126 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4699, allocations: 35.92 kB / 0.6126 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4699, allocations: 0 / 0.6126 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4699, allocations: 8 kB / 0.6126 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4699, allocations: 0 / 0.6126 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4699, allocations: 3.938 kB / 0.6126 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.4703, allocations: 306.9 kB / 0.6129 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.4705, allocations: 144.6 kB / 0.6131 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.4706, allocations: 0 / 0.6131 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4707, allocations: 12 kB / 0.6131 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.4707, allocations: 19.97 kB / 0.6131 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4707, allocations: 8 kB / 0.6131 GB, free: 4.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004556/0.4712, allocations: 395.1 kB / 0.6135 GB, free: 4.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4712, allocations: 0 / 0.6135 GB, free: 4.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.4715, allocations: 75.86 kB / 0.6136 GB, free: 4.266 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 (17): * Single equations (assignments): 17 * 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.002162/0.4737, allocations: 1.445 MB / 0.615 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.474, allocations: 143.8 kB / 0.6151 GB, free: 2.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.474, allocations: 4 kB / 0.6151 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4742, allocations: 72.69 kB / 0.6152 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.4746, allocations: 62.38 kB / 0.6152 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4776, allocations: 1.962 MB / 0.6171 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.4781, allocations: 0.8106 MB / 0.6179 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.4782, allocations: 53.89 kB / 0.618 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4784, allocations: 119.4 kB / 0.6181 GB, free: 15.82 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4784, allocations: 3.938 kB / 0.6181 GB, free: 15.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.5006, allocations: 6.934 MB / 0.6249 GB, free: 9.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5009, allocations: 205.1 kB / 0.6251 GB, free: 8.785 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.487, allocations: 0 / 0.6251 GB, free: 8.785 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat