Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0009794/0.0009794, allocations: 177.1 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.446/1.446, 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.0008646/0.0008645, allocations: 93.66 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.3497/0.3497, allocations: 44.21 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003755, allocations: 11.98 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3298, allocations: 61.91 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4438, allocations: 88.8 MB / 0.5964 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.444, allocations: 79.92 kB / 0.5964 GB, free: 6.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.4612, allocations: 8.024 MB / 0.6043 GB, free: 14.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4612, allocations: 0 / 0.6043 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.4613, allocations: 8 kB / 0.6043 GB, free: 14.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006962/0.462, allocations: 0.6218 MB / 0.6049 GB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.462, allocations: 8.031 kB / 0.6049 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.4621, allocations: 38.56 kB / 0.6049 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4621, allocations: 39.44 kB / 0.605 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.4627, allocations: 331.4 kB / 0.6053 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4627, allocations: 3.984 kB / 0.6053 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4627, allocations: 4 kB / 0.6053 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4629, allocations: 53.67 kB / 0.6053 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.4629, allocations: 0 / 0.6053 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.4629, allocations: 0 / 0.6053 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4629, allocations: 0 / 0.6053 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.463, allocations: 39.86 kB / 0.6054 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006669/0.4637, allocations: 436.7 kB / 0.6058 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/0.4638, allocations: 34.56 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.4638, allocations: 3.938 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4639, allocations: 38.62 kB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4639, allocations: 3.938 kB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002624/0.4642, allocations: 101.2 kB / 0.606 GB, free: 12.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4642, allocations: 55.41 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4654, allocations: 0.7903 MB / 0.6068 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4654, allocations: 25.7 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4656, allocations: 228 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.4656, allocations: 0 / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.4656, allocations: 0 / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4658, allocations: 366.7 kB / 0.6074 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.4658, allocations: 8 kB / 0.6074 GB, free: 10.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.4658, allocations: 15.98 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.4659, allocations: 15.98 kB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4659, allocations: 0 / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.4661, allocations: 101.1 kB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4661, allocations: 5.406 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4661, allocations: 0 / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4662, allocations: 0 / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.4662, allocations: 16.08 kB / 0.6075 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4663, allocations: 0 / 0.6075 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.4663, allocations: 4 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4663, allocations: 0 / 0.6075 GB, free: 10.64 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 (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.000219/0.4666, allocations: 218.2 kB / 0.6078 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.4666, allocations: 43.44 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4669, allocations: 116.2 kB / 0.6079 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4669, allocations: 4 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4669, allocations: 0 / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4669, allocations: 0 / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.4672, allocations: 325.4 kB / 0.6082 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4673, allocations: 0 / 0.6082 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.4673, allocations: 11.98 kB / 0.6082 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4673, allocations: 0 / 0.6082 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4673, allocations: 3.938 kB / 0.6082 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4673, allocations: 32 / 0.6082 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4673, allocations: 4 kB / 0.6082 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.4676, allocations: 194.9 kB / 0.6084 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4678, allocations: 164.5 kB / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4679, allocations: 0 / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.4679, allocations: 4.031 kB / 0.6086 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.468, allocations: 8 kB / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.468, allocations: 0 / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006764/0.4687, allocations: 0.651 MB / 0.6092 GB, free: 8.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4687, allocations: 0 / 0.6092 GB, free: 8.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.469, allocations: 47.94 kB / 0.6093 GB, free: 8.773 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 (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.001132/0.4701, allocations: 0.9739 MB / 0.6102 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.4703, allocations: 31.92 kB / 0.6103 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4703, allocations: 0 / 0.6103 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.4703, allocations: 15.98 kB / 0.6103 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4706, allocations: 24.12 kB / 0.6103 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4733, allocations: 2.257 MB / 0.6125 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4737, allocations: 0.8262 MB / 0.6133 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.4737, allocations: 44.41 kB / 0.6133 GB, free: 4.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.4739, allocations: 123.4 kB / 0.6135 GB, free: 4.492 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4739, allocations: 0 / 0.6135 GB, free: 4.492 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.4917, allocations: 6.209 MB / 0.6195 GB, free: 14.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.492, allocations: 223.7 kB / 0.6197 GB, free: 14.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.448, allocations: 0 / 0.6197 GB, free: 14.15 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat