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.FreeBody.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.001877/0.001877, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.002285/0.002285, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.51/1.51, allocations: 227.7 MB / 251.9 MB, free: 28 kB / 190.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.FreeBody,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",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.001943/0.001943, allocations: 71.89 kB / 365.2 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 50.54 MB / 415.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01429/0.1218, allocations: 10.42 MB / 426.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009061/0.1309, allocations: 3.836 MB / 430 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.1328, allocations: 67.75 kB / 430.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005109/0.138, allocations: 2.297 MB / 432.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005019/0.143, allocations: 1.661 MB / 434.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1447, allocations: 0.6044 MB / 434.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.1505, allocations: 3.486 MB / 438.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004045/0.1545, allocations: 3.025 MB / 441.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.157, allocations: 1.359 MB / 442.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.16, allocations: 1.787 MB / 444.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.161, allocations: 292 kB / 444.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2259/0.3869, allocations: 1.114 MB / 445.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.3891, allocations: 1.662 MB / 447.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.3919, allocations: 1.942 MB / 449.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009616/0.4016, allocations: 6.221 MB / 455.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4016, allocations: 3.938 kB / 455.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4016, allocations: 0 / 455.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003327/0.402, allocations: 1.156 kB / 455.6 MB, free: 9.363 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01438/0.4163, allocations: 4.319 MB / 459.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.4164, allocations: 9.906 kB / 459.9 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002214/0.4186, allocations: 0.641 MB / 460.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008123/0.4268, allocations: 1.922 MB / 462.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006801/0.4336, allocations: 2.287 MB / 464.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.4341, allocations: 210.1 kB / 464.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.4367, allocations: 369.9 kB / 465.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.4569, allocations: 8.895 MB / 474.2 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.4572, allocations: 40.45 kB / 474.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.4583, allocations: 138.4 kB / 474.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002997/0.4613, allocations: 1.638 MB / 476 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.4768, allocations: 7.535 MB / 483.5 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04751/0.5243, allocations: 35.03 MB / 0.5064 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009242/0.5336, allocations: 3.476 MB / 0.5098 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.536, allocations: 1.451 MB / 0.5112 GB, free: 9.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5477, allocations: 6.866 MB / 0.5179 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.5478, allocations: 43.22 kB / 0.518 GB, free: 2.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.863e-06/0.5478, allocations: 0 / 0.518 GB, free: 2.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02947/0.5773, allocations: 11.36 MB / 0.5291 GB, free: 7.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001654/0.579, allocations: 1.715 MB / 0.5307 GB, free: 5.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006026/0.5851, allocations: 3.54 MB / 0.5342 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005507/0.5856, allocations: 44.75 kB / 0.5342 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.5883, allocations: 2.894 MB / 0.5371 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.5895, allocations: 0.5936 MB / 0.5377 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/0.5914, allocations: 1.111 MB / 0.5387 GB, free: 13.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5915, allocations: 301.1 kB / 0.539 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0033/0.5948, allocations: 1.931 MB / 0.5409 GB, free: 10.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006255/0.6011, allocations: 5.368 MB / 0.5462 GB, free: 3.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.6126, allocations: 7.842 MB / 0.5538 GB, free: 10.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/0.6128, allocations: 40 kB / 0.5539 GB, free: 10.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02416/0.6369, allocations: 8.539 MB / 0.5622 GB, free: 2.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.6372, allocations: 62.34 kB / 0.5622 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01086/0.648, allocations: 3.213 MB / 0.5654 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0098/0.6579, allocations: 1.953 MB / 0.5673 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/0.6625, allocations: 1.248 MB / 0.5685 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009959/0.6724, allocations: 6.067 MB / 0.5744 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00577/0.6783, allocations: 387.6 kB / 0.5748 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/0.6798, allocations: 336 kB / 0.5751 GB, free: 4.852 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005789/0.6856, allocations: 1.85 MB / 0.5769 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.6866, allocations: 313.9 kB / 0.5772 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.6882, allocations: 414.1 kB / 0.5776 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005896/0.6941, allocations: 2.379 MB / 0.58 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/0.6942, allocations: 4.75 kB / 0.58 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.6942, allocations: 3.984 kB / 0.58 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/0.7134, allocations: 7.875 MB / 0.5876 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.7134, allocations: 8.094 kB / 0.5877 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.7146, allocations: 227.7 kB / 0.5879 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/0.718, allocations: 1.063 MB / 0.5889 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/0.7183, allocations: 31.98 kB / 0.5889 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.725, allocations: 5.281 MB / 0.5941 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00138/0.7264, allocations: 1.571 MB / 0.5956 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009741/0.7362, allocations: 4.999 MB / 0.6005 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.7374, allocations: 382.8 kB / 0.6009 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007592/0.7381, allocations: 27.98 kB / 0.6009 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/0.74, allocations: 123.8 kB / 0.601 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.7403, allocations: 88.52 kB / 0.6011 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.7405, allocations: 38.25 kB / 0.6011 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004942/0.7455, allocations: 2.187 MB / 0.6033 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.72e-07/0.7455, allocations: 7.938 kB / 0.6033 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005763/0.7513, allocations: 0.9374 MB / 0.6042 GB, free: 6.484 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/0.7615, allocations: 5.649 MB / 0.6097 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01002/0.7716, allocations: 5.204 MB / 0.6148 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7716, allocations: 0 / 0.6148 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004336/0.776, allocations: 2.037 MB / 0.6168 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.7788, allocations: 400.4 kB / 0.6172 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.276/1.055, allocations: 42.69 MB / 0.6589 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/1.057, allocations: 2.898 MB / 0.6617 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003077/1.061, allocations: 1.69 MB / 0.6633 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.062, allocations: 1.605 MB / 0.6649 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/1.062, allocations: 0 / 0.6649 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.177, allocations: 62.82 MB / 0.7263 GB, free: 92.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.38/22.55, allocations: 2.297 kB / 0.7263 GB, free: 92.27 MB / 0.5137 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.20906154194381] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.body.frame_a.r_0[1]', 'body.body.frame_a.r_0[2]', 'body.body.frame_a.r_0[3]', 'body.body.w_a[1]', 'body.body.w_a[2]', 'body.body.w_a[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]'] 22.691033283947036 22.712446152 22.30684263 Calling exit ...