Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001019/0.001019, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.479/1.479, 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.0008912/0.0008912, allocations: 103.2 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.3159/0.3159, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5332, allocations: 89.26 MB / 0.5968 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5335, allocations: 83.92 kB / 0.5969 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.5494, allocations: 5.492 MB / 0.6022 GB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5495, allocations: 3.938 kB / 0.6023 GB, free: 316 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.5495, allocations: 4 kB / 0.6023 GB, free: 312 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.000595/0.5501, allocations: 418.9 kB / 0.6027 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5502, allocations: 8.031 kB / 0.6027 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.5502, allocations: 38.5 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.5503, allocations: 15.84 kB / 0.6027 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.5506, allocations: 211.9 kB / 0.6029 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5507, allocations: 15.94 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5507, allocations: 0 / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.5509, allocations: 57.67 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5509, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5509, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5509, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.551, allocations: 23.92 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.5514, allocations: 288.9 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.5516, allocations: 58.67 kB / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5516, allocations: 0 / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.5518, allocations: 75.44 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.5518, allocations: 0 / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006191/0.5524, allocations: 181.2 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.5525, allocations: 55.41 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.5527, allocations: 167.1 kB / 0.6038 GB, free: 14.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5527, allocations: 29.7 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.5528, allocations: 100.1 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.5528, allocations: 27.64 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.5528, allocations: 3.938 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.553, allocations: 330.8 kB / 0.6043 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.5531, allocations: 23.98 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.5532, allocations: 33.7 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.5532, allocations: 28.17 kB / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5533, allocations: 0 / 0.6044 GB, free: 13.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.5535, allocations: 101.4 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5535, allocations: 4 kB / 0.6045 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5535, allocations: 4.031 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5535, allocations: 4 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.5536, allocations: 15.98 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5537, allocations: 0 / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.5537, allocations: 8.375 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5537, allocations: 7.938 kB / 0.6045 GB, free: 13.79 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.0001288/0.5539, allocations: 136.5 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.5539, allocations: 7.906 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.5542, allocations: 122.3 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5542, allocations: 0 / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5542, allocations: 8 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5542, allocations: 0 / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.5548, allocations: 419.2 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5548, allocations: 0 / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.5549, allocations: 8 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.5549, allocations: 0 / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5549, allocations: 12.03 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5549, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5549, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.5552, allocations: 230.1 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.5553, allocations: 89.02 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.5554, allocations: 7.984 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.5554, allocations: 8 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5555, allocations: 7.953 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5555, allocations: 7.984 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.5556, allocations: 140.1 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5556, allocations: 0 / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002727/0.5559, allocations: 35.92 kB / 0.6057 GB, free: 12.46 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.001658/0.5576, allocations: 1.202 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5578, allocations: 51.92 kB / 0.6069 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5578, allocations: 0 / 0.6069 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.5579, allocations: 31.98 kB / 0.6069 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5582, allocations: 34.42 kB / 0.607 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.5596, allocations: 0.8731 MB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.5599, allocations: 0.716 MB / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.792e-05/0.56, allocations: 16.41 kB / 0.6085 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.56, allocations: 35.42 kB / 0.6086 GB, free: 9.57 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.56, allocations: 0 / 0.6086 GB, free: 9.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.5749, allocations: 3.004 MB / 0.6115 GB, free: 6.699 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.5751, allocations: 218.2 kB / 0.6117 GB, free: 6.449 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.175, allocations: 0 / 0.6117 GB, free: 6.449 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat