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.001877/0.001881, allocations: 185.9 kB / 16.4 MB, free: 5.75 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.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001158/0.001158, allocations: 84.75 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.000385, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3282, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4523, allocations: 76.53 MB / 451.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.4526, allocations: 67.97 kB / 451.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.4628, allocations: 2.402 MB / 453.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4629, allocations: 0 / 453.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4629, allocations: 4 kB / 453.6 MB, free: 1.648 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.0007708/0.4637, allocations: 429 kB / 454 MB, free: 1.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4638, allocations: 8.031 kB / 454.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.4638, allocations: 46.55 kB / 454.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.4639, allocations: 11.81 kB / 454.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4642, allocations: 200 kB / 454.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.4642, allocations: 15.95 kB / 454.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.4643, allocations: 19.98 kB / 454.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.4648, allocations: 142.2 kB / 454.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.4648, allocations: 3.984 kB / 454.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.4648, allocations: 4 kB / 454.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4648, allocations: 4.438 kB / 454.5 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.4652, allocations: 75.86 kB / 454.6 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.4662, allocations: 0.5516 MB / 455.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.4669, allocations: 150.4 kB / 455.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4669, allocations: 7.938 kB / 455.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.467, allocations: 34.52 kB / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.467, allocations: 0 / 455.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001851/0.4688, allocations: 0.5292 MB / 455.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4689, allocations: 51.41 kB / 455.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4691, allocations: 140.3 kB / 456 MB, free: 15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4691, allocations: 25.7 kB / 456 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4692, allocations: 174.7 kB / 456.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.4693, allocations: 43.38 kB / 456.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.4693, allocations: 0 / 456.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4695, allocations: 326.8 kB / 456.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4698, allocations: 55.91 kB / 456.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.4701, allocations: 87.39 kB / 456.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.4704, allocations: 59.97 kB / 456.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4704, allocations: 0 / 456.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006797/0.4711, allocations: 186.2 kB / 457 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4711, allocations: 9.047 kB / 457 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4711, allocations: 0 / 457 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.4712, allocations: 4 kB / 457 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.4715, allocations: 43.97 kB / 457 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4715, allocations: 4 kB / 457 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.4717, allocations: 19.98 kB / 457 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4717, allocations: 4 kB / 457 MB, free: 13.94 MB / 346.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 () * Number of clocked 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.0001289/0.4719, allocations: 117.8 kB / 457.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.4719, allocations: 15.81 kB / 457.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.472, allocations: 21.42 kB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.472, allocations: 0 / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.472, allocations: 0 / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.472, allocations: 3.984 kB / 457.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.4732, allocations: 479.2 kB / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4732, allocations: 3.953 kB / 457.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.4735, allocations: 39.95 kB / 457.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4735, allocations: 0 / 457.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4736, allocations: 0 / 457.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4736, allocations: 4 kB / 457.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4736, allocations: 3.984 kB / 457.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.4746, allocations: 345.8 kB / 458.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.4747, allocations: 81.02 kB / 458.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4747, allocations: 4 kB / 458.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.4749, allocations: 23.98 kB / 458.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.475, allocations: 7.984 kB / 458.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.475, allocations: 8 kB / 458.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4751, allocations: 115.9 kB / 458.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4751, allocations: 0 / 458.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.4755, allocations: 28 kB / 458.3 MB, free: 12.55 MB / 346.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 () * Number of clocked 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.001326/0.4769, allocations: 0.9358 MB / 459.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.4776, allocations: 147.9 kB / 459.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4776, allocations: 0 / 459.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.4779, allocations: 72.12 kB / 459.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.4784, allocations: 32.09 kB / 459.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.4811, allocations: 1.42 MB / 460.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4815, allocations: 0.7165 MB / 461.6 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4816, allocations: 35.42 kB / 461.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.4816, allocations: 4 kB / 461.7 MB, free: 9.066 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.45/2.932, allocations: 2.147 MB / 463.8 MB, free: 6.926 MB / 346.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