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.001919/0.001919, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002326/0.002326, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001952/0.001952, allocations: 64.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0131/0.2937, allocations: 10.5 MB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008497/0.3022, allocations: 3.883 MB / 446.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.304, allocations: 75.62 kB / 446.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.309, allocations: 2.344 MB / 448.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.3139, allocations: 1.704 MB / 450.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3156, allocations: 0.6122 MB / 451 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005784/0.3214, allocations: 3.486 MB / 454.5 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.3254, allocations: 2.447 MB / 457 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.3282, allocations: 1.378 MB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.3316, allocations: 1.943 MB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3326, allocations: 292 kB / 460.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3354, allocations: 1.162 MB / 461.7 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.3379, allocations: 1.722 MB / 463.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003798/0.3417, allocations: 1.946 MB / 465.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3518, allocations: 6.229 MB / 471.6 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.3518, allocations: 4 kB / 471.6 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3518, allocations: 0 / 471.6 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002942/0.3521, allocations: 0 / 471.6 MB, free: 15 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.01265/0.3648, allocations: 4.246 MB / 475.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.3648, allocations: 16.02 kB / 475.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001868/0.3667, allocations: 0.633 MB / 476.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007369/0.3741, allocations: 1.925 MB / 478.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00576/0.3798, allocations: 2.219 MB / 480.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.3801, allocations: 209.4 kB / 480.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.3817, allocations: 367.7 kB / 481.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.4018, allocations: 8.905 MB / 490.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.402, allocations: 39.69 kB / 490.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.403, allocations: 135.9 kB / 490.3 MB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002912/0.4059, allocations: 1.645 MB / 492 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.4235, allocations: 7.529 MB / 499.5 MB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05221/0.4757, allocations: 34.92 MB / 0.5219 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00872/0.4844, allocations: 2.914 MB / 0.5247 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.4867, allocations: 1.377 MB / 0.5261 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.4978, allocations: 5.666 MB / 0.5316 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.4978, allocations: 55.16 kB / 0.5317 GB, free: 4.312 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.388e-06/0.4978, allocations: 0 / 0.5317 GB, free: 4.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.242/0.7398, allocations: 11.05 MB / 0.5425 GB, free: 99.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001168/0.741, allocations: 1.607 MB / 0.544 GB, free: 97.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/0.7459, allocations: 3.541 MB / 0.5475 GB, free: 96.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003412/0.7462, allocations: 42.23 kB / 0.5475 GB, free: 96.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.7476, allocations: 2.907 MB / 0.5504 GB, free: 94.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/0.7482, allocations: 0.5935 MB / 0.5509 GB, free: 94.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.7494, allocations: 1.116 MB / 0.552 GB, free: 93.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.7495, allocations: 301.1 kB / 0.5523 GB, free: 93.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.7517, allocations: 1.921 MB / 0.5542 GB, free: 92.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.7552, allocations: 5.366 MB / 0.5594 GB, free: 87.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00644/0.7616, allocations: 7.847 MB / 0.5671 GB, free: 79.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-05/0.7617, allocations: 36 kB / 0.5671 GB, free: 79.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01638/0.7781, allocations: 8.525 MB / 0.5755 GB, free: 70.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/0.7782, allocations: 60 kB / 0.5755 GB, free: 70.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008223/0.7864, allocations: 3.201 MB / 0.5786 GB, free: 67.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007922/0.7943, allocations: 1.953 MB / 0.5806 GB, free: 65.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.7978, allocations: 1.248 MB / 0.5818 GB, free: 64.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.8041, allocations: 5.871 MB / 0.5875 GB, free: 58.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/0.8081, allocations: 379.4 kB / 0.5879 GB, free: 57.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006143/0.8088, allocations: 348 kB / 0.5882 GB, free: 57.4 MB / 446.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.002321/0.8111, allocations: 1.843 MB / 0.59 GB, free: 55.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/0.8116, allocations: 321.9 kB / 0.5903 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.8122, allocations: 410.1 kB / 0.5907 GB, free: 54.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003712/0.8159, allocations: 2.363 MB / 0.593 GB, free: 52.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.816, allocations: 7.984 kB / 0.593 GB, free: 52.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.816, allocations: 8.453 kB / 0.593 GB, free: 52.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.8265, allocations: 7.73 MB / 0.6006 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8266, allocations: 0 / 0.6006 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.8275, allocations: 233 kB / 0.6008 GB, free: 44.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.83, allocations: 1.057 MB / 0.6018 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.8301, allocations: 35.97 kB / 0.6019 GB, free: 43.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.8342, allocations: 5.073 MB / 0.6068 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006314/0.8348, allocations: 1.465 MB / 0.6082 GB, free: 36.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/0.8412, allocations: 5.009 MB / 0.6131 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.8423, allocations: 293.7 kB / 0.6134 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/0.8429, allocations: 31.98 kB / 0.6134 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.8445, allocations: 127.8 kB / 0.6136 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.8448, allocations: 88.47 kB / 0.6136 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.8449, allocations: 43.42 kB / 0.6137 GB, free: 30.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003055/0.848, allocations: 2.187 MB / 0.6158 GB, free: 28.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.848, allocations: 0 / 0.6158 GB, free: 28.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004407/0.8524, allocations: 0.9451 MB / 0.6167 GB, free: 27.66 MB / 446.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.00638/0.8588, allocations: 5.647 MB / 0.6223 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.8658, allocations: 4.878 MB / 0.627 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8658, allocations: 0 / 0.627 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.8688, allocations: 1.795 MB / 0.6288 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.871, allocations: 395 kB / 0.6292 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07337/0.9444, allocations: 42.75 MB / 0.6709 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/0.9481, allocations: 2.905 MB / 0.6737 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003887/0.952, allocations: 1.695 MB / 0.6754 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/0.9546, allocations: 1.604 MB / 0.677 GB, free: 8.559 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.9546, allocations: 0 / 0.677 GB, free: 8.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.376/1.331, allocations: 67.79 MB / 0.7432 GB, free: 180 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.78/23.11, allocations: 4.406 kB / 0.7432 GB, free: 180 MB / 0.5294 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 & /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: 25.57276760833338] 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]'] 23.247339845169336 23.265510876 22.909753225 Calling exit ...