Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001066/0.001066, allocations: 177.3 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.429/1.429, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009971/0.0009969, allocations: 106.4 kB / 292.1 MB, free: 10.9 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.3755/0.3755, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4457, allocations: 61.91 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.5696, allocations: 89.3 MB / 0.5969 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5699, allocations: 83.88 kB / 0.5969 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.5854, allocations: 5.652 MB / 0.6025 GB, free: 56 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5855, allocations: 0 / 0.6025 GB, free: 56 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.5855, allocations: 3.938 kB / 0.6025 GB, free: 52 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005871/0.5861, allocations: 430.8 kB / 0.6029 GB, free: 15.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5862, allocations: 8.031 kB / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.5862, allocations: 38.5 kB / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.5863, allocations: 23.8 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.5866, allocations: 212.2 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5866, allocations: 3.953 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.5866, allocations: 4 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5868, allocations: 53.67 kB / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5868, allocations: 0 / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5868, allocations: 4 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5869, allocations: 3.938 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.5869, allocations: 19.98 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.5874, allocations: 304.8 kB / 0.6035 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.5876, allocations: 58.67 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.5876, allocations: 7.938 kB / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5878, allocations: 63.52 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5878, allocations: 4 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.5884, allocations: 173.1 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5884, allocations: 51.41 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.5886, allocations: 186.5 kB / 0.604 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.5887, allocations: 33.7 kB / 0.6041 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.5887, allocations: 100.1 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.5888, allocations: 23.66 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.5888, allocations: 4 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5889, allocations: 327 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.589, allocations: 23.98 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.589, allocations: 37.7 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/0.5891, allocations: 31.92 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5891, allocations: 0 / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.5893, allocations: 97.58 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5893, allocations: 8 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5894, allocations: 0 / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5894, allocations: 0 / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.5895, allocations: 23.92 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5895, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.5895, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5896, allocations: 8.031 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001078/0.5897, allocations: 138.2 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.5897, allocations: 12 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.59, allocations: 122.9 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.59, allocations: 3.984 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.59, allocations: 4 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.59, allocations: 3.984 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.5905, allocations: 415.6 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5905, allocations: 0 / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.5906, allocations: 16 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5906, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5906, allocations: 3.984 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5906, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5906, allocations: 4 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.5909, allocations: 233.8 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.591, allocations: 89 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.591, allocations: 8 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.5911, allocations: 0 / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.5911, allocations: 15.88 kB / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5912, allocations: 4 kB / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.5913, allocations: 152.9 kB / 0.6059 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5913, allocations: 4 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.5916, allocations: 39.92 kB / 0.6059 GB, free: 12.12 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001586/0.5932, allocations: 1.195 MB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.5934, allocations: 63.91 kB / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5934, allocations: 0 / 0.6072 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.5935, allocations: 31.98 kB / 0.6072 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.5938, allocations: 36 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.5951, allocations: 0.8867 MB / 0.6081 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5954, allocations: 0.7082 MB / 0.6088 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.5954, allocations: 16.56 kB / 0.6088 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.5955, allocations: 39.41 kB / 0.6088 GB, free: 9.242 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5955, allocations: 0 / 0.6088 GB, free: 9.242 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.6106, allocations: 3.071 MB / 0.6118 GB, free: 6.301 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.6109, allocations: 216.4 kB / 0.612 GB, free: 6.059 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.238, allocations: 3.625 kB / 0.612 GB, free: 6.059 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat