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.001591/0.001591, 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.001912/0.001912, 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.549/1.549, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.002008/0.002008, allocations: 72.53 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01013/0.3037, allocations: 7.661 MB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.3108, allocations: 3.397 MB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.3122, allocations: 43.81 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.3146, allocations: 1.051 MB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.3186, allocations: 1.347 MB / 445.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.32, allocations: 0.5457 MB / 446 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00388/0.3239, allocations: 2.625 MB / 448.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.3256, allocations: 1.217 MB / 449.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.327, allocations: 0.8368 MB / 450.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.3287, allocations: 1.261 MB / 451.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000304/0.329, allocations: 152 kB / 452.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.3308, allocations: 0.9242 MB / 453 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3319, allocations: 1.079 MB / 454.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.3332, allocations: 1.238 MB / 455.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.3384, allocations: 4.1 MB / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3385, allocations: 8 kB / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3385, allocations: 0 / 459.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.425e-05/0.3385, allocations: 0 / 459.4 MB, free: 11.29 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.005843/0.3444, allocations: 3.001 MB / 462.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3444, allocations: 12.03 kB / 462.4 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000549/0.345, allocations: 454.4 kB / 462.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/0.3503, allocations: 1.598 MB / 464.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.3536, allocations: 1.547 MB / 466 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3537, allocations: 130.9 kB / 466.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/0.3542, allocations: 167.8 kB / 466.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.3653, allocations: 6.538 MB / 472.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-05/0.3654, allocations: 27.8 kB / 472.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.3657, allocations: 83.89 kB / 473 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002521/0.3682, allocations: 1.464 MB / 474.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.3798, allocations: 5.826 MB / 480.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/0.414, allocations: 25.63 MB / 0.494 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005712/0.4197, allocations: 2.02 MB / 0.496 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.4217, allocations: 1.125 MB / 0.4971 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008838/0.4306, allocations: 4.545 MB / 0.5015 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.4306, allocations: 46.56 kB / 0.5016 GB, free: 3.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 4.819e-06/0.4306, allocations: 3.938 kB / 0.5016 GB, free: 3.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02528/0.4559, allocations: 9.695 MB / 0.511 GB, free: 9.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.456, allocations: 141 kB / 0.5112 GB, free: 9.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.4601, allocations: 2.723 MB / 0.5138 GB, free: 6.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003315/0.4605, allocations: 37.7 kB / 0.5139 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.4624, allocations: 2.136 MB / 0.516 GB, free: 4.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.463, allocations: 448.6 kB / 0.5164 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.4641, allocations: 0.8377 MB / 0.5172 GB, free: 3.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4642, allocations: 305.1 kB / 0.5175 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4666, allocations: 1.441 MB / 0.5189 GB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.471, allocations: 4.057 MB / 0.5229 GB, free: 12.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/0.4786, allocations: 5.939 MB / 0.5287 GB, free: 5.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.636e-05/0.4786, allocations: 28 kB / 0.5287 GB, free: 5.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01152/0.4901, allocations: 6.017 MB / 0.5346 GB, free: 15.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.4902, allocations: 44 kB / 0.5346 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.4903, allocations: 92 kB / 0.5347 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/0.4928, allocations: 0.8204 MB / 0.5355 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/0.4962, allocations: 0.9396 MB / 0.5364 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.5029, allocations: 4.553 MB / 0.5409 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.5061, allocations: 243.7 kB / 0.5411 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008052/0.5069, allocations: 260 kB / 0.5413 GB, free: 8 MB / 462.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.00325/0.5102, allocations: 1.368 MB / 0.5427 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.5108, allocations: 238.3 kB / 0.5429 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.5154, allocations: 2.129 MB / 0.545 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/0.5154, allocations: 15.98 kB / 0.545 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5154, allocations: 8 kB / 0.545 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.5155, allocations: 3.984 kB / 0.545 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2563/0.7718, allocations: 5.033 MB / 0.5499 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/0.7718, allocations: 2.25 kB / 0.5499 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009726/0.7728, allocations: 156 kB / 0.5501 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.775, allocations: 0.6815 MB / 0.5507 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.7753, allocations: 19.44 kB / 0.5508 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.7804, allocations: 4.055 MB / 0.5547 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7804, allocations: 8.156 kB / 0.5547 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/0.7863, allocations: 4.057 MB / 0.5587 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/0.7868, allocations: 212.5 kB / 0.5589 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.7871, allocations: 19.81 kB / 0.5589 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.7879, allocations: 70.3 kB / 0.559 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.7881, allocations: 61.34 kB / 0.559 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/0.7882, allocations: 34.84 kB / 0.5591 GB, free: 111 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002055/0.7902, allocations: 1.692 MB / 0.5607 GB, free: 110.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7902, allocations: 2.734 kB / 0.5607 GB, free: 110.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00285/0.7931, allocations: 0.6656 MB / 0.5614 GB, free: 110.3 MB / 462.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.00561/0.7987, allocations: 4.735 MB / 0.566 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004437/0.8031, allocations: 3.344 MB / 0.5693 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8031, allocations: 192 / 0.5693 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.8043, allocations: 0.9642 MB / 0.5702 GB, free: 105.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.8059, allocations: 243.8 kB / 0.5704 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03459/0.8405, allocations: 29.95 MB / 0.5997 GB, free: 72.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.8427, allocations: 2.237 MB / 0.6019 GB, free: 69.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00248/0.8452, allocations: 1.322 MB / 0.6032 GB, free: 68.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.8464, allocations: 1.097 MB / 0.6042 GB, free: 67.57 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8464, allocations: 0 / 0.6042 GB, free: 67.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09164/0.9381, allocations: 48.28 MB / 0.6514 GB, free: 19.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/19.69, allocations: 10.92 kB / 0.6514 GB, free: 19.55 MB / 462.1 MB " [Timeout remaining time 640] (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: 22.36084730969742] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.83006226690486 19.847771908 19.505693699 Calling exit ...