Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_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.001415/0.001415, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008836/0.0008835, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 7.984 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09132, allocations: 47.56 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.3942, allocations: 76.43 MB / 446.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3944, allocations: 67.22 kB / 446.6 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006268/0.4007, allocations: 2.396 MB / 449 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4008, allocations: 0 / 449 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.4008, allocations: 3.938 kB / 449 MB, free: 14.73 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.0004299/0.4012, allocations: 416 kB / 449.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.4013, allocations: 8.031 kB / 449.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.4013, allocations: 44.73 kB / 449.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.4014, allocations: 7.906 kB / 449.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.4016, allocations: 214.3 kB / 449.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4016, allocations: 11.83 kB / 449.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.4017, allocations: 19.78 kB / 449.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.4019, allocations: 104.3 kB / 449.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4019, allocations: 0 / 449.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4019, allocations: 3.875 kB / 449.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4019, allocations: 4 kB / 449.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.402, allocations: 39.25 kB / 449.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.4027, allocations: 0.5518 MB / 450.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4028, allocations: 79.31 kB / 450.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.4029, allocations: 32.42 kB / 450.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.4029, allocations: 3.953 kB / 450.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4029, allocations: 34.56 kB / 450.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.4029, allocations: 0 / 450.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005858/0.4035, allocations: 352.5 kB / 450.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4036, allocations: 55.41 kB / 451 MB, free: 12.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4037, allocations: 136.7 kB / 451.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4037, allocations: 29.02 kB / 451.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.4038, allocations: 116.5 kB / 451.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.4038, allocations: 33.03 kB / 451.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4039, allocations: 7.125 kB / 451.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.404, allocations: 322.3 kB / 451.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.404, allocations: 24.56 kB / 451.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.4041, allocations: 58.14 kB / 451.7 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.4042, allocations: 32.38 kB / 451.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4042, allocations: 4 kB / 451.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001633/0.4043, allocations: 111.8 kB / 451.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4044, allocations: 7.953 kB / 451.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4044, allocations: 4 kB / 451.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4044, allocations: 4.094 kB / 451.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.4046, allocations: 42.59 kB / 451.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4046, allocations: 3.938 kB / 451.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.941e-05/0.4047, allocations: 19.92 kB / 451.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4047, allocations: 6.312 kB / 451.9 MB, free: 11.8 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 7.246e-05/0.4048, allocations: 112.3 kB / 452 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.4048, allocations: 11.81 kB / 452 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.4049, allocations: 22.25 kB / 452 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4049, allocations: 0 / 452 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4049, allocations: 0 / 452 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4049, allocations: 0 / 452 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.4054, allocations: 426.3 kB / 452.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4054, allocations: 0 / 452.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.4056, allocations: 35.97 kB / 452.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4056, allocations: 0 / 452.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4056, allocations: 0 / 452.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4056, allocations: 8.281 kB / 452.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4056, allocations: 0 / 452.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.4059, allocations: 254.7 kB / 452.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.4059, allocations: 81.02 kB / 452.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.4059, allocations: 4.094 kB / 452.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4061, allocations: 23.72 kB / 452.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4061, allocations: 15.91 kB / 452.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.4061, allocations: 4 kB / 452.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.4062, allocations: 114.9 kB / 453 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4062, allocations: 0 / 453 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.4064, allocations: 27.56 kB / 453 MB, free: 10.68 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.0005/0.4069, allocations: 0.8431 MB / 453.9 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.4071, allocations: 79.12 kB / 453.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4071, allocations: 1 kB / 453.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.4072, allocations: 35.19 kB / 454 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4075, allocations: 39.48 kB / 454 MB, free: 9.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.408, allocations: 248.4 kB / 454.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4082, allocations: 0.7164 MB / 455 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.051e-05/0.4083, allocations: 17.2 kB / 455 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.4083, allocations: 33.5 kB / 455 MB, free: 8.691 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4083, allocations: 0 / 455 MB, free: 8.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.4209, allocations: 2.693 MB / 457.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.4212, allocations: 147.1 kB / 457.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.902, allocations: 0 / 457.9 MB, free: 5.785 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat