Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.00138/0.00138, 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.432/1.432, 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.0008854/0.0008854, allocations: 86.61 kB / 281.6 MB, free: 5.336 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.2153/0.2153, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.151e-05, allocations: 8.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6233, allocations: 88.53 MB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.6235, allocations: 71.97 kB / 0.5813 GB, free: 7.797 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.6393, allocations: 5.437 MB / 0.5866 GB, free: 2.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6393, allocations: 0 / 0.5866 GB, free: 2.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.6394, allocations: 4 kB / 0.5866 GB, free: 2.371 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.0004439/0.6398, allocations: 394.3 kB / 0.587 GB, free: 1.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6399, allocations: 15.97 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.6399, allocations: 7.906 kB / 0.587 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.6402, allocations: 218.7 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6402, allocations: 7.953 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.6403, allocations: 3.984 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.028e-05/0.6403, allocations: 16 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.6404, allocations: 53.67 kB / 0.5873 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6405, allocations: 0 / 0.5873 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6405, allocations: 4 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6405, allocations: 3.938 kB / 0.5873 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.6408, allocations: 269.4 kB / 0.5876 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.641, allocations: 46.69 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.641, allocations: 16.98 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.641, allocations: 4 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.6412, allocations: 67.39 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.6412, allocations: 0 / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004165/0.6416, allocations: 149.1 kB / 0.5878 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.6416, allocations: 55.41 kB / 0.5879 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.6418, allocations: 165.4 kB / 0.588 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6418, allocations: 25.7 kB / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.6419, allocations: 96.14 kB / 0.5882 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.6419, allocations: 27.7 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.6419, allocations: 0.75 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.642, allocations: 322.8 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.6421, allocations: 20 kB / 0.5885 GB, free: 232 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.6421, allocations: 41.58 kB / 0.5885 GB, free: 184 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.6422, allocations: 23.94 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.6422, allocations: 4 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.6423, allocations: 93.48 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6423, allocations: 8 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6423, allocations: 0 / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6424, allocations: 0 / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.6425, allocations: 15.94 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6425, allocations: 192 / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.6425, allocations: 15.92 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6425, allocations: 4 kB / 0.5887 GB, free: 12 kB / 394.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 0.0001062/0.6427, allocations: 115.2 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001379/0.6428, allocations: 101.5 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.6428, allocations: 11.81 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.643, allocations: 102.3 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.643, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.643, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.643, allocations: 3.984 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.6434, allocations: 375.8 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6434, allocations: 4.031 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.6435, allocations: 19.86 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6435, allocations: 4 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6435, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6435, allocations: 0 / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6435, allocations: 4 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.6437, allocations: 217.8 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.6438, allocations: 93 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.6438, allocations: 0 / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.6439, allocations: 4 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.6439, allocations: 11.94 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.6439, allocations: 8.375 kB / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.644, allocations: 129 kB / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.644, allocations: 0 / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.6443, allocations: 31.98 kB / 0.5899 GB, free: 14.7 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.001217/0.6455, allocations: 1.112 MB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.6457, allocations: 51.92 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6457, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.6458, allocations: 27.94 kB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.646, allocations: 32 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.6465, allocations: 214.9 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6468, allocations: 0.7118 MB / 0.592 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.6469, allocations: 20.41 kB / 0.592 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.647, allocations: 39.42 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.647, allocations: 0 / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.6687, allocations: 2.641 MB / 0.5946 GB, free: 9.844 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.669, allocations: 175.1 kB / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.214, allocations: 0 / 0.5948 GB, free: 9.645 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat