Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1006, allocations: 53.32 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002975/0.1036, allocations: 1.689 MB / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.1045, allocations: 0.5143 MB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.1046, allocations: 7.938 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.1047, allocations: 11.86 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.1048, allocations: 31.72 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.1049, allocations: 39.95 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1051, allocations: 119.6 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1052, allocations: 25.09 kB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.1053, allocations: 43.78 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.1054, allocations: 47.72 kB / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1054, allocations: 8 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.1054, allocations: 8 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1054, allocations: 23.86 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.1055, allocations: 47.72 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1056, allocations: 95.45 kB / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1056, allocations: 0 / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1056, allocations: 0 / 429.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1056, allocations: 4 kB / 429.6 MB, free: 2.141 MB / 350.1 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.0005776/0.1062, allocations: 430.8 kB / 430 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1063, allocations: 8.031 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1063, allocations: 46.67 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1063, allocations: 12.84 kB / 430.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.1066, allocations: 220.7 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1066, allocations: 12.31 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1067, allocations: 19.88 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1069, allocations: 124.2 kB / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1069, allocations: 0 / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.107, allocations: 4 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.107, allocations: 4 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1072, allocations: 71.88 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.1078, allocations: 0.5477 MB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1082, allocations: 130.4 kB / 431.2 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.1083, allocations: 52.83 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1083, allocations: 4 kB / 431.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1083, allocations: 38.55 kB / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1084, allocations: 0 / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.1623/0.2707, allocations: 0.5005 MB / 431.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.2707, allocations: 55.36 kB / 431.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2708, allocations: 150 kB / 432 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.2708, allocations: 29.42 kB / 432 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.2709, allocations: 117.3 kB / 432.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2709, allocations: 39.98 kB / 432.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.271, allocations: 37.88 kB / 432.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.271, allocations: 323.2 kB / 432.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2711, allocations: 50.45 kB / 432.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.2713, allocations: 89.47 kB / 432.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.2715, allocations: 132.4 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2715, allocations: 1.5 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003369/0.2719, allocations: 176.4 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2719, allocations: 10 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2719, allocations: 0.7812 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2719, allocations: 1.938 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2721, allocations: 43.34 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2721, allocations: 1.219 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.2722, allocations: 16.11 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2722, allocations: 4.75 kB / 433 MB, free: 10.45 MB / 350.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.2722, allocations: 120.9 kB / 433.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.2723, allocations: 13.52 kB / 433.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.2723, allocations: 15.58 kB / 433.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2723, allocations: 1.531 kB / 433.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2723, allocations: 1.969 kB / 433.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2723, allocations: 3.281 kB / 433.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.2729, allocations: 0.4967 MB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2729, allocations: 1.75 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2731, allocations: 31.5 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2731, allocations: 8.5 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2731, allocations: 6.062 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2731, allocations: 0 / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2731, allocations: 4.906 kB / 433.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.2735, allocations: 323 kB / 434.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.2736, allocations: 91.09 kB / 434.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2736, allocations: 6 kB / 434.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2737, allocations: 9.203 kB / 434.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.2737, allocations: 23.02 kB / 434.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2737, allocations: 1.375 kB / 434.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.2738, allocations: 117.4 kB / 434.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2738, allocations: 0 / 434.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.274, allocations: 24.97 kB / 434.3 MB, free: 9.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/0.2746, allocations: 0.8446 MB / 435.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.2749, allocations: 117.7 kB / 435.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2749, allocations: 1.219 kB / 435.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.275, allocations: 67.55 kB / 435.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2754, allocations: 41.98 kB / 435.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2772, allocations: 1.942 MB / 437.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2773, allocations: 0.7126 MB / 438 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.2773, allocations: 16.14 kB / 438.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.2774, allocations: 39.16 kB / 438.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2774, allocations: 1.031 kB / 438.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/0.3046, allocations: 3.362 MB / 441.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/8.019, allocations: 12.12 kB / 441.5 MB, free: 6.488 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.26138524711132] Failed to read output from testmodel.py, exit status != 0: ['time', 'limit_a.y', 'limit_v.y', 'positionSmoothed.y'] 8.089016798883677 8.107979533 7.99881196 Calling exit ...