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.001301/0.001301, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001485/0.001485, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.001946/0.001946, allocations: 59.91 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2506, allocations: 53.38 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003023/0.2537, allocations: 1.705 MB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.2546, allocations: 0.5258 MB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.2547, allocations: 4 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2548, allocations: 15.8 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.2549, allocations: 31.8 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.255, allocations: 47.88 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2552, allocations: 107.6 kB / 434.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2554, allocations: 21.3 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.2554, allocations: 43.84 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2555, allocations: 51.64 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.2556, allocations: 8 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.2556, allocations: 8 kB / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.2556, allocations: 19.92 kB / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2556, allocations: 43.69 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2558, allocations: 108.3 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2558, allocations: 0 / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2558, allocations: 0 / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2558, allocations: 0 / 434.6 MB, free: 4.141 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.0006078/0.2564, allocations: 349.8 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2565, allocations: 12.03 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.2565, allocations: 38.75 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2566, allocations: 16.84 kB / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.2569, allocations: 158.8 kB / 435.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2569, allocations: 12.36 kB / 435.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.2569, allocations: 19.89 kB / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2572, allocations: 128.1 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2572, allocations: 4 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2572, allocations: 4 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2572, allocations: 4 kB / 435.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2574, allocations: 63.94 kB / 435.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.2582, allocations: 0.5233 MB / 436 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.2585, allocations: 126.4 kB / 436.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2586, allocations: 60.81 kB / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2587, allocations: 4 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.2587, allocations: 30.56 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.2587, allocations: 0 / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00113/0.2598, allocations: 452.8 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2599, allocations: 55.41 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.26, allocations: 147.1 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2601, allocations: 33.7 kB / 436.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.2601, allocations: 112 kB / 437 MB, free: 1.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.2602, allocations: 47.58 kB / 437 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.2602, allocations: 33.7 kB / 437 MB, free: 1.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2604, allocations: 322.8 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2605, allocations: 51.91 kB / 437.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2607, allocations: 91.44 kB / 437.5 MB, free: 1.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.261, allocations: 135.3 kB / 437.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.261, allocations: 0 / 437.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000358/0.2613, allocations: 173.5 kB / 437.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2613, allocations: 11.22 kB / 437.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2613, allocations: 0 / 437.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2614, allocations: 7.984 kB / 437.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2615, allocations: 40.02 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2615, allocations: 0.9375 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.2616, allocations: 15.98 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2616, allocations: 4 kB / 437.9 MB, free: 0.6523 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.0001122/0.2617, allocations: 125.8 kB / 438 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.2618, allocations: 15.84 kB / 438 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.2618, allocations: 16.72 kB / 438 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2618, allocations: 4 kB / 438 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2618, allocations: 0 / 438 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2618, allocations: 0 / 438 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.2626, allocations: 478.9 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2626, allocations: 0 / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.2627, allocations: 35.91 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2627, allocations: 4 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2628, allocations: 4 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2628, allocations: 0 / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2628, allocations: 4 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.2633, allocations: 317 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.2633, allocations: 19.94 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2633, allocations: 0 / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2635, allocations: 15.98 kB / 438.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2635, allocations: 12.08 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2635, allocations: 8 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.788e-05/0.2636, allocations: 122.8 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2636, allocations: 0 / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.2639, 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.0008789/0.2647, allocations: 0.8351 MB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.2651, allocations: 127.9 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2651, allocations: 0 / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2652, allocations: 67.83 kB / 440.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2656, allocations: 47.12 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.268, allocations: 1.942 MB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2684, allocations: 0.7084 MB / 442.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.2684, allocations: 13.42 kB / 442.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2685, allocations: 47.42 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2685, allocations: 0 / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.2955, allocations: 3.426 MB / 446.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.187, allocations: 20.69 kB / 446.3 MB, free: 8.102 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.510277640074492] Failed to read output from testmodel.py, exit status != 0: ['time', 'limit_a.y', 'limit_v.y', 'positionSmoothed.y'] 8.256039392668754 8.270919141 8.011955552 Calling exit ...