Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002248/0.002248, allocations: 176.6 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.341/1.341, 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.000886/0.0008861, allocations: 89.52 kB / 292.1 MB, free: 10.92 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.3582/0.3582, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004376, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4249, allocations: 61.9 MB / 0.5096 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5528, allocations: 89.14 MB / 0.5967 GB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5531, allocations: 87.91 kB / 0.5968 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0172/0.5703, allocations: 6.674 MB / 0.6033 GB, free: 15.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5704, allocations: 0 / 0.6033 GB, free: 15.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.5704, allocations: 4 kB / 0.6033 GB, free: 15.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001069/0.5715, allocations: 0.7075 MB / 0.604 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5715, allocations: 8.031 kB / 0.604 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.5716, allocations: 42.56 kB / 0.604 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.5717, allocations: 51.33 kB / 0.6041 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.5725, allocations: 471.1 kB / 0.6045 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5726, allocations: 4 kB / 0.6045 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.5726, allocations: 8 kB / 0.6045 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.5728, allocations: 83.36 kB / 0.6046 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5728, allocations: 3.938 kB / 0.6046 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5728, allocations: 0 / 0.6046 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5729, allocations: 8 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.573, allocations: 35.95 kB / 0.6047 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.5734, allocations: 370.3 kB / 0.605 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.5737, allocations: 121.2 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5737, allocations: 7.938 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.5739, allocations: 109.1 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5739, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000477/0.5744, allocations: 205 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.5745, allocations: 81.11 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.5757, allocations: 0.9159 MB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5757, allocations: 33.7 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5759, allocations: 228.1 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.5759, allocations: 27.61 kB / 0.6067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.576, allocations: 0 / 0.6067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5761, allocations: 370.8 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.5762, allocations: 31.97 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.5763, allocations: 63.58 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.5764, allocations: 31.98 kB / 0.6072 GB, free: 10.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5764, allocations: 0 / 0.6072 GB, free: 10.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002927/0.5767, allocations: 172.9 kB / 0.6073 GB, free: 10.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5768, allocations: 12.06 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5768, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5768, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.5769, allocations: 27.98 kB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5769, allocations: 0 / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.577, allocations: 19.78 kB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5771, allocations: 4 kB / 0.6074 GB, free: 10.75 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.0001969/0.5773, allocations: 218.3 kB / 0.6076 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.5773, allocations: 59.39 kB / 0.6077 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.5777, allocations: 194.2 kB / 0.6078 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5777, allocations: 4 kB / 0.6078 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5777, allocations: 4 kB / 0.6079 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5778, allocations: 3.984 kB / 0.6079 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.5781, allocations: 377.3 kB / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5781, allocations: 0 / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.5782, allocations: 8 kB / 0.6082 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5782, allocations: 7.953 kB / 0.6082 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5782, allocations: 11.98 kB / 0.6082 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5782, allocations: 4 kB / 0.6082 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5782, allocations: 3.938 kB / 0.6082 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.5786, allocations: 227 kB / 0.6085 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.5789, allocations: 196.3 kB / 0.6087 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.579, allocations: 7.984 kB / 0.6087 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.5791, allocations: 8 kB / 0.6087 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.5791, allocations: 15.98 kB / 0.6087 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5791, allocations: 4 kB / 0.6087 GB, free: 9.312 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008635/0.58, allocations: 0.7291 MB / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.58, allocations: 0 / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.5803, allocations: 80 kB / 0.6095 GB, free: 8.508 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.00155/0.5819, allocations: 1.154 MB / 0.6106 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.5822, allocations: 91.83 kB / 0.6107 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5822, allocations: 0 / 0.6107 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.5823, allocations: 52.03 kB / 0.6107 GB, free: 7.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.5827, allocations: 64.7 kB / 0.6108 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.5868, allocations: 3.281 MB / 0.614 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5872, allocations: 0.8468 MB / 0.6148 GB, free: 3.043 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.5874, allocations: 91.45 kB / 0.6149 GB, free: 2.953 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.5876, allocations: 147.4 kB / 0.6151 GB, free: 2.809 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5876, allocations: 3.938 kB / 0.6151 GB, free: 2.805 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.6102, allocations: 9.042 MB / 0.6239 GB, free: 9.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.6105, allocations: 211.1 kB / 0.6241 GB, free: 9.672 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.874, allocations: 4.062 kB / 0.6241 GB, free: 9.668 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat