Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001625/0.001625, 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.002031/0.002031, allocations: 213.9 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.584/1.584, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.001951/0.001951, allocations: 64.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01299/0.2653, allocations: 10.77 MB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008241/0.2735, allocations: 3.998 MB / 446.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2751, allocations: 71.62 kB / 446.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.2804, allocations: 2.62 MB / 449.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.2852, allocations: 1.774 MB / 451.2 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2869, allocations: 0.6863 MB / 451.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005621/0.2925, allocations: 3.716 MB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.2958, allocations: 2.721 MB / 458.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.298, allocations: 1.499 MB / 459.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.3009, allocations: 2.11 MB / 461.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.3016, allocations: 316 kB / 462.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.3037, allocations: 1.19 MB / 463.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.3056, allocations: 1.85 MB / 465.2 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.3083, allocations: 2.124 MB / 467.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.3174, allocations: 6.677 MB / 474.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3174, allocations: 3.938 kB / 474.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3174, allocations: 0 / 474.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001869/0.3176, allocations: 0 / 474.1 MB, free: 12.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.009869/0.3275, allocations: 4.599 MB / 478.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3275, allocations: 8.031 kB / 478.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.3287, allocations: 0.7236 MB / 479.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/0.3359, allocations: 1.971 MB / 481.4 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/0.3415, allocations: 2.16 MB / 483.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.3418, allocations: 242.2 kB / 483.8 MB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.3432, allocations: 399.7 kB / 484.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02129/0.3645, allocations: 10.12 MB / 494.3 MB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.3646, allocations: 39.69 kB / 494.3 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007312/0.3654, allocations: 155.9 kB / 494.5 MB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/0.3683, allocations: 1.857 MB / 496.3 MB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.3858, allocations: 8.363 MB / 0.4928 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05376/0.4396, allocations: 39.17 MB / 0.5311 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.4503, allocations: 3.462 MB / 0.5345 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2059/0.6562, allocations: 1.338 MB / 0.5358 GB, free: 100.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/0.6692, allocations: 5.811 MB / 0.5415 GB, free: 99.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.6692, allocations: 57.64 kB / 0.5415 GB, free: 98.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.12e-06/0.6692, allocations: 0 / 0.5415 GB, free: 98.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02956/0.6988, allocations: 12.33 MB / 0.5535 GB, free: 94.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001123/0.6999, allocations: 1.574 MB / 0.5551 GB, free: 93.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/0.7049, allocations: 3.817 MB / 0.5588 GB, free: 90.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003932/0.7053, allocations: 49.7 kB / 0.5589 GB, free: 90.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.7069, allocations: 3.239 MB / 0.562 GB, free: 87.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006716/0.7076, allocations: 0.6776 MB / 0.5627 GB, free: 86.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.709, allocations: 1.258 MB / 0.5639 GB, free: 85.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.709, allocations: 309.1 kB / 0.5642 GB, free: 85.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.7116, allocations: 2.019 MB / 0.5662 GB, free: 82.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/0.7157, allocations: 5.957 MB / 0.572 GB, free: 75.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00724/0.723, allocations: 8.598 MB / 0.5804 GB, free: 64.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.7231, allocations: 40 kB / 0.5804 GB, free: 64.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01543/0.7385, allocations: 8.817 MB / 0.589 GB, free: 55.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.7386, allocations: 68.94 kB / 0.5891 GB, free: 55.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005825/0.7444, allocations: 2.82 MB / 0.5919 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/0.7493, allocations: 1.562 MB / 0.5934 GB, free: 51.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.7534, allocations: 1.361 MB / 0.5947 GB, free: 49.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.7644, allocations: 9.329 MB / 0.6038 GB, free: 40.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/0.7694, allocations: 395.5 kB / 0.6042 GB, free: 39.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/0.7704, allocations: 399.6 kB / 0.6046 GB, free: 39.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003598/0.774, allocations: 2.012 MB / 0.6066 GB, free: 37.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007346/0.7748, allocations: 349.6 kB / 0.6069 GB, free: 37.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.7757, allocations: 433.3 kB / 0.6073 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00544/0.7812, allocations: 2.714 MB / 0.6099 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.7812, allocations: 4 kB / 0.61 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/0.7812, allocations: 7.969 kB / 0.61 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.7972, allocations: 8.442 MB / 0.6182 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.7972, allocations: 0 / 0.6182 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/0.7982, allocations: 195.8 kB / 0.6184 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004331/0.8025, allocations: 1.459 MB / 0.6198 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/0.8027, allocations: 35.97 kB / 0.6198 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.8134, allocations: 9.508 MB / 0.6291 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007715/0.8142, allocations: 1.44 MB / 0.6305 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009079/0.8233, allocations: 5.36 MB / 0.6358 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.8243, allocations: 317.5 kB / 0.6361 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008709/0.8252, allocations: 28 kB / 0.6361 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.827, allocations: 128 kB / 0.6362 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004809/0.8275, allocations: 108.8 kB / 0.6363 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.8276, allocations: 47.97 kB / 0.6364 GB, free: 6.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003639/0.8313, allocations: 2.341 MB / 0.6387 GB, free: 3.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8313, allocations: 4 kB / 0.6387 GB, free: 3.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005292/0.8366, allocations: 1.046 MB / 0.6397 GB, free: 2.812 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01062/0.8472, allocations: 6.01 MB / 0.6456 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.8587, allocations: 5.391 MB / 0.6508 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.8587, allocations: 4 kB / 0.6508 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005036/0.8638, allocations: 2.087 MB / 0.6529 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.8673, allocations: 395.4 kB / 0.6532 GB, free: 4.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09374/0.961, allocations: 45.54 MB / 0.6977 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005963/0.967, allocations: 3.127 MB / 0.7008 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004835/0.9718, allocations: 1.807 MB / 0.7025 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/0.9749, allocations: 1.772 MB / 0.7043 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.763e-06/0.9749, allocations: 0 / 0.7043 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/1.362, allocations: 75.61 MB / 0.7781 GB, free: 180.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.03/24.39, allocations: 21.58 kB / 0.7781 GB, free: 180.3 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019988 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.05760888522491] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 24.539782414678484 24.553728662 24.233892413 Calling exit ...