Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.0008505/0.0008507, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009377, allocations: 86.62 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.971e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5787, allocations: 86.37 MB / 0.5504 GB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.579, allocations: 79.8 kB / 0.5504 GB, free: 8.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.5935, allocations: 7.815 MB / 0.5581 GB, free: 1.367 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5936, allocations: 0 / 0.5581 GB, free: 1.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.5936, allocations: 4 kB / 0.5581 GB, free: 1.363 MB / 362.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.0004865/0.5941, allocations: 0.5387 MB / 0.5586 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.5941, allocations: 12.03 kB / 0.5586 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.5942, allocations: 51.2 kB / 0.5587 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5947, allocations: 320.9 kB / 0.559 GB, free: 416 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.5947, allocations: 0 / 0.559 GB, free: 416 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.5947, allocations: 4 kB / 0.559 GB, free: 412 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.151e-05/0.5948, allocations: 15.61 kB / 0.559 GB, free: 400 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.5949, allocations: 41.02 kB / 0.559 GB, free: 360 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5949, allocations: 3.938 kB / 0.559 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5949, allocations: 3.984 kB / 0.559 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5949, allocations: 3.953 kB / 0.559 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.5955, allocations: 411.3 kB / 0.5594 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.5956, allocations: 30.38 kB / 0.5595 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.5956, allocations: 12.05 kB / 0.5595 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5957, allocations: 0 / 0.5595 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.5957, allocations: 31.22 kB / 0.5595 GB, free: 15.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5957, allocations: 4 kB / 0.5595 GB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001961/0.5959, allocations: 88.8 kB / 0.5596 GB, free: 15.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5959, allocations: 51.41 kB / 0.5596 GB, free: 15.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.597, allocations: 0.757 MB / 0.5604 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.597, allocations: 25.7 kB / 0.5604 GB, free: 15.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5972, allocations: 208.7 kB / 0.5606 GB, free: 14.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5972, allocations: 15.22 kB / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.5972, allocations: 0 / 0.5606 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5974, allocations: 364 kB / 0.561 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.5974, allocations: 8 kB / 0.561 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.5974, allocations: 7.25 kB / 0.561 GB, free: 14.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.5974, allocations: 4 kB / 0.561 GB, free: 14.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5975, allocations: 0 / 0.561 GB, free: 14.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001044/0.5976, allocations: 80.59 kB / 0.5611 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5976, allocations: 4 kB / 0.5611 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5976, allocations: 0 / 0.5611 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5976, allocations: 0 / 0.5611 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.5977, allocations: 16.02 kB / 0.5611 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5977, allocations: 7.953 kB / 0.5611 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.5978, allocations: 0 / 0.5611 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5978, allocations: 7.438 kB / 0.5611 GB, free: 14.48 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 () * 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.018e-05/0.5979, allocations: 104.9 kB / 0.5612 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001212/0.598, allocations: 84.25 kB / 0.5613 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.5981, allocations: 43.44 kB / 0.5613 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.5982, allocations: 102.7 kB / 0.5614 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5983, allocations: 0 / 0.5614 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5983, allocations: 0 / 0.5614 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5983, allocations: 7.984 kB / 0.5614 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.5986, allocations: 300.2 kB / 0.5617 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5986, allocations: 0 / 0.5617 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.5987, allocations: 7.984 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5987, allocations: 4 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5987, allocations: 0 / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5987, allocations: 4 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.5987, allocations: 7.984 kB / 0.5617 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.5989, allocations: 174.9 kB / 0.5619 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.5991, allocations: 159.8 kB / 0.5621 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.5991, allocations: 4 kB / 0.5621 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.5992, allocations: 0 / 0.5621 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.5992, allocations: 4 kB / 0.5621 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5992, allocations: 3.953 kB / 0.5621 GB, free: 13.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006039/0.5998, allocations: 0.6127 MB / 0.5627 GB, free: 13.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5999, allocations: 0 / 0.5627 GB, free: 13.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000295/0.6002, allocations: 51.98 kB / 0.5627 GB, free: 12.98 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 () * 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.001177/0.6013, allocations: 0.905 MB / 0.5636 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.902e-05/0.6015, allocations: 11.44 kB / 0.5636 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6015, allocations: 0 / 0.5636 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.6015, allocations: 19.17 kB / 0.5636 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.6018, allocations: 23 kB / 0.5636 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6031, allocations: 0.804 MB / 0.5644 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.6035, allocations: 0.8277 MB / 0.5652 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.6036, allocations: 43.97 kB / 0.5653 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6038, allocations: 120.3 kB / 0.5654 GB, free: 10.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6038, allocations: 0 / 0.5654 GB, free: 10.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.6287, allocations: 5.586 MB / 0.5709 GB, free: 4.797 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.6289, allocations: 160.2 kB / 0.571 GB, free: 4.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.578, allocations: 3.938 kB / 0.571 GB, free: 4.602 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat