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.001674/0.001674, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.002193/0.002193, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.45/1.45, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001953/0.001953, allocations: 71.88 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.2166/0.325, allocations: 7.627 MB / 434.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.331, allocations: 3.382 MB / 437.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.3326, allocations: 34.66 kB / 437.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.3351, allocations: 1.046 MB / 439 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.3393, allocations: 1.34 MB / 440.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.3412, allocations: 0.5436 MB / 440.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004709/0.3459, allocations: 2.616 MB / 443.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.3479, allocations: 1.197 MB / 444.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.3497, allocations: 0.826 MB / 445.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.3516, allocations: 1.263 MB / 446.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.352, allocations: 147 kB / 446.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.3542, allocations: 0.9205 MB / 447.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3555, allocations: 1.081 MB / 448.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.3569, allocations: 1.237 MB / 450.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006131/0.363, allocations: 4.098 MB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.363, allocations: 3.938 kB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.363, allocations: 4 kB / 454.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001109/0.3632, allocations: 0 / 454.3 MB, free: 15.14 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.007373/0.3705, allocations: 3.083 MB / 457.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3706, allocations: 9.406 kB / 457.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007479/0.3713, allocations: 457.3 kB / 457.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.3768, allocations: 1.599 MB / 459.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/0.3813, allocations: 1.604 MB / 461 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.3815, allocations: 127.9 kB / 461.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.3819, allocations: 165.5 kB / 461.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.3929, allocations: 6.533 MB / 467.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.393, allocations: 32.36 kB / 467.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.3932, allocations: 82.14 kB / 467.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.3957, allocations: 1.469 MB / 469.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.407, allocations: 5.834 MB / 475.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.4409, allocations: 25.7 MB / 0.4892 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005732/0.4466, allocations: 2.469 MB / 0.4916 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.4483, allocations: 1.133 MB / 0.4927 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009016/0.4573, allocations: 4.824 MB / 0.4974 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.4573, allocations: 42.56 kB / 0.4975 GB, free: 12.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 5.49e-06/0.4573, allocations: 0 / 0.4975 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02398/0.4813, allocations: 9.923 MB / 0.5071 GB, free: 2.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.4814, allocations: 137 kB / 0.5073 GB, free: 2.566 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.486, allocations: 2.719 MB / 0.5099 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.4863, allocations: 41.7 kB / 0.51 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.488, allocations: 2.128 MB / 0.5121 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.4886, allocations: 452.6 kB / 0.5125 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.4899, allocations: 0.834 MB / 0.5133 GB, free: 12.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.49, allocations: 305.1 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.4922, allocations: 1.437 MB / 0.515 GB, free: 10.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004262/0.4965, allocations: 4.072 MB / 0.519 GB, free: 5.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007291/0.5038, allocations: 5.942 MB / 0.5248 GB, free: 13.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.305e-05/0.5038, allocations: 24 kB / 0.5248 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01179/0.5156, allocations: 6.013 MB / 0.5307 GB, free: 7.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.5157, allocations: 47.94 kB / 0.5307 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.5158, allocations: 99.94 kB / 0.5308 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.5182, allocations: 0.82 MB / 0.5316 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.5211, allocations: 0.9474 MB / 0.5325 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.5274, allocations: 4.65 MB / 0.5371 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.5303, allocations: 243.6 kB / 0.5373 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/0.5308, allocations: 260 kB / 0.5376 GB, free: 0.7227 MB / 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.002274/0.5331, allocations: 1.369 MB / 0.5389 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.5335, allocations: 234.4 kB / 0.5391 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/0.5378, allocations: 2.122 MB / 0.5412 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.5379, allocations: 17.02 kB / 0.5412 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5379, allocations: 4 kB / 0.5412 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5379, allocations: 7.984 kB / 0.5412 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5483, allocations: 5.064 MB / 0.5462 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5483, allocations: 0 / 0.5462 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.5491, allocations: 159.7 kB / 0.5463 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.5512, allocations: 0.6756 MB / 0.547 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.5513, allocations: 24.06 kB / 0.547 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005611/0.5569, allocations: 4.155 MB / 0.5511 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.557, allocations: 7.938 kB / 0.5511 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006777/0.5637, allocations: 4.049 MB / 0.555 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007144/0.5644, allocations: 299.4 kB / 0.5553 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.5647, allocations: 15.98 kB / 0.5553 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/0.5656, allocations: 71.89 kB / 0.5554 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.5658, allocations: 56.25 kB / 0.5554 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/0.5659, allocations: 39.97 kB / 0.5555 GB, free: 14.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002673/0.5686, allocations: 1.693 MB / 0.5571 GB, free: 12.37 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5686, allocations: 0 / 0.5571 GB, free: 12.37 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003197/0.5718, allocations: 0.6638 MB / 0.5578 GB, free: 11.71 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.007194/0.579, allocations: 4.726 MB / 0.5624 GB, free: 6.938 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005759/0.5847, allocations: 3.344 MB / 0.5657 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.5847, allocations: 3.828 kB / 0.5657 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.5862, allocations: 0.9708 MB / 0.5666 GB, free: 2.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.588, allocations: 268 kB / 0.5669 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04932/0.6373, allocations: 29.9 MB / 0.5961 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/0.6398, allocations: 2.233 MB / 0.5982 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002937/0.6428, allocations: 1.316 MB / 0.5995 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.6443, allocations: 1.097 MB / 0.6006 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.6443, allocations: 4 kB / 0.6006 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.308/0.9522, allocations: 44.99 MB / 0.6445 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.18, allocations: 9.312 kB / 0.6445 GB, free: 159.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-08 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.59215481299907] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 18.296442613005638 18.313512007 17.947018618 Calling exit ...