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.001647/0.001647, allocations: 116.4 kB / 18.5 MB, free: 4.559 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.002119/0.002119, allocations: 208.9 kB / 21.46 MB, free: 1.605 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.463/1.463, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.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.002208/0.002208, allocations: 71.81 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1084, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2237/0.3321, allocations: 10.47 MB / 437.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007823/0.3399, allocations: 3.854 MB / 441.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.3424, allocations: 62.03 kB / 441.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.3474, allocations: 2.335 MB / 443.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.3524, allocations: 1.693 MB / 445.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3543, allocations: 0.6125 MB / 445.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006357/0.3607, allocations: 3.482 MB / 449.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/0.365, allocations: 2.56 MB / 452 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/0.3684, allocations: 1.366 MB / 453.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.3722, allocations: 1.938 MB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3734, allocations: 291.6 kB / 455.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.3767, allocations: 1.171 MB / 456.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.3795, allocations: 1.72 MB / 458.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00429/0.3838, allocations: 1.958 MB / 460.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.3944, allocations: 6.22 MB / 466.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.3944, allocations: 0 / 466.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.3944, allocations: 0 / 466.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.3947, allocations: 0 / 466.6 MB, free: 6.699 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.01387/0.4086, allocations: 4.33 MB / 470.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4086, allocations: 10 kB / 471 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002184/0.4108, allocations: 0.6344 MB / 471.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/0.4186, allocations: 1.931 MB / 473.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/0.4256, allocations: 2.268 MB / 475.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.4258, allocations: 213.4 kB / 476 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.4275, allocations: 371.7 kB / 476.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.4471, allocations: 8.897 MB / 485.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4473, allocations: 43.64 kB / 485.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006909/0.448, allocations: 139.8 kB / 485.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002749/0.4507, allocations: 1.64 MB / 487.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4675, allocations: 7.523 MB / 494.6 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05233/0.5198, allocations: 35.05 MB / 0.5172 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00897/0.5288, allocations: 3.371 MB / 0.5205 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.5311, allocations: 1.381 MB / 0.5219 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.5442, allocations: 6.88 MB / 0.5286 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.5443, allocations: 51.2 kB / 0.5286 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.96e-06/0.5443, allocations: 0 / 0.5286 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.03038/0.5746, allocations: 11.35 MB / 0.5397 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001698/0.5763, allocations: 1.712 MB / 0.5414 GB, free: 14.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/0.5822, allocations: 3.544 MB / 0.5449 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003973/0.5826, allocations: 41.7 kB / 0.5449 GB, free: 11.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002812/0.5854, allocations: 2.893 MB / 0.5477 GB, free: 8.215 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.5865, allocations: 0.5932 MB / 0.5483 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/0.5889, allocations: 1.115 MB / 0.5494 GB, free: 6.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5891, allocations: 305.1 kB / 0.5497 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.5924, allocations: 1.92 MB / 0.5516 GB, free: 4.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006742/0.5991, allocations: 5.376 MB / 0.5568 GB, free: 13.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/0.6095, allocations: 7.837 MB / 0.5645 GB, free: 3.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.6096, allocations: 36 kB / 0.5645 GB, free: 3.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02258/0.6322, allocations: 8.536 MB / 0.5728 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.6323, allocations: 56 kB / 0.5729 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0107/0.643, allocations: 3.202 MB / 0.576 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009814/0.6528, allocations: 1.948 MB / 0.5779 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.6571, allocations: 1.252 MB / 0.5791 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009333/0.6664, allocations: 6.08 MB / 0.5851 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/0.6713, allocations: 375.5 kB / 0.5854 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.6726, allocations: 348 kB / 0.5858 GB, free: 13.46 MB / 0.4981 GB 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.004072/0.6766, allocations: 1.842 MB / 0.5876 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007579/0.6774, allocations: 317.8 kB / 0.5879 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.6785, allocations: 414.1 kB / 0.5883 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005214/0.6837, allocations: 2.363 MB / 0.5906 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.6837, allocations: 4 kB / 0.5906 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/0.6838, allocations: 9.094 kB / 0.5906 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.7025, allocations: 7.86 MB / 0.5983 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.7026, allocations: 480 / 0.5983 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.7038, allocations: 231.7 kB / 0.5985 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/0.7071, allocations: 1.057 MB / 0.5995 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/0.7074, allocations: 39.97 kB / 0.5996 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.714, allocations: 5.28 MB / 0.6047 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001376/0.7154, allocations: 1.568 MB / 0.6062 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009232/0.7246, allocations: 4.991 MB / 0.6111 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.7258, allocations: 378.8 kB / 0.6115 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000918/0.7267, allocations: 32 kB / 0.6115 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/0.7287, allocations: 127.8 kB / 0.6116 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/0.7291, allocations: 88.56 kB / 0.6117 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.7292, allocations: 43.92 kB / 0.6118 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004348/0.7336, allocations: 2.183 MB / 0.6139 GB, free: 24 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7336, allocations: 0 / 0.6139 GB, free: 24 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.2171/0.9506, allocations: 0.9341 MB / 0.6148 GB, free: 163.1 MB / 0.5137 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.009514/0.9602, allocations: 5.647 MB / 0.6203 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.9709, allocations: 5.031 MB / 0.6252 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.167e-05/0.9709, allocations: 0 / 0.6252 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.9752, allocations: 1.946 MB / 0.6271 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/0.9788, allocations: 396.9 kB / 0.6275 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07688/1.056, allocations: 42.69 MB / 0.6692 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/1.06, allocations: 2.898 MB / 0.672 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003892/1.064, allocations: 1.691 MB / 0.6737 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/1.067, allocations: 1.608 MB / 0.6752 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/1.067, allocations: 0 / 0.6752 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/1.178, allocations: 63.27 MB / 0.737 GB, free: 59.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.67/21.85, allocations: 11.66 kB / 0.737 GB, free: 59.66 MB / 0.5137 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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: 24.333170594647527] 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]'] 21.9861646364443 21.994712043 21.597689992 Calling exit ...