Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.0009741/0.0009743, 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.526/1.526, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009683/0.0009684, allocations: 77.88 kB / 281.6 MB, free: 5.266 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.2315/0.2315, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.6e-05, allocations: 3.938 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/0.6397, allocations: 87.61 MB / 0.5803 GB, free: 8.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.64, allocations: 67.91 kB / 0.5804 GB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.6581, allocations: 7.878 MB / 0.5881 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6581, allocations: 4 kB / 0.5881 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.6581, allocations: 4 kB / 0.5881 GB, free: 0.8203 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.0005517/0.6587, allocations: 0.5395 MB / 0.5886 GB, free: 244 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6588, allocations: 11.98 kB / 0.5886 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.6588, allocations: 47.44 kB / 0.5887 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.6593, allocations: 323.3 kB / 0.589 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6593, allocations: 8 kB / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.6594, allocations: 0 / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.348e-05/0.6594, allocations: 19.94 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.6595, allocations: 33.69 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6595, allocations: 0 / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6595, allocations: 0 / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6596, allocations: 4 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.6601, allocations: 401.2 kB / 0.5894 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.6602, allocations: 30.58 kB / 0.5895 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.6602, allocations: 12.92 kB / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.6602, allocations: 0 / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6602, allocations: 30.56 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6602, allocations: 3.938 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.6604, allocations: 73.17 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6605, allocations: 59.39 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.6616, allocations: 0.7512 MB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6616, allocations: 25.7 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.6618, allocations: 212 kB / 0.5906 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.6618, allocations: 7.906 kB / 0.5906 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.6618, allocations: 0 / 0.5906 GB, free: 14.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.662, allocations: 366.7 kB / 0.5909 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.662, allocations: 0 / 0.5909 GB, free: 13.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.662, allocations: 4 kB / 0.5909 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.662, allocations: 4.062 kB / 0.5909 GB, free: 13.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.662, allocations: 4 kB / 0.591 GB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.6622, allocations: 73.23 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6622, allocations: 8 kB / 0.591 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6622, allocations: 3.984 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6622, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.247e-05/0.6623, allocations: 7.938 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.6623, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.6624, allocations: 7.984 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.6624, allocations: 0 / 0.591 GB, free: 13.58 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 6.735e-05/0.6625, allocations: 113 kB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001166/0.6626, allocations: 81.12 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.6627, allocations: 39.53 kB / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.6628, allocations: 96.86 kB / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6628, allocations: 0 / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6628, allocations: 0 / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6628, allocations: 0 / 0.5914 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.6631, allocations: 309.9 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6631, allocations: 4.062 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.6632, allocations: 4 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6632, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.6632, allocations: 7.922 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6632, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6632, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.6634, allocations: 175 kB / 0.5918 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6635, allocations: 168.6 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6636, allocations: 8 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.6637, allocations: 3.984 kB / 0.592 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.6637, allocations: 4 kB / 0.592 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.6637, allocations: 0 / 0.592 GB, free: 12.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.6643, allocations: 0.6082 MB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6643, allocations: 0 / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002797/0.6646, allocations: 47.91 kB / 0.5927 GB, free: 11.84 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.001014/0.6656, allocations: 0.9102 MB / 0.5935 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.6657, allocations: 12 kB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.6657, allocations: 0 / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.6658, allocations: 11.94 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6661, allocations: 22.08 kB / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6673, allocations: 0.7798 MB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.6676, allocations: 0.8302 MB / 0.5952 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.6677, allocations: 39.97 kB / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.6679, allocations: 115.4 kB / 0.5953 GB, free: 9.102 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6679, allocations: 0 / 0.5953 GB, free: 9.102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.6951, allocations: 5.537 MB / 0.6007 GB, free: 3.555 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.6954, allocations: 158.4 kB / 0.6009 GB, free: 3.367 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.923, allocations: 0 / 0.6009 GB, free: 3.367 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat