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.001471/0.001471, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001762/0.001762, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.571/1.571, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.002136/0.002136, allocations: 72.75 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3715, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003647/0.3751, allocations: 1.717 MB / 433.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3763, allocations: 0.5181 MB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3764, allocations: 7.938 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.3765, allocations: 11.86 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3766, allocations: 31.78 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3768, allocations: 47.89 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.377, allocations: 119.6 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3772, allocations: 21.3 kB / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3773, allocations: 43.73 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3774, allocations: 43.78 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3774, allocations: 8 kB / 434.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.3774, allocations: 8 kB / 434.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.3775, allocations: 23.91 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.3775, allocations: 47.61 kB / 434.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3777, allocations: 95.09 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3777, allocations: 0 / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3777, allocations: 4 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3777, allocations: 0 / 434.6 MB, free: 4.137 MB / 334.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.0006555/0.3784, allocations: 357.4 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3784, allocations: 8.031 kB / 435 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.3785, allocations: 38.75 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.3785, allocations: 20.83 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.3788, allocations: 154.9 kB / 435.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3789, allocations: 8.375 kB / 435.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.3789, allocations: 15.89 kB / 435.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3792, allocations: 136.1 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3792, allocations: 0 / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3792, allocations: 4 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3792, allocations: 7.984 kB / 435.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3794, allocations: 63.89 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.3802, allocations: 0.5233 MB / 436 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.3806, allocations: 122.5 kB / 436.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3807, allocations: 52.81 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3807, allocations: 8.188 kB / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3808, allocations: 38.5 kB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.3808, allocations: 0 / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001222/0.382, allocations: 444.7 kB / 436.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.382, allocations: 55.34 kB / 436.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3822, allocations: 147.1 kB / 436.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3822, allocations: 29.7 kB / 436.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.3823, allocations: 108 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3823, allocations: 55.56 kB / 437 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.3824, allocations: 33.7 kB / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3826, allocations: 326.8 kB / 437.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3827, allocations: 47.95 kB / 437.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3829, allocations: 94.27 kB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.3832, allocations: 134.6 kB / 437.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3832, allocations: 0.9375 kB / 437.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003697/0.3835, allocations: 181.5 kB / 437.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3835, allocations: 7.938 kB / 437.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3836, allocations: 0 / 437.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3836, allocations: 4 kB / 437.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3838, allocations: 40 kB / 437.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3838, allocations: 8 kB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.3838, allocations: 11.98 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3839, allocations: 8 kB / 437.9 MB, free: 0.6484 MB / 334.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 0.0001134/0.384, allocations: 121.8 kB / 438 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.384, allocations: 23.78 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.384, allocations: 12.72 kB / 438 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.384, allocations: 3.938 kB / 438 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3841, allocations: 0 / 438 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3841, allocations: 7.984 kB / 438 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.3849, allocations: 459.1 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3849, allocations: 8.047 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.385, allocations: 35.97 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3851, allocations: 0 / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3851, allocations: 4 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3851, allocations: 0 / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3851, allocations: 0 / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.3856, allocations: 324.9 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.3857, allocations: 15.91 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3857, allocations: 0 / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3858, allocations: 19.97 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.3858, allocations: 15.98 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3858, allocations: 4 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.3859, allocations: 114.9 kB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3859, allocations: 0 / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3862, allocations: 23.94 kB / 439 MB, free: 15.39 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.0008549/0.3871, allocations: 0.839 MB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.3874, allocations: 123.8 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3874, allocations: 0 / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3876, allocations: 67.83 kB / 440.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.388, allocations: 40.5 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.3906, allocations: 1.943 MB / 442.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.391, allocations: 0.7161 MB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.3911, allocations: 17.42 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.3912, allocations: 39.42 kB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3912, allocations: 0 / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.4234, allocations: 3.431 MB / 446.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.943, allocations: 10.75 kB / 446.3 MB, free: 8.109 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.45705122500658] Failed to read output from testmodel.py, exit status != 0: ['time', 'limit_a.y', 'limit_v.y', 'positionSmoothed.y'] 9.018743491265923 9.043852647 8.660877045 Calling exit ...