Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",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.001485/0.001485, allocations: 174.4 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.38/1.38, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0008625/0.0008624, allocations: 85.98 kB / 281.6 MB, free: 5.262 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.2298/0.2298, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.915e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5969, allocations: 87.86 MB / 0.5806 GB, free: 8.492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5972, allocations: 63.97 kB / 0.5806 GB, free: 8.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.6108, allocations: 4.573 MB / 0.5851 GB, free: 3.879 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6108, allocations: 3.938 kB / 0.5851 GB, free: 3.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.6109, allocations: 4 kB / 0.5851 GB, free: 3.871 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000617/0.6115, allocations: 442.2 kB / 0.5855 GB, free: 3.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6115, allocations: 11.98 kB / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.6116, allocations: 15.81 kB / 0.5855 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.6119, allocations: 215.4 kB / 0.5857 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6119, allocations: 0 / 0.5857 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.612, allocations: 11.95 kB / 0.5858 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/0.6121, allocations: 55.98 kB / 0.5858 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.6123, allocations: 120.1 kB / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6123, allocations: 7.938 kB / 0.5859 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.6124, allocations: 3.938 kB / 0.5859 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6124, allocations: 0 / 0.5859 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.6132, allocations: 429 kB / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.6137, allocations: 166.6 kB / 0.5865 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.6138, allocations: 32.86 kB / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.6138, allocations: 0 / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.6138, allocations: 30.56 kB / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6138, allocations: 0 / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002513/0.6141, allocations: 93.66 kB / 0.5867 GB, free: 2.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.6142, allocations: 106.8 kB / 0.5868 GB, free: 1.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.6143, allocations: 136.5 kB / 0.5869 GB, free: 1.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.6143, allocations: 25.7 kB / 0.5869 GB, free: 1.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.6144, allocations: 108 kB / 0.587 GB, free: 1.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.6144, allocations: 19.72 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.6145, allocations: 0 / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6146, allocations: 322.8 kB / 0.5873 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.6146, allocations: 24.16 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.6147, allocations: 50.55 kB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.6148, allocations: 20 kB / 0.5874 GB, free: 1.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6148, allocations: 0 / 0.5874 GB, free: 1.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000155/0.6149, allocations: 89.58 kB / 0.5875 GB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.615, allocations: 94.25 kB / 0.5876 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.615, allocations: 4.031 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.615, allocations: 4 kB / 0.5876 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.6152, allocations: 44.7 kB / 0.5877 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6152, allocations: 4 kB / 0.5877 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.6154, allocations: 39.81 kB / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.6154, allocations: 4 kB / 0.5877 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.6154, allocations: 7.938 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.917e-05/0.6155, allocations: 39.98 kB / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.6155, allocations: 0 / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-06/0.6155, allocations: 0 / 0.5877 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.6156, allocations: 27.98 kB / 0.5878 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-06/0.6156, allocations: 3.938 kB / 0.5878 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.6157, allocations: 15.98 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.6157, allocations: 3.938 kB / 0.5878 GB, free: 0.8555 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.824e-05/0.6158, allocations: 108.9 kB / 0.5879 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001437/0.616, allocations: 81.97 kB / 0.588 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.616, allocations: 19.88 kB / 0.588 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.6161, allocations: 16.62 kB / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6161, allocations: 0 / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6161, allocations: 0 / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6161, allocations: 0 / 0.588 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.6164, allocations: 202 kB / 0.5882 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6164, allocations: 0 / 0.5882 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.6166, allocations: 39.97 kB / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6166, allocations: 7.938 kB / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6166, allocations: 0 / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6166, allocations: 80 / 0.5883 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6166, allocations: 3.984 kB / 0.5883 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.6169, allocations: 219.4 kB / 0.5885 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.617, allocations: 85.2 kB / 0.5885 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.617, allocations: 0 / 0.5885 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.6173, allocations: 52.02 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.6174, allocations: 7.984 kB / 0.5886 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.6174, allocations: 4 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.795e-05/0.6175, allocations: 107.8 kB / 0.5887 GB, free: 15.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6175, allocations: 0 / 0.5887 GB, free: 15.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003044/0.6178, allocations: 39.69 kB / 0.5887 GB, free: 15.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0006436/0.6184, allocations: 0.7435 MB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.6187, allocations: 92.47 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6187, allocations: 8 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.6187, allocations: 28 kB / 0.5896 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.6191, allocations: 23.97 kB / 0.5896 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.6196, allocations: 188.7 kB / 0.5898 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.6199, allocations: 0.7124 MB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.62, allocations: 20.38 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.6201, allocations: 35.42 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6201, allocations: 0 / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.6428, allocations: 2.792 MB / 0.5933 GB, free: 11.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.643, allocations: 117.5 kB / 0.5934 GB, free: 10.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.259, allocations: 0 / 0.5934 GB, free: 10.91 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat