Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.001842/0.001842, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 86.06 kB / 281.6 MB, free: 5.32 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.1988/0.1988, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.611e-05, allocations: 12.16 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5356, allocations: 88.4 MB / 0.5811 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5359, allocations: 71.97 kB / 0.5812 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.5532, allocations: 6.603 MB / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5533, allocations: 0 / 0.5876 GB, free: 1.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.641e-05/0.5533, allocations: 8 kB / 0.5876 GB, free: 1.352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007071/0.554, allocations: 0.5909 MB / 0.5882 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5541, allocations: 15.98 kB / 0.5882 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.5542, allocations: 51.34 kB / 0.5883 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.555, allocations: 475.1 kB / 0.5887 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.555, allocations: 3.953 kB / 0.5887 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.555, allocations: 4 kB / 0.5887 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.337e-05/0.5551, allocations: 27.98 kB / 0.5888 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5553, allocations: 83.3 kB / 0.5888 GB, free: 12 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.5553, allocations: 0 / 0.5888 GB, free: 12 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5553, allocations: 4 kB / 0.5888 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5553, allocations: 0 / 0.5888 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.5557, allocations: 354.9 kB / 0.5892 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.5559, allocations: 89.34 kB / 0.5893 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.556, allocations: 45.73 kB / 0.5893 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.556, allocations: 3.953 kB / 0.5893 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.5562, allocations: 97.84 kB / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.5562, allocations: 0 / 0.5894 GB, free: 15.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003176/0.5565, allocations: 161 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5565, allocations: 81.11 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.5577, allocations: 0.8848 MB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.5577, allocations: 25.7 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5579, allocations: 232 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.5579, allocations: 27.66 kB / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.558, allocations: 0 / 0.5908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5581, allocations: 366.8 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.5582, allocations: 28 kB / 0.5912 GB, free: 13.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.5583, allocations: 53.3 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.5583, allocations: 35.92 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5584, allocations: 0 / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002137/0.5586, allocations: 145 kB / 0.5914 GB, free: 13.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5586, allocations: 7.953 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5586, allocations: 4 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5586, allocations: 256 / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5588, allocations: 32.05 kB / 0.5914 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5588, allocations: 4 kB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5589, allocations: 15.84 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.5589, allocations: 4 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.648e-05/0.559, allocations: 116.8 kB / 0.5916 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002377/0.5593, allocations: 161 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.5594, allocations: 55.3 kB / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.5596, allocations: 181.8 kB / 0.5919 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5596, allocations: 0 / 0.5919 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5597, allocations: 4 kB / 0.5919 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5597, allocations: 0 / 0.5919 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.56, allocations: 365.8 kB / 0.5923 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.56, allocations: 3.938 kB / 0.5923 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.5601, allocations: 11.98 kB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5601, allocations: 3.953 kB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5601, allocations: 4 kB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5601, allocations: 0 / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5601, allocations: 0 / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5604, allocations: 211.5 kB / 0.5925 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.5606, allocations: 200.3 kB / 0.5927 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.5607, allocations: 8 kB / 0.5927 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.5608, allocations: 7.984 kB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.5608, allocations: 11.94 kB / 0.5927 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5609, allocations: 11.98 kB / 0.5927 GB, free: 11.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007497/0.5616, allocations: 0.6941 MB / 0.5934 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5616, allocations: 0 / 0.5934 GB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.5619, allocations: 79.94 kB / 0.5935 GB, free: 10.99 MB / 410.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001255/0.5632, allocations: 1.056 MB / 0.5945 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.5634, allocations: 79.86 kB / 0.5946 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5634, allocations: 0 / 0.5946 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.5635, allocations: 44.34 kB / 0.5946 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5638, allocations: 70.23 kB / 0.5947 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5652, allocations: 0.8502 MB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.5656, allocations: 0.8508 MB / 0.5964 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.5658, allocations: 87.27 kB / 0.5965 GB, free: 7.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.566, allocations: 163.3 kB / 0.5966 GB, free: 7.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.566, allocations: 0 / 0.5966 GB, free: 7.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.5942, allocations: 7.969 MB / 0.6044 GB, free: 15.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.5945, allocations: 161.3 kB / 0.6045 GB, free: 15.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.603, allocations: 0 / 0.6045 GB, free: 15.63 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat