Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001272/0.001272, allocations: 177.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.51/1.51, allocations: 223.2 MB / 241 MB, free: 10.14 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.0009641/0.0009643, allocations: 86.67 kB / 292.1 MB, free: 10.68 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.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005763/0.0005763, allocations: 16 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4179, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.5357, allocations: 89.12 MB / 0.5967 GB, free: 5.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.536, allocations: 83.91 kB / 0.5968 GB, free: 5.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.5516, allocations: 5.745 MB / 0.6024 GB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5516, allocations: 0 / 0.6024 GB, free: 136 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5517, allocations: 4 kB / 0.6024 GB, free: 132 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005436/0.5522, allocations: 434.7 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5523, allocations: 8.031 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.5523, allocations: 38.5 kB / 0.6028 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.5524, allocations: 15.81 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.5527, allocations: 222.8 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5527, allocations: 4 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.5527, allocations: 3.953 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.5529, allocations: 53.66 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.5529, allocations: 0 / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5529, allocations: 0 / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5529, allocations: 0 / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.553, allocations: 19.92 kB / 0.6031 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.5532, allocations: 201.6 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5533, allocations: 54.72 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.5534, allocations: 3.984 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.5535, allocations: 71.34 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.5535, allocations: 0 / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002715/0.5538, allocations: 105.4 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.5539, allocations: 55.41 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.5541, allocations: 239.2 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.5541, allocations: 25.7 kB / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.5542, allocations: 108.1 kB / 0.604 GB, free: 14.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.5542, allocations: 11.91 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.5543, allocations: 0 / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5544, allocations: 326.8 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.5544, allocations: 12 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.5545, allocations: 37.7 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.5545, allocations: 12 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5545, allocations: 0 / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001513/0.5547, allocations: 93.42 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5547, allocations: 11.95 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5547, allocations: 0 / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5548, allocations: 0 / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.5548, allocations: 11.94 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5548, allocations: 15.95 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.5549, allocations: 0 / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.5549, allocations: 4 kB / 0.6045 GB, free: 13.74 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 (7): * Single equations (assignments): 7 * 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.0001083/0.555, allocations: 138.3 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.5551, allocations: 11.81 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.5553, allocations: 106.6 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5553, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5553, allocations: 0 / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5553, allocations: 4 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.5555, allocations: 205.5 kB / 0.6049 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5555, allocations: 0 / 0.6049 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.5556, allocations: 7.938 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5556, allocations: 0 / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5556, allocations: 7.922 kB / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5556, allocations: 8.328 kB / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5556, allocations: 0 / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.5558, allocations: 117 kB / 0.605 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.5559, allocations: 100.9 kB / 0.6051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.5559, allocations: 3.984 kB / 0.6051 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.556, allocations: 4 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.556, allocations: 3.953 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.556, allocations: 4 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.5562, allocations: 196.5 kB / 0.6053 GB, free: 12.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5562, allocations: 0 / 0.6053 GB, free: 12.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.5564, allocations: 31.98 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001335/0.5578, allocations: 0.971 MB / 0.6063 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.558, allocations: 43.92 kB / 0.6064 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.558, allocations: 0 / 0.6064 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.558, allocations: 27.98 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5583, allocations: 34.17 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5596, allocations: 0.9718 MB / 0.6074 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.56, allocations: 0.7146 MB / 0.6081 GB, free: 10 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.56, allocations: 24.42 kB / 0.6081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.5601, allocations: 39.42 kB / 0.6081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5601, allocations: 0 / 0.6081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.5739, allocations: 3.146 MB / 0.6112 GB, free: 6.926 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5741, allocations: 225.3 kB / 0.6114 GB, free: 6.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.281, allocations: 0 / 0.6114 GB, free: 6.68 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat