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.001443/0.001443, allocations: 105 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.001345/0.001345, allocations: 219.3 kB / 22.92 MB, free: 5.195 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.292/1.292, allocations: 230.4 MB / 256.4 MB, free: 8.254 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.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.001794/0.001794, allocations: 75.81 kB / 376.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2076, allocations: 53.32 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01119/0.2188, allocations: 10.5 MB / 439.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006503/0.2253, allocations: 3.871 MB / 443.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007124/0.226, allocations: 67.81 kB / 443.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.2298, allocations: 2.336 MB / 446.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.2328, allocations: 1.7 MB / 447.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2339, allocations: 0.6122 MB / 448.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003815/0.2377, allocations: 3.482 MB / 452 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.2403, allocations: 2.243 MB / 454.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.2419, allocations: 1.359 MB / 455.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.2442, allocations: 1.939 MB / 457.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004445/0.2447, allocations: 296 kB / 457.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.2465, allocations: 1.162 MB / 459 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.248, allocations: 1.722 MB / 460.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.2497, allocations: 1.946 MB / 462.6 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005899/0.2556, allocations: 6.23 MB / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2556, allocations: 0 / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2556, allocations: 0 / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.025e-05/0.2557, allocations: 0 / 468.9 MB, free: 15.79 MB / 382.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.006525/0.2622, allocations: 4.325 MB / 473.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2623, allocations: 8.031 kB / 473.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006909/0.2629, allocations: 0.6447 MB / 473.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006358/0.2693, allocations: 1.917 MB / 475.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.2728, allocations: 2.279 MB / 478 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.2729, allocations: 213.4 kB / 478.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007417/0.2737, allocations: 371.6 kB / 478.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.287, allocations: 8.901 MB / 487.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/0.2871, allocations: 39.64 kB / 487.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.2875, allocations: 135.9 kB / 487.7 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002387/0.2898, allocations: 1.637 MB / 489.3 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.3032, allocations: 7.529 MB / 496.8 MB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03926/0.3425, allocations: 35.05 MB / 0.5194 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.3507, allocations: 3.366 MB / 0.5227 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.3526, allocations: 1.374 MB / 0.5241 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009045/0.3616, allocations: 6.876 MB / 0.5308 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3616, allocations: 51.16 kB / 0.5308 GB, free: 2.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.787e-06/0.3616, allocations: 0 / 0.5308 GB, free: 2.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02602/0.3877, allocations: 11.36 MB / 0.5419 GB, free: 7.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001449/0.3891, allocations: 1.714 MB / 0.5436 GB, free: 5.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/0.3938, allocations: 3.536 MB / 0.547 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.394, allocations: 45.7 kB / 0.5471 GB, free: 1.762 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1616/0.5556, allocations: 2.892 MB / 0.5499 GB, free: 115.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/0.5562, allocations: 0.5942 MB / 0.5505 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.5576, allocations: 1.119 MB / 0.5516 GB, free: 115.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.5576, allocations: 303.3 kB / 0.5519 GB, free: 115.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.5599, allocations: 1.924 MB / 0.5538 GB, free: 114.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.5629, allocations: 5.366 MB / 0.559 GB, free: 109.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005028/0.5679, allocations: 7.852 MB / 0.5667 GB, free: 102.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.983e-05/0.568, allocations: 34.91 kB / 0.5667 GB, free: 102.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01371/0.5817, allocations: 8.522 MB / 0.575 GB, free: 98.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.5818, allocations: 56 kB / 0.5751 GB, free: 98.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007947/0.5897, allocations: 3.215 MB / 0.5782 GB, free: 96.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007927/0.5976, allocations: 1.944 MB / 0.5801 GB, free: 94.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.6005, allocations: 1.244 MB / 0.5813 GB, free: 92.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.6066, allocations: 6.074 MB / 0.5873 GB, free: 86.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.6101, allocations: 382.3 kB / 0.5876 GB, free: 86.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/0.6105, allocations: 344 kB / 0.588 GB, free: 85.93 MB / 462.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.001875/0.6124, allocations: 1.846 MB / 0.5898 GB, free: 84.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.6127, allocations: 321.8 kB / 0.5901 GB, free: 83.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.6133, allocations: 406.2 kB / 0.5904 GB, free: 83.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00367/0.617, allocations: 2.375 MB / 0.5928 GB, free: 81.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.617, allocations: 0.5 kB / 0.5928 GB, free: 81.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.617, allocations: 7.984 kB / 0.5928 GB, free: 81.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009949/0.6269, allocations: 7.843 MB / 0.6004 GB, free: 73.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6269, allocations: 0 / 0.6004 GB, free: 73.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/0.6279, allocations: 232.5 kB / 0.6007 GB, free: 72.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/0.6303, allocations: 1.057 MB / 0.6017 GB, free: 71.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.6304, allocations: 31.98 kB / 0.6017 GB, free: 71.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.6343, allocations: 5.291 MB / 0.6069 GB, free: 66.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006138/0.6349, allocations: 1.565 MB / 0.6084 GB, free: 64.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.6406, allocations: 4.995 MB / 0.6133 GB, free: 59.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.6411, allocations: 381.4 kB / 0.6137 GB, free: 59.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.6413, allocations: 31.92 kB / 0.6137 GB, free: 59.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6425, allocations: 131.8 kB / 0.6138 GB, free: 58.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6427, allocations: 84.52 kB / 0.6139 GB, free: 58.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.6428, allocations: 39.98 kB / 0.6139 GB, free: 58.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.6449, allocations: 2.183 MB / 0.6161 GB, free: 56.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6449, allocations: 0 / 0.6161 GB, free: 56.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00338/0.6483, allocations: 0.9433 MB / 0.617 GB, free: 55.72 MB / 462.1 MB 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.005818/0.6541, allocations: 5.652 MB / 0.6225 GB, free: 50.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006853/0.661, allocations: 5.041 MB / 0.6274 GB, free: 44.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.661, allocations: 0 / 0.6274 GB, free: 44.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.6639, allocations: 1.949 MB / 0.6293 GB, free: 42.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.6659, allocations: 403 kB / 0.6297 GB, free: 42.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05014/0.716, allocations: 42.73 MB / 0.6714 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.719, allocations: 2.909 MB / 0.6743 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003701/0.7227, allocations: 1.695 MB / 0.6759 GB, free: 5.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/0.7247, allocations: 1.601 MB / 0.6775 GB, free: 4.289 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7247, allocations: 0 / 0.6775 GB, free: 4.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/0.8417, allocations: 63.67 MB / 0.7397 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/18.53, allocations: 11.56 kB / 0.7397 GB, free: 5.027 MB / 0.5294 GB " [Timeout remaining time 641] (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 --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: 20.869893595998292]