Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001507/0.001507, allocations: 169 kB / 8.742 MB, free: 344 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.516/1.516, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.001025/0.001025, allocations: 96.75 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.2653/0.2653, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.05e-05, allocations: 12.2 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1555, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5742, allocations: 88.56 MB / 0.5813 GB, free: 7.789 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5745, allocations: 75.95 kB / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.59, allocations: 5.844 MB / 0.587 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.59, allocations: 0 / 0.587 GB, free: 1.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.59, allocations: 4 kB / 0.587 GB, free: 1.887 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.0004206/0.5905, allocations: 422.1 kB / 0.5874 GB, free: 1.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5905, allocations: 11.98 kB / 0.5875 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5906, allocations: 11.91 kB / 0.5875 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.5909, allocations: 234.2 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5909, allocations: 3.953 kB / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.5909, allocations: 0 / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.575e-05/0.591, allocations: 19.98 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.5911, allocations: 58.23 kB / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5911, allocations: 0 / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5911, allocations: 3.938 kB / 0.5878 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5911, allocations: 0 / 0.5878 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.5915, allocations: 289.3 kB / 0.5881 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.5916, allocations: 50.69 kB / 0.5881 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.5917, allocations: 28.92 kB / 0.5881 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5917, allocations: 0 / 0.5881 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.5918, allocations: 63.39 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5918, allocations: 0 / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004176/0.5922, allocations: 149.1 kB / 0.5883 GB, free: 420 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5923, allocations: 55.41 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5925, allocations: 222.1 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.5925, allocations: 33.7 kB / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.5926, allocations: 108.1 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.5926, allocations: 27.64 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5926, allocations: 0 / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5928, allocations: 326.8 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.5928, allocations: 16 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.5929, allocations: 41.64 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.5929, allocations: 19.95 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5929, allocations: 0 / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001385/0.5931, allocations: 105.5 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5931, allocations: 8 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5931, allocations: 0 / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5931, allocations: 0 / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.5932, allocations: 15.94 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5932, allocations: 4 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.5933, allocations: 3.984 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5933, allocations: 4 kB / 0.5893 GB, free: 15.39 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 7.518e-05/0.5934, allocations: 115.2 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001367/0.5935, allocations: 97.62 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.5936, allocations: 19.8 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.5938, allocations: 111.5 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5938, allocations: 4 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5938, allocations: 0 / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5938, allocations: 0 / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.5942, allocations: 404.1 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5942, allocations: 3.938 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.5942, allocations: 15.94 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5942, allocations: 3.938 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5943, allocations: 3.984 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.5943, allocations: 7.984 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5943, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.5945, allocations: 222 kB / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.5945, allocations: 96.92 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.5946, allocations: 7.984 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.5947, allocations: 4 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.5947, allocations: 7.953 kB / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5947, allocations: 7.984 kB / 0.5904 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.5949, allocations: 188.2 kB / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5949, allocations: 4 kB / 0.5905 GB, free: 13.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.5952, allocations: 31.94 kB / 0.5906 GB, free: 13.95 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.001247/0.5964, allocations: 1.096 MB / 0.5916 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.5966, allocations: 59.91 kB / 0.5917 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5966, allocations: 4.062 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.5966, allocations: 31.94 kB / 0.5917 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5969, allocations: 32.64 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.5975, allocations: 279.5 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.5978, allocations: 0.7158 MB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.5979, allocations: 32.47 kB / 0.5928 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.5979, allocations: 39.42 kB / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5979, allocations: 0 / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.618, allocations: 3.073 MB / 0.5958 GB, free: 8.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6183, allocations: 167.2 kB / 0.596 GB, free: 8.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.174, allocations: 3.938 kB / 0.596 GB, free: 8.395 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat