Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.0009812/0.0009812, 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.372/1.372, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009207/0.0009207, allocations: 97.06 kB / 281.6 MB, free: 5.328 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.1996/0.1996, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.019e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4869, allocations: 88.4 MB / 0.5811 GB, free: 7.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4872, allocations: 67.97 kB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.504, allocations: 6.599 MB / 0.5876 GB, free: 1.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.504, allocations: 4 kB / 0.5876 GB, free: 1.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.5041, allocations: 7.938 kB / 0.5876 GB, free: 1.285 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.0007105/0.5048, allocations: 0.5949 MB / 0.5882 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5048, allocations: 15.98 kB / 0.5882 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.5049, allocations: 47.34 kB / 0.5883 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.5056, allocations: 479.1 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.5057, allocations: 7.953 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.5057, allocations: 3.984 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.578e-05/0.5058, allocations: 24 kB / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5059, allocations: 75.38 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.506, allocations: 7.938 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.506, allocations: 3.984 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.506, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.5064, allocations: 358.8 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5065, allocations: 85.34 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.5066, allocations: 41.8 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.5066, allocations: 3.953 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.5068, allocations: 105 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.5068, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002846/0.5071, allocations: 157 kB / 0.5896 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5071, allocations: 85.86 kB / 0.5896 GB, free: 15.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5082, allocations: 0.8809 MB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5082, allocations: 29.7 kB / 0.5905 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5083, allocations: 228.1 kB / 0.5907 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.5084, allocations: 27.64 kB / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.5084, allocations: 0 / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5086, allocations: 370.8 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.5086, allocations: 20 kB / 0.5911 GB, free: 13.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.5087, allocations: 55.36 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.5087, allocations: 31.98 kB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5087, allocations: 0 / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002112/0.509, allocations: 153 kB / 0.5914 GB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.509, allocations: 11.95 kB / 0.5914 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.509, allocations: 320 / 0.5914 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.509, allocations: 4 kB / 0.5914 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5091, allocations: 27.98 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5091, allocations: 3.938 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.5093, allocations: 11.91 kB / 0.5914 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.5093, allocations: 4 kB / 0.5914 GB, free: 13.12 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 8.335e-05/0.5094, allocations: 119 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002172/0.5096, allocations: 157.1 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.5097, allocations: 63.28 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.5099, allocations: 181.8 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5099, allocations: 4 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.51, allocations: 0 / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.51, allocations: 0 / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.5103, allocations: 361.8 kB / 0.5923 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5103, allocations: 0 / 0.5923 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.5103, allocations: 15.92 kB / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5103, allocations: 7.953 kB / 0.5923 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.5103, allocations: 0 / 0.5923 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5104, allocations: 4 kB / 0.5923 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5104, allocations: 4 kB / 0.5923 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5106, allocations: 203.5 kB / 0.5925 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.5108, allocations: 196.4 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.5109, allocations: 8 kB / 0.5927 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.511, allocations: 11.98 kB / 0.5927 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.511, allocations: 11.98 kB / 0.5927 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5111, allocations: 8 kB / 0.5927 GB, free: 11.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006725/0.5117, allocations: 0.6902 MB / 0.5934 GB, free: 11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5117, allocations: 0 / 0.5934 GB, free: 11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.512, allocations: 83.94 kB / 0.5935 GB, free: 10.92 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.001069/0.5131, allocations: 1.062 MB / 0.5945 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.5133, allocations: 75.86 kB / 0.5946 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5133, allocations: 0 / 0.5946 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.5133, allocations: 36.31 kB / 0.5946 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.5137, allocations: 75.8 kB / 0.5947 GB, free: 9.719 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.5149, allocations: 0.8541 MB / 0.5955 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5152, allocations: 0.8469 MB / 0.5964 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.5154, allocations: 95.25 kB / 0.5965 GB, free: 7.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.5155, allocations: 151.4 kB / 0.5966 GB, free: 7.707 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5156, allocations: 0 / 0.5966 GB, free: 7.707 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.5495, allocations: 7.982 MB / 0.6044 GB, free: 15.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.5498, allocations: 157.4 kB / 0.6045 GB, free: 15.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.559, allocations: 0 / 0.6045 GB, free: 15.55 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat