Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.001401/0.0014, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.348/1.348, allocations: 223.2 MB / 241 MB, free: 11.87 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.0009215/0.0009215, allocations: 91.36 kB / 292.1 MB, free: 10.93 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.3256/0.3256, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3977, allocations: 61.91 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5453, allocations: 89.59 MB / 0.5971 GB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5456, allocations: 79.91 kB / 0.5972 GB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03203/0.5777, allocations: 11.43 MB / 0.6084 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5777, allocations: 0 / 0.6084 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.5778, allocations: 15.92 kB / 0.6084 GB, free: 9.992 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001376/0.5791, allocations: 0.7404 MB / 0.6091 GB, free: 9.203 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5792, allocations: 8.031 kB / 0.6091 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.5793, allocations: 46.55 kB / 0.6092 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.5794, allocations: 51.34 kB / 0.6092 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.5803, allocations: 431 kB / 0.6096 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5804, allocations: 15.95 kB / 0.6096 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.5804, allocations: 16 kB / 0.6097 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.5809, allocations: 208 kB / 0.6099 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5809, allocations: 4 kB / 0.6099 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.5809, allocations: 4 kB / 0.6099 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5809, allocations: 4 kB / 0.6099 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.5812, allocations: 115.8 kB / 0.61 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5824, allocations: 0.8917 MB / 0.6108 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/0.583, allocations: 293.8 kB / 0.6111 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.583, allocations: 7.984 kB / 0.6111 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.5835, allocations: 239.5 kB / 0.6114 GB, free: 6.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.555e-06/0.5835, allocations: 0 / 0.6114 GB, free: 6.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.00212/0.5856, allocations: 1 MB / 0.6123 GB, free: 5.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.5857, allocations: 162.2 kB / 0.6125 GB, free: 5.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000746/0.5864, allocations: 0.5605 MB / 0.613 GB, free: 4.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.5865, allocations: 37.7 kB / 0.6131 GB, free: 4.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.5867, allocations: 221 kB / 0.6133 GB, free: 4.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5868, allocations: 122.4 kB / 0.6134 GB, free: 4.527 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.5868, allocations: 8 kB / 0.6134 GB, free: 4.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.587, allocations: 370.8 kB / 0.6138 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.5873, allocations: 108.8 kB / 0.6139 GB, free: 4.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.5876, allocations: 176.9 kB / 0.614 GB, free: 3.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.5878, allocations: 124.4 kB / 0.6142 GB, free: 3.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5879, allocations: 0 / 0.6142 GB, free: 3.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007677/0.5886, allocations: 416.6 kB / 0.6146 GB, free: 3.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5887, allocations: 4 kB / 0.6146 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5887, allocations: 7.953 kB / 0.6146 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5887, allocations: 4 kB / 0.6146 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.589, allocations: 87.83 kB / 0.6147 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.589, allocations: 7.938 kB / 0.6147 GB, free: 3.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.5893, allocations: 27.92 kB / 0.6147 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.5893, allocations: 20.09 kB / 0.6147 GB, free: 3.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002455/0.5896, allocations: 208.8 kB / 0.6149 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.5897, allocations: 59.33 kB / 0.615 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.5907, allocations: 481.4 kB / 0.6154 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.5907, allocations: 15.95 kB / 0.6154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5907, allocations: 0 / 0.6154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5907, allocations: 7.984 kB / 0.6154 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.5927, allocations: 1.374 MB / 0.6168 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5927, allocations: 4 kB / 0.6168 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.5929, allocations: 59.84 kB / 0.6168 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.5929, allocations: 5.125 kB / 0.6169 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.5929, allocations: 15.98 kB / 0.6169 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5929, allocations: 4 kB / 0.6169 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.593, allocations: 8.625 kB / 0.6169 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.594, allocations: 0.9368 MB / 0.6178 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5942, allocations: 164.3 kB / 0.6179 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.5943, allocations: 15.95 kB / 0.618 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.5947, allocations: 23.98 kB / 0.618 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.5948, allocations: 43.83 kB / 0.618 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.5948, allocations: 27.98 kB / 0.6181 GB, free: 15.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000532/0.5954, allocations: 458.8 kB / 0.6185 GB, free: 15.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5954, allocations: 0 / 0.6185 GB, free: 15.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006212/0.596, allocations: 103.9 kB / 0.6186 GB, free: 14.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002586/0.5986, allocations: 2.494 MB / 0.621 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006781/0.5993, allocations: 307.7 kB / 0.6213 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5993, allocations: 0 / 0.6213 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5996, allocations: 163.7 kB / 0.6215 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.6004, allocations: 135.2 kB / 0.6216 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.6053, allocations: 4.127 MB / 0.6256 GB, free: 7.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.6058, allocations: 0.8745 MB / 0.6265 GB, free: 6.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.6061, allocations: 91.3 kB / 0.6266 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.6063, allocations: 179.4 kB / 0.6267 GB, free: 6.57 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6063, allocations: 0 / 0.6267 GB, free: 6.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.6426, allocations: 10.19 MB / 0.6367 GB, free: 12.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.6429, allocations: 207.1 kB / 0.6369 GB, free: 12.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.952, allocations: 4 kB / 0.6369 GB, free: 12.33 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat