Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002423/0.002423, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 56.39 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2744, allocations: 49.15 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01113/0.2855, allocations: 10.53 MB / 406.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009335/0.2948, allocations: 4.005 MB / 410.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.298, allocations: 80.75 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006592/0.3046, allocations: 2.701 MB / 413.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.311, allocations: 2.029 MB / 415.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.3132, allocations: 0.82 MB / 416.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006723/0.3199, allocations: 4.624 MB / 421.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/0.3237, allocations: 2.946 MB / 424.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.3272, allocations: 1.733 MB / 425.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.3312, allocations: 2.39 MB / 428.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3322, allocations: 356 kB / 428.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.3349, allocations: 1.17 MB / 429.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002467/0.3374, allocations: 2.181 MB / 431.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.3403, allocations: 1.833 MB / 433.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009497/0.3498, allocations: 7.633 MB / 441.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3498, allocations: 0 / 441.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3498, allocations: 0 / 441.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.35, allocations: 0 / 441.4 MB, free: 5.969 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01197/0.3619, allocations: 5.377 MB / 446.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.362, allocations: 19.98 kB / 446.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001851/0.3639, allocations: 0.7982 MB / 447.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008685/0.3725, allocations: 2.17 MB / 449.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007139/0.3797, allocations: 3.386 MB / 453.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.3799, allocations: 274.8 kB / 453.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.3812, allocations: 435.6 kB / 453.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.4055, allocations: 12.3 MB / 466.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4057, allocations: 47.58 kB / 466.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.4061, allocations: 171.8 kB / 466.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003427/0.4095, allocations: 2.158 MB / 468.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/0.4327, allocations: 10.19 MB / 478.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05932/0.492, allocations: 42.52 MB / 0.509 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.5037, allocations: 3.786 MB / 0.5127 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002792/0.5065, allocations: 1.63 MB / 0.5143 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/0.5195, allocations: 6.502 MB / 0.5206 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/0.5196, allocations: 55.81 kB / 0.5207 GB, free: 7.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.13e-06/0.5196, allocations: 0 / 0.5207 GB, free: 7.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04231/0.5619, allocations: 16.01 MB / 0.5363 GB, free: 7.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/0.5634, allocations: 1.592 MB / 0.5379 GB, free: 6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/0.5701, allocations: 4.492 MB / 0.5423 GB, free: 1.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004201/0.5705, allocations: 53.7 kB / 0.5423 GB, free: 1.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002978/0.5735, allocations: 3.552 MB / 0.5458 GB, free: 13.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.5747, allocations: 0.8374 MB / 0.5466 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/0.5768, allocations: 1.358 MB / 0.5479 GB, free: 11.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5769, allocations: 301.2 kB / 0.5482 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.5809, allocations: 2.231 MB / 0.5504 GB, free: 9.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008167/0.5891, allocations: 6.355 MB / 0.5566 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1953/0.7844, allocations: 9.249 MB / 0.5656 GB, free: 132.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/0.7846, allocations: 41 kB / 0.5657 GB, free: 132.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01826/0.8029, allocations: 9.09 MB / 0.5745 GB, free: 129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.803, allocations: 72.94 kB / 0.5746 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005324/0.8083, allocations: 2.833 MB / 0.5774 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/0.8114, allocations: 1.069 MB / 0.5784 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/0.8159, allocations: 1.576 MB / 0.58 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.8198, allocations: 4.453 MB / 0.5843 GB, free: 124.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/0.8246, allocations: 423.6 kB / 0.5847 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006518/0.8253, allocations: 418.3 kB / 0.5851 GB, free: 124.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003289/0.8286, allocations: 2.215 MB / 0.5873 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/0.8294, allocations: 398.5 kB / 0.5876 GB, free: 123.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.8352, allocations: 3.278 MB / 0.5909 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004521/0.8397, allocations: 2.742 MB / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8397, allocations: 0 / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.8397, allocations: 14.03 kB / 0.5935 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.8575, allocations: 9.777 MB / 0.6031 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/0.8575, allocations: 12 kB / 0.6031 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.8588, allocations: 374.2 kB / 0.6035 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.8614, allocations: 0.9901 MB / 0.6044 GB, free: 110.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.8616, allocations: 59.97 kB / 0.6045 GB, free: 110.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.8657, allocations: 4.671 MB / 0.609 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007378/0.8664, allocations: 1.464 MB / 0.6105 GB, free: 104.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.8742, allocations: 5.924 MB / 0.6163 GB, free: 98.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/0.8761, allocations: 0.612 MB / 0.6169 GB, free: 97.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/0.8769, allocations: 63.97 kB / 0.6169 GB, free: 97.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.879, allocations: 143.4 kB / 0.6171 GB, free: 97.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.8794, allocations: 180.3 kB / 0.6172 GB, free: 97.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.8795, allocations: 75.98 kB / 0.6173 GB, free: 97.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004071/0.8836, allocations: 2.618 MB / 0.6199 GB, free: 94.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8836, allocations: 0 / 0.6199 GB, free: 94.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005743/0.8893, allocations: 1.147 MB / 0.621 GB, free: 93.39 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009372/0.8987, allocations: 6.603 MB / 0.6274 GB, free: 86.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009904/0.9086, allocations: 5.563 MB / 0.6329 GB, free: 81.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/0.9086, allocations: 0 / 0.6329 GB, free: 81.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003671/0.9123, allocations: 1.963 MB / 0.6348 GB, free: 79.04 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.9159, allocations: 0.4955 MB / 0.6353 GB, free: 78.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05797/0.9738, allocations: 50.88 MB / 0.6849 GB, free: 20.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/0.9771, allocations: 2.933 MB / 0.6878 GB, free: 17.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003924/0.981, allocations: 2.019 MB / 0.6898 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002317/0.9833, allocations: 2.108 MB / 0.6918 GB, free: 13.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.9833, allocations: 0 / 0.6918 GB, free: 13.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3286/1.312, allocations: 74.04 MB / 0.7641 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/19.96, allocations: 0 / 0.7641 GB, free: 181.5 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.608116020914167] 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]', 'p2.s', 'p2.v'] 20.143427729140967 20.165471471 19.812778958 Calling exit ...