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.UserDefinedGravityField.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.001531/0.001531, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.00175/0.00175, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.519/1.519, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.UserDefinedGravityField,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",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.002181/0.002181, allocations: 67.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 53.33 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.2565/0.3734, allocations: 7.627 MB / 434.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.3804, allocations: 3.37 MB / 438 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.3822, allocations: 47.28 kB / 438.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.3847, allocations: 1.048 MB / 439.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.3888, allocations: 1.339 MB / 440.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.3904, allocations: 0.5494 MB / 441 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.395, allocations: 2.614 MB / 443.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.397, allocations: 1.198 MB / 444.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3989, allocations: 0.8396 MB / 445.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.4016, allocations: 1.257 MB / 446.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006965/0.4023, allocations: 146.7 kB / 447.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.4049, allocations: 0.928 MB / 448 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.4064, allocations: 1.072 MB / 449.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.4087, allocations: 1.238 MB / 450.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007276/0.416, allocations: 4.109 MB / 454.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.416, allocations: 0 / 454.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.416, allocations: 0 / 454.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.4162, allocations: 4 kB / 454.4 MB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008955/0.4252, allocations: 3.067 MB / 457.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4252, allocations: 11.5 kB / 457.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.4262, allocations: 463.2 kB / 457.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.4325, allocations: 1.599 MB / 459.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/0.4366, allocations: 1.607 MB / 461.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.4368, allocations: 127.9 kB / 461.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005574/0.4373, allocations: 160.8 kB / 461.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.4509, allocations: 6.536 MB / 468 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.451, allocations: 28.84 kB / 468 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005301/0.4515, allocations: 82.05 kB / 468.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/0.4546, allocations: 1.471 MB / 469.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.4675, allocations: 5.834 MB / 475.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0393/0.5067, allocations: 25.7 MB / 0.4893 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006578/0.5133, allocations: 2.471 MB / 0.4917 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.5153, allocations: 1.125 MB / 0.4928 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00977/0.525, allocations: 4.822 MB / 0.4976 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.5251, allocations: 54.48 kB / 0.4976 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 5.16e-06/0.5251, allocations: 0 / 0.4976 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02965/0.5548, allocations: 9.911 MB / 0.5073 GB, free: 2.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5549, allocations: 144.9 kB / 0.5074 GB, free: 2.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/0.5605, allocations: 2.723 MB / 0.5101 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.5609, allocations: 37.7 kB / 0.5101 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/0.563, allocations: 2.124 MB / 0.5122 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008453/0.5638, allocations: 452.6 kB / 0.5126 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/0.5661, allocations: 0.8338 MB / 0.5134 GB, free: 12.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5662, allocations: 301.1 kB / 0.5137 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.5691, allocations: 1.441 MB / 0.5151 GB, free: 10.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/0.5746, allocations: 4.065 MB / 0.5191 GB, free: 4.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00867/0.5833, allocations: 5.941 MB / 0.5249 GB, free: 13.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.5834, allocations: 32 kB / 0.5249 GB, free: 13.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01459/0.598, allocations: 6.001 MB / 0.5308 GB, free: 7.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.5981, allocations: 61.7 kB / 0.5308 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/0.5983, allocations: 92 kB / 0.5309 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.601, allocations: 0.8162 MB / 0.5317 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.6046, allocations: 0.9474 MB / 0.5327 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.6117, allocations: 4.657 MB / 0.5372 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.6152, allocations: 239.7 kB / 0.5374 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009145/0.6161, allocations: 260 kB / 0.5377 GB, free: 480 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003482/0.6196, allocations: 1.369 MB / 0.539 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/0.6203, allocations: 242.4 kB / 0.5393 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/0.6256, allocations: 2.123 MB / 0.5413 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/0.6257, allocations: 15.94 kB / 0.5413 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.6257, allocations: 4 kB / 0.5413 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6257, allocations: 3.984 kB / 0.5413 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.6383, allocations: 5.066 MB / 0.5463 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.6383, allocations: 13.69 kB / 0.5463 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.6393, allocations: 151.8 kB / 0.5465 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.6416, allocations: 0.6794 MB / 0.5471 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.6418, allocations: 19.98 kB / 0.5471 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006242/0.6481, allocations: 4.14 MB / 0.5512 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6481, allocations: 8 kB / 0.5512 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/0.6559, allocations: 4.064 MB / 0.5552 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.657, allocations: 295.4 kB / 0.5554 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000691/0.6577, allocations: 16 kB / 0.5555 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.6592, allocations: 71.89 kB / 0.5555 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.6594, allocations: 56.58 kB / 0.5556 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.6595, allocations: 28 kB / 0.5556 GB, free: 13.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004169/0.6637, allocations: 1.701 MB / 0.5573 GB, free: 12.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6637, allocations: 3.938 kB / 0.5573 GB, free: 12.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005514/0.6692, allocations: 0.656 MB / 0.5579 GB, free: 11.46 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009396/0.6786, allocations: 4.753 MB / 0.5625 GB, free: 6.664 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00668/0.6853, allocations: 3.336 MB / 0.5658 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.6853, allocations: 0 / 0.5658 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.687, allocations: 0.9617 MB / 0.5667 GB, free: 2.363 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.6894, allocations: 268.5 kB / 0.567 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/0.7466, allocations: 29.89 MB / 0.5962 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003476/0.7501, allocations: 2.234 MB / 0.5984 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003355/0.7534, allocations: 1.329 MB / 0.5997 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/0.7555, allocations: 1.089 MB / 0.6007 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.7555, allocations: 0 / 0.6007 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/1.081, allocations: 44.99 MB / 0.6447 GB, free: 159 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.05/19.13, allocations: 1.688 kB / 0.6447 GB, free: 159 MB / 0.5137 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.9038304570131] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.25246116099879 19.279047654 18.858269865 Calling exit ...