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.001406/0.001406, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001582/0.001582, allocations: 216.6 kB / 22.92 MB, free: 5.191 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.281/1.281, allocations: 230.4 MB / 256.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.001791/0.001791, allocations: 75.81 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2114, allocations: 53.31 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008619/0.22, allocations: 7.66 MB / 437.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.2257, allocations: 3.395 MB / 440.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.2263, allocations: 35.94 kB / 440.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.2282, allocations: 1.047 MB / 441.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.2307, allocations: 1.343 MB / 442.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2317, allocations: 0.5417 MB / 443.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.2347, allocations: 2.62 MB / 446 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.2359, allocations: 1.076 MB / 447.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009004/0.2368, allocations: 0.829 MB / 448 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.2383, allocations: 1.261 MB / 449.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.2385, allocations: 148 kB / 449.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.2401, allocations: 0.9204 MB / 450.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009436/0.241, allocations: 1.083 MB / 451.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.2421, allocations: 1.234 MB / 452.6 MB, free: 180 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.2462, allocations: 4.101 MB / 456.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2462, allocations: 4 kB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2462, allocations: 0 / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.2462, allocations: 0 / 456.7 MB, free: 12.05 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.004776/0.251, allocations: 3.076 MB / 459.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.251, allocations: 8.031 kB / 459.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004841/0.2515, allocations: 466.4 kB / 460.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.2567, allocations: 1.594 MB / 461.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.2592, allocations: 1.613 MB / 463.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.2593, allocations: 123 kB / 463.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.2596, allocations: 159.8 kB / 463.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008659/0.2683, allocations: 6.538 MB / 470.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.2684, allocations: 27.75 kB / 470.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.2686, allocations: 83.89 kB / 470.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00242/0.271, allocations: 1.472 MB / 471.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009536/0.2805, allocations: 5.826 MB / 477.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.3074, allocations: 25.7 MB / 0.4916 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.3127, allocations: 2.479 MB / 0.494 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3141, allocations: 1.125 MB / 0.4951 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.3207, allocations: 4.816 MB / 0.4998 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3207, allocations: 46.56 kB / 0.4998 GB, free: 3.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.635e-06/0.3207, allocations: 0 / 0.4998 GB, free: 3.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02254/0.3433, allocations: 9.924 MB / 0.5095 GB, free: 9.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.3434, allocations: 140.9 kB / 0.5097 GB, free: 9.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.3467, allocations: 2.715 MB / 0.5123 GB, free: 6.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.3467, allocations: 41.7 kB / 0.5124 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3482, allocations: 2.136 MB / 0.5144 GB, free: 4.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.3485, allocations: 444.6 kB / 0.5149 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3496, allocations: 0.8299 MB / 0.5157 GB, free: 2.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3497, allocations: 309.1 kB / 0.516 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.3517, allocations: 1.441 MB / 0.5174 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/0.3557, allocations: 4.061 MB / 0.5213 GB, free: 11.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006473/0.3621, allocations: 5.939 MB / 0.5271 GB, free: 4.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-05/0.3622, allocations: 28 kB / 0.5272 GB, free: 4.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009657/0.3718, allocations: 6.018 MB / 0.5331 GB, free: 14.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.3719, allocations: 47.12 kB / 0.5331 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.589e-05/0.372, allocations: 99.92 kB / 0.5332 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.3742, allocations: 0.8164 MB / 0.534 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.3767, allocations: 0.9474 MB / 0.5349 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/0.3826, allocations: 4.655 MB / 0.5395 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.3848, allocations: 239.7 kB / 0.5397 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/0.3851, allocations: 264.5 kB / 0.5399 GB, free: 7.211 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.001764/0.3869, allocations: 1.368 MB / 0.5413 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.3872, allocations: 238.3 kB / 0.5415 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/0.3914, allocations: 2.122 MB / 0.5436 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.3915, allocations: 16 kB / 0.5436 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3915, allocations: 0 / 0.5436 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3915, allocations: 15.92 kB / 0.5436 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1767/0.5682, allocations: 5.067 MB / 0.5486 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.5682, allocations: 1.594 kB / 0.5486 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.569, allocations: 159.8 kB / 0.5487 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.571, allocations: 0.6773 MB / 0.5494 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/0.5711, allocations: 20.58 kB / 0.5494 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.5751, allocations: 4.151 MB / 0.5534 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5751, allocations: 0 / 0.5534 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.5799, allocations: 4.059 MB / 0.5574 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.5802, allocations: 293 kB / 0.5577 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.5804, allocations: 19.72 kB / 0.5577 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.5813, allocations: 79.53 kB / 0.5578 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.5814, allocations: 53.09 kB / 0.5578 GB, free: 111.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.5815, allocations: 34.38 kB / 0.5579 GB, free: 111.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001652/0.5831, allocations: 1.695 MB / 0.5595 GB, free: 110.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5831, allocations: 0 / 0.5595 GB, free: 110.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002407/0.5856, allocations: 0.6599 MB / 0.5602 GB, free: 110.5 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.004902/0.5905, allocations: 4.736 MB / 0.5648 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.5939, allocations: 3.336 MB / 0.568 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5939, allocations: 5.391 kB / 0.5681 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.5948, allocations: 0.9685 MB / 0.569 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.596, allocations: 255.3 kB / 0.5692 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/0.6215, allocations: 29.95 MB / 0.5985 GB, free: 71.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.6228, allocations: 2.232 MB / 0.6007 GB, free: 69.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001956/0.6248, allocations: 1.323 MB / 0.602 GB, free: 68.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000922/0.6257, allocations: 1.093 MB / 0.603 GB, free: 67.05 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6257, allocations: 0 / 0.603 GB, free: 67.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.692, allocations: 45.25 MB / 0.6472 GB, free: 22.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.83, allocations: 6.953 kB / 0.6472 GB, free: 22.08 MB / 462.1 MB " [Timeout remaining time 644] (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 --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: 17.94586624900694]