Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 82.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.109e-05, allocations: 4 kB / 321.6 MB, free: 17.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 47.58 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5238, allocations: 76.43 MB / 445.6 MB, free: 468 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5241, allocations: 68.41 kB / 445.7 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.5346, allocations: 2.388 MB / 448.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5347, allocations: 0 / 448.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.5347, allocations: 4 kB / 448.1 MB, free: 14.38 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006788/0.5354, allocations: 418.3 kB / 448.5 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.5355, allocations: 12.03 kB / 448.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.5355, allocations: 37.98 kB / 448.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.5356, allocations: 11.91 kB / 448.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.536, allocations: 205.5 kB / 448.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.536, allocations: 16.12 kB / 448.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.536, allocations: 15.47 kB / 448.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.5363, allocations: 104.2 kB / 448.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5364, allocations: 7.984 kB / 448.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5364, allocations: 0 / 448.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5364, allocations: 0 / 448.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.5366, allocations: 45.25 kB / 448.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.5376, allocations: 0.5515 MB / 449.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.5378, allocations: 78.58 kB / 449.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.5379, allocations: 28.11 kB / 449.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.538, allocations: 3.953 kB / 449.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.538, allocations: 41.92 kB / 449.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.538, allocations: 0 / 449.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007946/0.5388, allocations: 355.7 kB / 450 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5389, allocations: 51.41 kB / 450 MB, free: 12.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.5391, allocations: 136.4 kB / 450.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5391, allocations: 28.95 kB / 450.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5392, allocations: 180 kB / 450.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.5393, allocations: 38.62 kB / 450.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-06/0.5393, allocations: 7.062 kB / 450.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5395, allocations: 313.8 kB / 450.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.5396, allocations: 29.62 kB / 450.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.5397, allocations: 56.17 kB / 450.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.5398, allocations: 27.11 kB / 450.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5398, allocations: 0 / 450.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002939/0.5401, allocations: 116.5 kB / 450.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5402, allocations: 15.98 kB / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5402, allocations: 0 / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5402, allocations: 0 / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.5405, allocations: 43.16 kB / 451 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5406, allocations: 0 / 451 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.5407, allocations: 23.92 kB / 451 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5408, allocations: 7.375 kB / 451 MB, free: 11.39 MB / 330.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: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001005/0.5409, allocations: 111.9 kB / 451.1 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.5409, allocations: 7.906 kB / 451.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.541, allocations: 22.44 kB / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.541, allocations: 0 / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.541, allocations: 0 / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.541, allocations: 0 / 451.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.5418, allocations: 419 kB / 451.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5418, allocations: 0 / 451.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.5422, allocations: 35.97 kB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.5422, allocations: 0 / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.5422, allocations: 7.531 kB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5422, allocations: 4.281 kB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5422, allocations: 0 / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.5427, allocations: 247.7 kB / 451.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.5427, allocations: 85.02 kB / 451.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.5428, allocations: 3.312 kB / 451.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.543, allocations: 20.03 kB / 452 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.5431, allocations: 11.77 kB / 452 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5431, allocations: 7.984 kB / 452 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.5432, allocations: 113.8 kB / 452.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5432, allocations: 0 / 452.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00035/0.5436, allocations: 27.31 kB / 452.1 MB, free: 10.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008116/0.5444, allocations: 0.8479 MB / 453 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.5447, allocations: 70.69 kB / 453 MB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5447, allocations: 1 kB / 453 MB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.5449, allocations: 43.16 kB / 453.1 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.5453, allocations: 39.86 kB / 453.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.5462, allocations: 275.9 kB / 453.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.5465, allocations: 0.7242 MB / 454.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.5467, allocations: 35.38 kB / 454.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5467, allocations: 0 / 454.1 MB, free: 8.266 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.811/3.358, allocations: 2.123 MB / 456.3 MB, free: 6.164 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat