Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001629/0.001629, 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.397/1.397, 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.0008659/0.0008659, allocations: 91.69 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.3999/0.3999, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003418, allocations: 15.98 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4233, allocations: 61.9 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.5556, allocations: 89.52 MB / 0.5971 GB, free: 5.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5559, allocations: 87.91 kB / 0.5972 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.5721, allocations: 6.17 MB / 0.6032 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5722, allocations: 3.938 kB / 0.6032 GB, free: 15.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5722, allocations: 4 kB / 0.6032 GB, free: 15.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005211/0.5727, allocations: 407 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5728, allocations: 8.031 kB / 0.6036 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.5728, allocations: 34.56 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.5729, allocations: 11.89 kB / 0.6036 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5732, allocations: 216.1 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5732, allocations: 4 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.5732, allocations: 0 / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5734, allocations: 71.39 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5734, allocations: 0 / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5734, allocations: 4 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5734, allocations: 0 / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.5735, allocations: 19.98 kB / 0.6039 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.5739, allocations: 296.7 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.574, allocations: 62.67 kB / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.5741, allocations: 0 / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.5742, allocations: 67.45 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5742, allocations: 0 / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005231/0.5748, allocations: 173.5 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.5748, allocations: 81.05 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.575, allocations: 147.5 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.575, allocations: 33.7 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.575, allocations: 92.12 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.5751, allocations: 27.69 kB / 0.6049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.5751, allocations: 4 kB / 0.6049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5752, allocations: 315.1 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.5753, allocations: 23.98 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.5754, allocations: 46.56 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.5754, allocations: 27.98 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5754, allocations: 3.938 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.5756, allocations: 97.59 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5757, allocations: 9.562 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.5757, allocations: 0 / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5757, allocations: 3.984 kB / 0.6054 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.5758, allocations: 15.98 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5758, allocations: 8.25 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.5759, allocations: 7.953 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5759, allocations: 7.938 kB / 0.6054 GB, free: 12.81 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 9.825e-05/0.576, allocations: 130.2 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.576, allocations: 11.81 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5763, allocations: 114.3 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5763, allocations: 4 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5763, allocations: 0 / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5763, allocations: 4 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.5767, allocations: 407.3 kB / 0.606 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5768, allocations: 4 kB / 0.6061 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.5768, allocations: 11.98 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.5768, allocations: 0 / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.5768, allocations: 0 / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5768, allocations: 7.953 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5768, allocations: 0 / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.5771, allocations: 222 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.5772, allocations: 89 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.5772, allocations: 7.953 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.5773, allocations: 7.984 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.5773, allocations: 4 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5773, allocations: 4 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.5774, allocations: 123.2 kB / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5775, allocations: 0 / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.5778, allocations: 43.92 kB / 0.6065 GB, free: 11.52 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.001579/0.5793, allocations: 1.251 MB / 0.6078 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.5795, allocations: 63.91 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5795, allocations: 3.938 kB / 0.6078 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.5796, allocations: 28 kB / 0.6079 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5799, allocations: 27.91 kB / 0.6079 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.581, allocations: 0.7924 MB / 0.6087 GB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5813, allocations: 0.7004 MB / 0.6093 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.5814, allocations: 12.56 kB / 0.6094 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.5814, allocations: 35.41 kB / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5814, allocations: 0 / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.6007, allocations: 3.094 MB / 0.6124 GB, free: 5.734 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.601, allocations: 216.9 kB / 0.6126 GB, free: 5.496 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.248, allocations: 0 / 0.6126 GB, free: 5.496 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat