Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001138/0.001138, allocations: 173.7 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.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.001151/0.00115, allocations: 104.6 kB / 281.6 MB, free: 5.258 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.2317/0.2317, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.663e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 61.91 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4875/0.6416, allocations: 87.55 MB / 0.5803 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6419, allocations: 67.97 kB / 0.5803 GB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.6598, allocations: 7.925 MB / 0.5881 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6599, allocations: 0 / 0.5881 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.6599, allocations: 4 kB / 0.5881 GB, free: 0.793 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.0008644/0.6608, allocations: 0.552 MB / 0.5886 GB, free: 200 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/0.6609, allocations: 15.98 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.661, allocations: 43.44 kB / 0.5887 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.6615, allocations: 327.3 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6616, allocations: 4 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.6616, allocations: 4 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.986e-05/0.6617, allocations: 8 kB / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.6618, allocations: 45.62 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6618, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6618, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6618, allocations: 4 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.6624, allocations: 405.4 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.6625, allocations: 26.58 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.6625, allocations: 16.86 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.6625, allocations: 0 / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6626, allocations: 30.56 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.6626, allocations: 3.938 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001936/0.6628, allocations: 81.31 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.6628, allocations: 55.41 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6639, allocations: 0.7558 MB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.6639, allocations: 25.7 kB / 0.5904 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6641, allocations: 212.1 kB / 0.5906 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.6641, allocations: 11.84 kB / 0.5906 GB, free: 14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.6641, allocations: 0 / 0.5906 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6643, allocations: 362.7 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.6643, allocations: 8 kB / 0.591 GB, free: 13.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.6643, allocations: 6.953 kB / 0.591 GB, free: 13.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.6644, allocations: 12 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6644, allocations: 3.938 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.6645, allocations: 89.06 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6645, allocations: 4 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6645, allocations: 0 / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6646, allocations: 192 / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.6647, allocations: 8 kB / 0.5911 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6647, allocations: 4 kB / 0.5911 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.6648, allocations: 11.98 kB / 0.5911 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.6648, allocations: 0 / 0.5911 GB, free: 13.49 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 (3): * Single equations (assignments): 3 * 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 8.914e-05/0.6649, allocations: 111.2 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001293/0.665, allocations: 85.2 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.6651, allocations: 43.44 kB / 0.5913 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.6653, allocations: 101.3 kB / 0.5914 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6653, allocations: 0 / 0.5914 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6653, allocations: 4 kB / 0.5914 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6653, allocations: 0 / 0.5914 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.6656, allocations: 306 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6656, allocations: 0 / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.6657, allocations: 8 kB / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6657, allocations: 0 / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6657, allocations: 4 kB / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6657, allocations: 0 / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.6658, allocations: 7.984 kB / 0.5917 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.6659, allocations: 183 kB / 0.5919 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.6661, allocations: 160.5 kB / 0.5921 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.6662, allocations: 11.92 kB / 0.5921 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.6663, allocations: 4 kB / 0.5921 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6663, allocations: 0 / 0.5921 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.6663, allocations: 4 kB / 0.5921 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006526/0.667, allocations: 0.6082 MB / 0.5927 GB, free: 11.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.667, allocations: 0 / 0.5927 GB, free: 11.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.6673, allocations: 51.98 kB / 0.5927 GB, free: 11.72 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 (3): * Single equations (assignments): 3 * 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.001093/0.6684, allocations: 0.9129 MB / 0.5936 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.601e-05/0.6685, allocations: 23.94 kB / 0.5936 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6685, allocations: 1.156 kB / 0.5936 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.6685, allocations: 7.984 kB / 0.5937 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.6689, allocations: 22.09 kB / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6701, allocations: 0.7901 MB / 0.5944 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.6705, allocations: 0.8302 MB / 0.5953 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.6706, allocations: 36.17 kB / 0.5953 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.6708, allocations: 115.4 kB / 0.5954 GB, free: 8.965 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6708, allocations: 0 / 0.5954 GB, free: 8.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.6983, allocations: 5.622 MB / 0.6009 GB, free: 3.332 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.6986, allocations: 172.9 kB / 0.6011 GB, free: 3.133 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.819, allocations: 3.938 kB / 0.6011 GB, free: 3.129 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat does not exist to compare? outputFormat=mat