Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.001419/0.001424, allocations: 173.7 kB / 8.739 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.422/1.422, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0008205/0.0008206, allocations: 89.86 kB / 281.6 MB, free: 5.266 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.2114/0.2114, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.041e-05, allocations: 7.938 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 61.93 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5828, allocations: 88.51 MB / 0.5812 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5831, allocations: 75.97 kB / 0.5813 GB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.5982, allocations: 5.55 MB / 0.5867 GB, free: 2.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5983, allocations: 0 / 0.5867 GB, free: 2.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.5983, allocations: 0 / 0.5867 GB, free: 2.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000513/0.5988, allocations: 408.8 kB / 0.5871 GB, free: 1.789 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5989, allocations: 11.98 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.5989, allocations: 15.81 kB / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5993, allocations: 216.6 kB / 0.5873 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5993, allocations: 3.953 kB / 0.5873 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.5993, allocations: 7.938 kB / 0.5873 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.297e-05/0.5994, allocations: 19.98 kB / 0.5874 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.5995, allocations: 53.61 kB / 0.5874 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5996, allocations: 4 kB / 0.5874 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5996, allocations: 0 / 0.5874 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5996, allocations: 4 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.6, allocations: 273.4 kB / 0.5877 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6001, allocations: 50.69 kB / 0.5877 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.6002, allocations: 16.98 kB / 0.5877 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.6002, allocations: 0 / 0.5877 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.6004, allocations: 71.33 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.6004, allocations: 0.75 kB / 0.5878 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004688/0.6009, allocations: 157.2 kB / 0.588 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.6009, allocations: 55.34 kB / 0.588 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.6011, allocations: 189.4 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.6012, allocations: 29.7 kB / 0.5882 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.6012, allocations: 104.1 kB / 0.5883 GB, free: 396 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.6013, allocations: 31.64 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.6013, allocations: 0 / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6015, allocations: 330.8 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.6015, allocations: 12 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.6016, allocations: 29.8 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.6016, allocations: 27.94 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6016, allocations: 0 / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.6018, allocations: 93.47 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6018, allocations: 8 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6018, allocations: 0 / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6019, allocations: 0 / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.602, allocations: 23.98 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.602, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.602, allocations: 4 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.602, allocations: 0 / 0.5889 GB, free: 15.81 MB / 410.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 () * 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 9.849e-05/0.6021, allocations: 112.9 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000149/0.6023, allocations: 93.62 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6023, allocations: 19.81 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.6026, allocations: 115.4 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6026, allocations: 3.938 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6026, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6026, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.603, allocations: 383.8 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6031, allocations: 3.984 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.6031, allocations: 16.03 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6031, allocations: 0 / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.6031, allocations: 0 / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6031, allocations: 4 kB / 0.5896 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6031, allocations: 0 / 0.5896 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.6034, allocations: 214.1 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.6034, allocations: 105 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.6035, allocations: 3.938 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.6036, allocations: 4 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.6036, allocations: 11.94 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.6036, allocations: 4 kB / 0.5899 GB, free: 14.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.6038, allocations: 152.2 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6038, allocations: 0 / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.6041, allocations: 35.92 kB / 0.5901 GB, free: 14.45 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001342/0.6054, allocations: 1.103 MB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.6056, allocations: 48 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6056, allocations: 4 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.6056, allocations: 31.92 kB / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.6059, allocations: 28.06 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.6065, allocations: 235.4 kB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.6068, allocations: 0.7119 MB / 0.5922 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.6069, allocations: 20.48 kB / 0.5922 GB, free: 12.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.607, allocations: 35.42 kB / 0.5922 GB, free: 12.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.607, allocations: 4 kB / 0.5922 GB, free: 12.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.6283, allocations: 2.786 MB / 0.595 GB, free: 9.438 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.6285, allocations: 158.3 kB / 0.5951 GB, free: 9.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.174, allocations: 0 / 0.5951 GB, free: 9.25 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat