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.001604/0.001604, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001631/0.001631, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.556/1.556, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.002264/0.002264, allocations: 68.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2733, allocations: 53.38 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01325/0.2865, allocations: 10.5 MB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008511/0.295, allocations: 3.881 MB / 446.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2969, allocations: 75.62 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005353/0.3022, allocations: 2.344 MB / 448.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.3072, allocations: 1.704 MB / 450.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.309, allocations: 0.6161 MB / 451 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005709/0.3147, allocations: 3.485 MB / 454.5 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.3187, allocations: 2.439 MB / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.3215, allocations: 1.374 MB / 458.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003564/0.3251, allocations: 1.943 MB / 460.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.3263, allocations: 295.9 kB / 460.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.3291, allocations: 1.17 MB / 461.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002325/0.3314, allocations: 1.722 MB / 463.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.3342, allocations: 1.946 MB / 465.4 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.3425, allocations: 6.225 MB / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3425, allocations: 0 / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3425, allocations: 0 / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001871/0.3427, allocations: 0 / 471.6 MB, free: 14.96 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.009398/0.3521, allocations: 4.253 MB / 475.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.3522, allocations: 8.031 kB / 475.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001187/0.3533, allocations: 0.6369 MB / 476.5 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/0.3602, allocations: 1.921 MB / 478.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/0.3654, allocations: 2.223 MB / 480.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.3656, allocations: 209.4 kB / 480.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.3669, allocations: 367.7 kB / 481.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.3842, allocations: 8.905 MB / 490.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3843, allocations: 39.64 kB / 490.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005368/0.3849, allocations: 135.9 kB / 490.3 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/0.3875, allocations: 1.633 MB / 492 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01619/0.4037, allocations: 7.541 MB / 499.5 MB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0496/0.4533, allocations: 34.91 MB / 0.5219 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008715/0.462, allocations: 2.919 MB / 0.5247 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.4643, allocations: 1.381 MB / 0.5261 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.4752, allocations: 5.678 MB / 0.5316 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4752, allocations: 43.22 kB / 0.5317 GB, free: 4.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.378e-06/0.4752, allocations: 0 / 0.5317 GB, free: 4.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2664/0.7416, allocations: 11.05 MB / 0.5425 GB, free: 100 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001094/0.7427, allocations: 1.607 MB / 0.544 GB, free: 98.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/0.7476, allocations: 3.541 MB / 0.5475 GB, free: 97.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003457/0.748, allocations: 44.72 kB / 0.5475 GB, free: 97.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.7495, allocations: 2.903 MB / 0.5504 GB, free: 94.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/0.7502, allocations: 0.5977 MB / 0.5509 GB, free: 94.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.7516, allocations: 1.108 MB / 0.552 GB, free: 93.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.7517, allocations: 304.9 kB / 0.5523 GB, free: 93.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.7542, allocations: 1.924 MB / 0.5542 GB, free: 92.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.7581, allocations: 5.367 MB / 0.5594 GB, free: 87.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.7649, allocations: 7.845 MB / 0.5671 GB, free: 79.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.765, allocations: 32 kB / 0.5671 GB, free: 79.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01754/0.7826, allocations: 8.534 MB / 0.5755 GB, free: 71.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.7826, allocations: 56 kB / 0.5755 GB, free: 71.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00849/0.7911, allocations: 3.207 MB / 0.5787 GB, free: 67.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008301/0.7994, allocations: 1.942 MB / 0.5805 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.8031, allocations: 1.248 MB / 0.5818 GB, free: 64.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.8099, allocations: 5.876 MB / 0.5875 GB, free: 58.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/0.8145, allocations: 383.4 kB / 0.5879 GB, free: 58.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/0.8154, allocations: 336 kB / 0.5882 GB, free: 57.86 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.003358/0.8188, allocations: 1.856 MB / 0.59 GB, free: 56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008515/0.8197, allocations: 313.9 kB / 0.5903 GB, free: 55.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.8207, allocations: 410.1 kB / 0.5907 GB, free: 55.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004143/0.8248, allocations: 2.37 MB / 0.593 GB, free: 52.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.8248, allocations: 11.62 kB / 0.593 GB, free: 52.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.8249, allocations: 3.984 kB / 0.593 GB, free: 52.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.839, allocations: 7.73 MB / 0.6006 GB, free: 45.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.8391, allocations: 0 / 0.6006 GB, free: 45.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.8402, allocations: 231.6 kB / 0.6008 GB, free: 44.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/0.8429, allocations: 1.057 MB / 0.6018 GB, free: 43.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.8432, allocations: 35.97 kB / 0.6019 GB, free: 43.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.8477, allocations: 5.076 MB / 0.6068 GB, free: 38.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007737/0.8484, allocations: 1.469 MB / 0.6083 GB, free: 36.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/0.8553, allocations: 4.997 MB / 0.6131 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000868/0.8561, allocations: 297.7 kB / 0.6134 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/0.8567, allocations: 35.98 kB / 0.6135 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.8581, allocations: 127.8 kB / 0.6136 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.8583, allocations: 88.41 kB / 0.6137 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.8584, allocations: 39.98 kB / 0.6137 GB, free: 31.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002789/0.8612, allocations: 2.183 MB / 0.6158 GB, free: 29.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8612, allocations: 0 / 0.6158 GB, free: 29.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004552/0.8658, allocations: 0.9488 MB / 0.6168 GB, free: 28.12 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.007688/0.8735, allocations: 5.636 MB / 0.6223 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008565/0.882, allocations: 4.878 MB / 0.627 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.882, allocations: 3.938 kB / 0.627 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00337/0.8854, allocations: 1.796 MB / 0.6288 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/0.8887, allocations: 404.5 kB / 0.6292 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0858/0.9746, allocations: 42.74 MB / 0.6709 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004686/0.9792, allocations: 2.905 MB / 0.6737 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004158/0.9834, allocations: 1.696 MB / 0.6754 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/0.9865, allocations: 1.601 MB / 0.677 GB, free: 9.023 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.9865, allocations: 0 / 0.677 GB, free: 9.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3852/1.372, allocations: 67.79 MB / 0.7432 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.88/23.25, allocations: 4.062 kB / 0.7432 GB, free: 182.2 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 & 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.962897397577763] 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.396482191979885 23.405190378 23.05995521 Calling exit ...