Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.0009169/0.0009169, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009121/0.0009121, allocations: 96.08 kB / 281.6 MB, free: 5.32 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.228/0.228, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.93e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1574, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6476, allocations: 87.62 MB / 0.5803 GB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.648, allocations: 67.84 kB / 0.5804 GB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01794/0.666, allocations: 7.879 MB / 0.5881 GB, free: 0.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.666, allocations: 0 / 0.5881 GB, free: 0.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6661, allocations: 4 kB / 0.5881 GB, free: 0.7891 MB / 394.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.0005547/0.6666, allocations: 0.5403 MB / 0.5886 GB, free: 208 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6667, allocations: 11.98 kB / 0.5886 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.6668, allocations: 43.44 kB / 0.5887 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.6673, allocations: 323.3 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6673, allocations: 8 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.6673, allocations: 0 / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.376e-05/0.6674, allocations: 12 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.6674, allocations: 41.67 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6675, allocations: 0 / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6675, allocations: 0 / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6675, allocations: 4 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.668, allocations: 405.2 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.6681, allocations: 22.58 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.6681, allocations: 12.92 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6682, allocations: 0 / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.6682, allocations: 30.56 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6682, allocations: 0 / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002017/0.6684, allocations: 81.16 kB / 0.5896 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6685, allocations: 55.44 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.6696, allocations: 0.751 MB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.6696, allocations: 29.7 kB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6697, allocations: 212.8 kB / 0.5906 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.6698, allocations: 7.906 kB / 0.5906 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.6698, allocations: 0 / 0.5906 GB, free: 14.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6699, allocations: 362.8 kB / 0.5909 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.67, allocations: 0 / 0.5909 GB, free: 13.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.67, allocations: 8 kB / 0.5909 GB, free: 13.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.67, allocations: 8 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.67, allocations: 0 / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.872e-05/0.6701, allocations: 73.22 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6701, allocations: 11.94 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6702, allocations: 0 / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6702, allocations: 0 / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.6703, allocations: 11.94 kB / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6703, allocations: 0 / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.6703, allocations: 8.094 kB / 0.5911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.6703, allocations: 0 / 0.5911 GB, free: 13.55 MB / 410.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 () * 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 7.95e-05/0.6704, allocations: 116.9 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001131/0.6706, allocations: 73.14 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.6706, allocations: 39.53 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.6708, allocations: 96.86 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6708, allocations: 3.984 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6708, allocations: 64 / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6708, allocations: 4 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.6712, allocations: 305.9 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6712, allocations: 0 / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.6712, allocations: 7.984 kB / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6712, allocations: 0 / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.6712, allocations: 0 / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6713, allocations: 0 / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6713, allocations: 0 / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.6714, allocations: 186.9 kB / 0.5918 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.6716, allocations: 156.6 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.6717, allocations: 4 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.6717, allocations: 3.938 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.6718, allocations: 4 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.6718, allocations: 0 / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.6725, allocations: 0.6082 MB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6725, allocations: 3.938 kB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.6728, allocations: 51.94 kB / 0.5927 GB, free: 11.81 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 (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.001101/0.6739, allocations: 0.9162 MB / 0.5936 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.688e-05/0.674, allocations: 8 kB / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.674, allocations: 0 / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.674, allocations: 11.94 kB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.6743, allocations: 18.09 kB / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6756, allocations: 0.7915 MB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.6761, allocations: 0.8224 MB / 0.5952 GB, free: 9.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.6761, allocations: 32 kB / 0.5952 GB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.6763, allocations: 115.4 kB / 0.5953 GB, free: 9.078 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6763, allocations: 0 / 0.5953 GB, free: 9.078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.705, allocations: 5.538 MB / 0.6007 GB, free: 3.531 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.7053, allocations: 160.8 kB / 0.6009 GB, free: 3.344 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.85, allocations: 0 / 0.6009 GB, free: 3.344 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat does not exist to compare? outputFormat=mat