Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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) 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(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",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.0009707/0.000971, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.000916/0.000916, allocations: 78.3 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.802e-05, allocations: 0 / 337.1 MB, free: 9.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09496, allocations: 50.42 MB / 387.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4105, allocations: 76.58 MB / 464.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4108, allocations: 63.97 kB / 464.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006754/0.4175, allocations: 2.434 MB / 466.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4176, allocations: 0 / 466.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.4176, allocations: 4 kB / 466.6 MB, free: 15.69 MB / 346.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.000515/0.4181, allocations: 411 kB / 467 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4182, allocations: 8.031 kB / 467 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.4182, allocations: 19.77 kB / 467.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4185, allocations: 207.4 kB / 467.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4185, allocations: 8 kB / 467.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4186, allocations: 7.938 kB / 467.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.453e-05/0.4187, allocations: 39.98 kB / 467.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4188, allocations: 100 kB / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4188, allocations: 4 kB / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4189, allocations: 0 / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4189, allocations: 448 / 467.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.4195, allocations: 0.517 MB / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.4197, allocations: 74.56 kB / 468 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.4198, allocations: 28.86 kB / 468 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.4198, allocations: 4.125 kB / 468 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4198, allocations: 34.5 kB / 468.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.4198, allocations: 0 / 468.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006311/0.4204, allocations: 326.1 kB / 468.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4205, allocations: 63.39 kB / 468.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4206, allocations: 136 kB / 468.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4207, allocations: 25.7 kB / 468.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.4207, allocations: 120.1 kB / 468.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.4208, allocations: 35.45 kB / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.4208, allocations: 0 / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4209, allocations: 326.8 kB / 469.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.421, allocations: 24 kB / 469.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.421, allocations: 52.84 kB / 469.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.4211, allocations: 27.98 kB / 469.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4211, allocations: 0 / 469.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001589/0.4213, allocations: 105.5 kB / 469.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4213, allocations: 8.453 kB / 469.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4213, allocations: 0 / 469.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4213, allocations: 8.094 kB / 469.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4215, allocations: 39.92 kB / 469.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4215, allocations: 4 kB / 469.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.4216, allocations: 21.73 kB / 469.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4216, allocations: 4 kB / 469.4 MB, free: 12.66 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 () * 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.763e-05/0.4217, allocations: 112.9 kB / 469.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001435/0.4219, allocations: 93.42 kB / 469.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4219, allocations: 7.906 kB / 469.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.422, allocations: 16.62 kB / 469.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.422, allocations: 0 / 469.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.422, allocations: 0 / 469.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.422, allocations: 3.953 kB / 469.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.4225, allocations: 379.8 kB / 470 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4225, allocations: 0 / 470 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4227, allocations: 35.97 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4227, allocations: 0 / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4227, allocations: 0 / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4227, allocations: 8 kB / 470 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4227, allocations: 7.984 kB / 470 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.423, allocations: 233.9 kB / 470.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.423, allocations: 85.02 kB / 470.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4231, allocations: 4 kB / 470.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4232, allocations: 23.98 kB / 470.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.4233, allocations: 7.984 kB / 470.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4233, allocations: 0 / 470.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.4234, allocations: 118.9 kB / 470.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4234, allocations: 0 / 470.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.4236, allocations: 16 kB / 470.5 MB, free: 11.43 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 () * 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.0006269/0.4242, allocations: 0.8381 MB / 471.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.4244, allocations: 63.88 kB / 471.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4245, allocations: 4 kB / 471.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.4245, allocations: 39.97 kB / 471.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4249, allocations: 33.59 kB / 471.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.4256, allocations: 225.3 kB / 471.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.426, allocations: 0.7162 MB / 472.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.4261, allocations: 9.219 kB / 472.4 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.4262, allocations: 39.42 kB / 472.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4262, allocations: 0 / 472.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4473, allocations: 2.345 MB / 474.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.4476, allocations: 125.5 kB / 474.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.039, allocations: 0 / 474.9 MB, free: 6.867 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat