Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001173/0.001173, allocations: 182 kB / 17.06 MB, free: 5.094 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.514/1.514, allocations: 223.2 MB / 241 MB, free: 11.91 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.0009919/0.0009918, allocations: 97.84 kB / 292.1 MB, free: 10.91 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.4281/0.4281, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.423, allocations: 61.9 MB / 0.5096 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5478, allocations: 89.52 MB / 0.5971 GB, free: 5.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5482, allocations: 83.91 kB / 0.5971 GB, free: 5.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5649, allocations: 6.172 MB / 0.6032 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.565, allocations: 0 / 0.6032 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.565, allocations: 4 kB / 0.6032 GB, free: 15.34 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.0005705/0.5656, allocations: 407 kB / 0.6036 GB, free: 14.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5656, allocations: 12.03 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.5657, allocations: 38.56 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.5657, allocations: 11.89 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.566, allocations: 212.1 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5661, allocations: 0 / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.5661, allocations: 4 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5663, allocations: 63.39 kB / 0.6039 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5663, allocations: 11.98 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5663, allocations: 4 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5663, allocations: 0 / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.5664, allocations: 19.98 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.5668, allocations: 296.7 kB / 0.6042 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.567, allocations: 62.67 kB / 0.6043 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.567, allocations: 0 / 0.6043 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.5671, allocations: 71.45 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5671, allocations: 0 / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.5677, allocations: 165.3 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.5678, allocations: 85.05 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.5679, allocations: 143.3 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.568, allocations: 33.7 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.568, allocations: 96.12 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.5681, allocations: 23.7 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5681, allocations: 3.938 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5682, allocations: 319.1 kB / 0.6052 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.5683, allocations: 23.98 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.5683, allocations: 38.56 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.795e-05/0.5684, allocations: 40.08 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5684, 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.0001846/0.5686, allocations: 97.52 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5686, allocations: 4 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5686, allocations: 4 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5687, allocations: 0 / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.5687, allocations: 15.98 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5688, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.5688, allocations: 15.98 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5688, allocations: 4 kB / 0.6054 GB, free: 12.82 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.226e-05/0.5689, allocations: 128.5 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.569, allocations: 15.81 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.5692, allocations: 114.3 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5692, allocations: 0 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5693, allocations: 384 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.5693, allocations: 4 kB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.5697, allocations: 415.3 kB / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5697, allocations: 0 / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.5698, allocations: 11.98 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5698, allocations: 4 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5698, allocations: 0 / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5698, allocations: 3.953 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5698, allocations: 4 kB / 0.6061 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.5701, allocations: 222.2 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.5702, allocations: 89 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.5702, allocations: 11.95 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.5703, allocations: 3.984 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.5703, allocations: 4 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.5703, allocations: 4 kB / 0.6064 GB, free: 11.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.5704, allocations: 129.5 kB / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5705, allocations: 0 / 0.6065 GB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.5707, allocations: 43.92 kB / 0.6066 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.001651/0.5724, allocations: 1.236 MB / 0.6078 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.5726, allocations: 67.89 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5726, allocations: 3.938 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.5727, allocations: 28 kB / 0.6079 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.573, allocations: 23.97 kB / 0.6079 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5743, allocations: 0.7924 MB / 0.6087 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.5746, allocations: 0.7043 MB / 0.6093 GB, free: 8.742 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.539e-05/0.5747, allocations: 12.56 kB / 0.6094 GB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.5748, allocations: 35.41 kB / 0.6094 GB, free: 8.695 MB / 426.7 MB Notification: Performance of SimCode: time 3.727e-06/0.5748, allocations: 7.938 kB / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.5961, allocations: 3.092 MB / 0.6124 GB, free: 5.738 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.5965, allocations: 209.8 kB / 0.6126 GB, free: 5.504 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.34, allocations: 0 / 0.6126 GB, free: 5.504 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat