Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.001253/0.001253, allocations: 177 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.353/1.353, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008297/0.0008296, allocations: 90.83 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.4267/0.4267, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3535, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4861, allocations: 89.29 MB / 0.5968 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/0.4866, allocations: 83.92 kB / 0.5969 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.5042, allocations: 5.766 MB / 0.6026 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5043, allocations: 3.938 kB / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.5043, allocations: 0 / 0.6026 GB, free: 15.95 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.0007255/0.505, allocations: 434.7 kB / 0.603 GB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5051, allocations: 16.02 kB / 0.603 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.5052, allocations: 34.56 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.5053, allocations: 15.84 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.5056, allocations: 225.7 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5057, allocations: 3.953 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5057, allocations: 7.938 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5059, allocations: 57.66 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5059, allocations: 0 / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5059, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5059, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.506, allocations: 15.98 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.5065, allocations: 300.9 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5067, allocations: 62.61 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.5067, allocations: 4 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.5069, allocations: 67.5 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5069, allocations: 4 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006343/0.5075, allocations: 181.1 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.5076, allocations: 55.41 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.5079, allocations: 193.8 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.5079, allocations: 29.7 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.508, allocations: 112.1 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.508, allocations: 23.64 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.508, allocations: 4 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5082, allocations: 327 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.5083, allocations: 27.92 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.5084, allocations: 33.7 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.5084, allocations: 28 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5084, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.5087, allocations: 105.4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5087, allocations: 8 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5087, allocations: 0 / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5087, allocations: 0 / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.5088, allocations: 15.98 kB / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5089, allocations: 4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.5089, allocations: 0 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.509, allocations: 12.12 kB / 0.6049 GB, free: 13.35 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.0001346/0.5091, allocations: 133.8 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5091, allocations: 15.84 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.5094, allocations: 126.9 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5095, allocations: 0 / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5095, allocations: 0 / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5095, allocations: 4.375 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.5101, allocations: 423.2 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5101, allocations: 4 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.5102, allocations: 19.92 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.5102, allocations: 0 / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5102, allocations: 0 / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5102, allocations: 4 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5102, allocations: 0 / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.5105, allocations: 237.8 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.5106, allocations: 89.02 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.5107, allocations: 4 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.5108, allocations: 7.984 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.5108, allocations: 7.953 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.5108, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.511, allocations: 172.3 kB / 0.6061 GB, free: 12.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.511, allocations: 4 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003083/0.5114, allocations: 43.92 kB / 0.6061 GB, free: 11.96 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.001649/0.513, allocations: 1.187 MB / 0.6073 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.5132, allocations: 67.89 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5133, allocations: 0 / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.5133, allocations: 35.92 kB / 0.6074 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.5137, allocations: 30.48 kB / 0.6074 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.5153, allocations: 0.9551 MB / 0.6083 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.5157, allocations: 0.7082 MB / 0.609 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.5157, allocations: 20.55 kB / 0.609 GB, free: 9.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.5158, allocations: 39.42 kB / 0.6091 GB, free: 8.996 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.5158, allocations: 0 / 0.6091 GB, free: 8.996 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.5328, allocations: 3.233 MB / 0.6122 GB, free: 5.902 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.5331, allocations: 214.2 kB / 0.6124 GB, free: 5.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.221, allocations: 3.938 kB / 0.6124 GB, free: 5.656 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat