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.001328/0.001328, allocations: 121.4 kB / 18.45 MB, free: 4.59 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.001432/0.001432, allocations: 214.5 kB / 21.41 MB, free: 1.641 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.499/1.499, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.00193/0.001931, allocations: 67.84 kB / 365.2 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.00959/0.1186, allocations: 7.594 MB / 423.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006872/0.1255, allocations: 3.355 MB / 426.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1267, allocations: 39.94 kB / 426.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.129, allocations: 1.024 MB / 427.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.1326, allocations: 1.323 MB / 429.1 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1342, allocations: 0.5379 MB / 429.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.1383, allocations: 2.621 MB / 432.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.1404, allocations: 1.385 MB / 433.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.1418, allocations: 0.8289 MB / 434.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.1434, allocations: 1.141 MB / 435.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003571/0.1438, allocations: 148 kB / 435.8 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1457, allocations: 0.897 MB / 436.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.1468, allocations: 1.036 MB / 437.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.1482, allocations: 1.234 MB / 438.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.1532, allocations: 4.108 MB / 443 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1533, allocations: 0 / 443 MB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1533, allocations: 0 / 443 MB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.038e-05/0.1534, allocations: 0 / 443 MB, free: 2.211 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.2275/0.3809, allocations: 3.068 MB / 446.1 MB, free: 28.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.381, allocations: 7.719 kB / 446.1 MB, free: 28.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007364/0.3817, allocations: 461.2 kB / 446.6 MB, free: 28.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.3871, allocations: 1.601 MB / 448.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.3903, allocations: 1.608 MB / 449.8 MB, free: 27.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.3905, allocations: 127.2 kB / 449.9 MB, free: 27.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004049/0.3909, allocations: 159.7 kB / 450.1 MB, free: 27.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.4014, allocations: 6.54 MB / 456.6 MB, free: 26.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.28e-05/0.4016, allocations: 28.53 kB / 456.6 MB, free: 26.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.4018, allocations: 82.83 kB / 456.7 MB, free: 26.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002715/0.4045, allocations: 1.471 MB / 458.2 MB, free: 26.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.4167, allocations: 5.829 MB / 464 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/0.4434, allocations: 25.69 MB / 489.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.4482, allocations: 2.547 MB / 492.2 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4495, allocations: 1.219 MB / 493.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007692/0.4572, allocations: 4.812 MB / 498.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.4573, allocations: 46.48 kB / 498.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 3.267e-06/0.4573, allocations: 4 kB / 498.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02552/0.4828, allocations: 9.924 MB / 0.4963 GB, free: 0.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.483, allocations: 140.9 kB / 0.4965 GB, free: 0.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.4874, allocations: 2.723 MB / 0.4991 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003462/0.4878, allocations: 41.7 kB / 0.4992 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.4897, allocations: 2.124 MB / 0.5012 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007073/0.4905, allocations: 450.3 kB / 0.5017 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.4917, allocations: 0.8338 MB / 0.5025 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4918, allocations: 305.1 kB / 0.5028 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.4941, allocations: 1.441 MB / 0.5042 GB, free: 8.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004429/0.4986, allocations: 4.061 MB / 0.5082 GB, free: 3.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00743/0.506, allocations: 5.947 MB / 0.514 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.403e-05/0.5061, allocations: 28 kB / 0.514 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01156/0.5177, allocations: 6.016 MB / 0.5199 GB, free: 6.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.5178, allocations: 48.22 kB / 0.5199 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.5179, allocations: 92 kB / 0.52 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.5203, allocations: 0.8208 MB / 0.5208 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.5232, allocations: 0.9435 MB / 0.5217 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.5297, allocations: 4.667 MB / 0.5263 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.5327, allocations: 247.6 kB / 0.5265 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.5332, allocations: 256.6 kB / 0.5268 GB, free: 14.9 MB / 430.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.002196/0.5354, allocations: 1.368 MB / 0.5281 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.5358, allocations: 243.4 kB / 0.5283 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004576/0.5404, allocations: 2.122 MB / 0.5304 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.5405, allocations: 12 kB / 0.5304 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.5405, allocations: 7.938 kB / 0.5304 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.5405, allocations: 11.92 kB / 0.5304 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5516, allocations: 5.07 MB / 0.5354 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.5517, allocations: 0 / 0.5354 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.5525, allocations: 159.8 kB / 0.5355 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.5548, allocations: 0.6808 MB / 0.5362 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.5549, allocations: 23.97 kB / 0.5362 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/0.5607, allocations: 4.144 MB / 0.5403 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.5607, allocations: 12.94 kB / 0.5403 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006979/0.5677, allocations: 4.078 MB / 0.5443 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.5685, allocations: 291.4 kB / 0.5445 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/0.5689, allocations: 16 kB / 0.5446 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.57, allocations: 67.89 kB / 0.5446 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.5702, allocations: 68.22 kB / 0.5447 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.5703, allocations: 31.98 kB / 0.5447 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002895/0.5732, allocations: 1.689 MB / 0.5464 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5733, allocations: 4.062 kB / 0.5464 GB, free: 10.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003177/0.5764, allocations: 0.6599 MB / 0.547 GB, free: 9.859 MB / 446.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.007436/0.5839, allocations: 4.746 MB / 0.5516 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005946/0.5899, allocations: 3.477 MB / 0.555 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5899, allocations: 0 / 0.555 GB, free: 1.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.5915, allocations: 1.033 MB / 0.5561 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.5935, allocations: 269.2 kB / 0.5563 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0525/0.646, allocations: 29.9 MB / 0.5855 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.6493, allocations: 2.237 MB / 0.5877 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003125/0.6525, allocations: 1.328 MB / 0.589 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/0.6543, allocations: 1.097 MB / 0.5901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6543, allocations: 0 / 0.5901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/0.9603, allocations: 44.68 MB / 0.6337 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/18.24, allocations: 5.734 kB / 0.6337 GB, free: 168.2 MB / 0.5137 GB " [Timeout remaining time 642] (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: 20.86904024600517] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 18.3509333539987 18.382486787 18.223989919 Calling exit ...