Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.001904/0.001904, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001316/0.001316, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1946/0.1946, allocations: 43.55 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4526, allocations: 86.75 MB / 0.5636 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.4528, allocations: 74.58 kB / 0.5636 GB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4693, allocations: 7.755 MB / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4694, allocations: 0 / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.4694, allocations: 8 kB / 0.5712 GB, free: 5.922 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.0008382/0.4703, allocations: 0.6165 MB / 0.5718 GB, free: 5.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4703, allocations: 8.031 kB / 0.5718 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.4704, allocations: 45.94 kB / 0.5719 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.4705, allocations: 43.39 kB / 0.5719 GB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.471, allocations: 330.4 kB / 0.5722 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.471, allocations: 0 / 0.5722 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.471, allocations: 0 / 0.5722 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4712, allocations: 49 kB / 0.5723 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4712, allocations: 0 / 0.5723 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4712, allocations: 3.984 kB / 0.5723 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4712, allocations: 7.953 kB / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.332e-05/0.4713, allocations: 23.55 kB / 0.5723 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.472, allocations: 426.5 kB / 0.5727 GB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.4721, allocations: 30.06 kB / 0.5727 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4721, allocations: 0 / 0.5727 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4722, allocations: 42.58 kB / 0.5728 GB, free: 4.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4722, allocations: 0 / 0.5728 GB, free: 4.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002825/0.4725, allocations: 100.2 kB / 0.5729 GB, free: 4.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4725, allocations: 55.39 kB / 0.5729 GB, free: 4.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4737, allocations: 0.7855 MB / 0.5737 GB, free: 3.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4738, allocations: 25.7 kB / 0.5737 GB, free: 3.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.474, allocations: 232.6 kB / 0.5739 GB, free: 3.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.474, allocations: 3.906 kB / 0.574 GB, free: 3.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.474, allocations: 0 / 0.574 GB, free: 3.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4742, allocations: 360.1 kB / 0.5743 GB, free: 2.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.4743, allocations: 15.61 kB / 0.5743 GB, free: 2.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.4743, allocations: 8 kB / 0.5743 GB, free: 2.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.4743, allocations: 19.55 kB / 0.5743 GB, free: 2.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4744, allocations: 0 / 0.5743 GB, free: 2.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.4745, allocations: 96.38 kB / 0.5744 GB, free: 2.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4746, allocations: 4 kB / 0.5744 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4746, allocations: 0 / 0.5744 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4746, allocations: 3.953 kB / 0.5744 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.4747, allocations: 4 kB / 0.5744 GB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4747, allocations: 4.031 kB / 0.5744 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.4748, allocations: 7.984 kB / 0.5745 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.4748, allocations: 4 kB / 0.5745 GB, free: 2.797 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 (2): * Single equations (assignments): 2 * 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.0002263/0.475, allocations: 208.1 kB / 0.5747 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.4751, allocations: 47.38 kB / 0.5747 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.4753, allocations: 118 kB / 0.5748 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4754, allocations: 3.953 kB / 0.5748 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4754, allocations: 0 / 0.5748 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4754, allocations: 0 / 0.5748 GB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.4757, allocations: 323.2 kB / 0.5751 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4757, allocations: 0 / 0.5751 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.4758, allocations: 8 kB / 0.5751 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4758, allocations: 0 / 0.5751 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4758, allocations: 0 / 0.5751 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.4758, allocations: 0 / 0.5751 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4758, allocations: 3.953 kB / 0.5751 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.476, allocations: 189.1 kB / 0.5753 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.4763, allocations: 162.1 kB / 0.5755 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.4763, allocations: 4 kB / 0.5755 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.4764, allocations: 4 kB / 0.5755 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.4764, allocations: 0 / 0.5755 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4765, allocations: 7.984 kB / 0.5755 GB, free: 1.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006731/0.4771, allocations: 0.6471 MB / 0.5761 GB, free: 1.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4771, allocations: 0 / 0.5761 GB, free: 1.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.4774, allocations: 55.69 kB / 0.5762 GB, free: 1.199 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 (2): * Single equations (assignments): 2 * 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.001271/0.4787, allocations: 0.9731 MB / 0.5771 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.4789, allocations: 23.98 kB / 0.5771 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4789, allocations: 0 / 0.5771 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.4789, allocations: 19.81 kB / 0.5772 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.4792, allocations: 17.83 kB / 0.5772 GB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.4821, allocations: 2.232 MB / 0.5794 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4826, allocations: 0.8257 MB / 0.5802 GB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.786e-05/0.4827, allocations: 36.42 kB / 0.5802 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.4828, allocations: 119.4 kB / 0.5803 GB, free: 13.23 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4828, allocations: 4 kB / 0.5803 GB, free: 13.22 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.5053, allocations: 6.157 MB / 0.5863 GB, free: 7.082 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.5056, allocations: 210.3 kB / 0.5865 GB, free: 6.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.533, allocations: 0 / 0.5865 GB, free: 6.84 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat does not exist to compare? outputFormat=mat