Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.00147/0.00147, allocations: 175.9 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.382/1.382, allocations: 223.2 MB / 241 MB, free: 11.9 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.000982/0.0009823, allocations: 96.59 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.3576/0.3576, allocations: 44.23 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3956, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5303, allocations: 89.13 MB / 0.5967 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5306, allocations: 83.91 kB / 0.5968 GB, free: 5.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02329/0.5539, allocations: 6.714 MB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5539, allocations: 0 / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.582e-05/0.554, allocations: 8 kB / 0.6033 GB, free: 15.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001649/0.5557, allocations: 0.7269 MB / 0.604 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/0.5558, allocations: 8.031 kB / 0.6041 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.089e-05/0.5559, allocations: 38.56 kB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.5561, allocations: 47.44 kB / 0.6041 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.5574, allocations: 483 kB / 0.6046 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.5575, allocations: 8 kB / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.5575, allocations: 4 kB / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.5578, allocations: 95.28 kB / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5578, allocations: 0 / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5578, allocations: 0 / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5579, allocations: 7.938 kB / 0.6047 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.558, allocations: 31.97 kB / 0.6047 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.5587, allocations: 378.4 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.559, allocations: 113.2 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.5591, allocations: 4 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.5594, allocations: 117.1 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.225e-06/0.5594, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007668/0.5602, allocations: 200.9 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.5603, allocations: 81.09 kB / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.5619, allocations: 0.9394 MB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.5619, allocations: 29.7 kB / 0.6065 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.5621, allocations: 232.1 kB / 0.6068 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.5622, allocations: 31.7 kB / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.5622, allocations: 0 / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5624, allocations: 374.7 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5625, allocations: 27.98 kB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.5626, allocations: 57.5 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.5628, allocations: 39.94 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5628, allocations: 0 / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003604/0.5631, allocations: 173.5 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5632, allocations: 8 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.5632, allocations: 0 / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5632, allocations: 4 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5634, allocations: 19.98 kB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5634, allocations: 3.938 kB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.5636, allocations: 31.95 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5636, allocations: 4 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002833/0.5639, allocations: 222.3 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.564, allocations: 63.28 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.5645, allocations: 193.6 kB / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5645, allocations: 4 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5645, allocations: 0 / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5645, allocations: 4 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.565, allocations: 389.3 kB / 0.6083 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.565, allocations: 0 / 0.6083 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.565, allocations: 8 kB / 0.6083 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5651, allocations: 11.88 kB / 0.6084 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5651, allocations: 4 kB / 0.6084 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5651, allocations: 3.938 kB / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5651, allocations: 0 / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.5656, allocations: 238.9 kB / 0.6086 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.566, allocations: 196.3 kB / 0.6088 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.566, allocations: 4 kB / 0.6088 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.5662, allocations: 12 kB / 0.6088 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.5662, allocations: 7.984 kB / 0.6088 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.5663, allocations: 4 kB / 0.6088 GB, free: 9.184 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.5673, allocations: 0.7604 MB / 0.6095 GB, free: 8.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5673, allocations: 0 / 0.6095 GB, free: 8.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.5678, allocations: 76 kB / 0.6096 GB, free: 8.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001771/0.5696, allocations: 1.155 MB / 0.6107 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.5699, allocations: 87.89 kB / 0.6108 GB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5699, allocations: 0 / 0.6108 GB, free: 7.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.57, allocations: 43.92 kB / 0.6109 GB, free: 7.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.5705, allocations: 67.12 kB / 0.6109 GB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.575, allocations: 3.372 MB / 0.6142 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.5756, allocations: 0.8546 MB / 0.6151 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.5758, allocations: 90.94 kB / 0.6152 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.576, allocations: 163.4 kB / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.576, allocations: 0 / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.6072, allocations: 9.216 MB / 0.6243 GB, free: 9.473 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.6075, allocations: 226.2 kB / 0.6245 GB, free: 9.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.796, allocations: 0 / 0.6245 GB, free: 9.227 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat