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.DoublePendulumInitTip.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.001706/0.001706, 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.001964/0.001964, 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",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.003192/0.003192, allocations: 68.77 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3019, allocations: 53.39 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01554/0.3175, allocations: 11.86 MB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3278, allocations: 4.394 MB / 448.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.3303, allocations: 103.4 kB / 448.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006165/0.3365, allocations: 2.916 MB / 451.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.3423, allocations: 1.985 MB / 453.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.3451, allocations: 1.056 MB / 454.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009217/0.3543, allocations: 5.608 MB / 459.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00521/0.3595, allocations: 3.062 MB / 462.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.3631, allocations: 1.741 MB / 464.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004872/0.368, allocations: 2.481 MB / 467.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3694, allocations: 360 kB / 467.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.3734, allocations: 1.272 MB / 468.8 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003402/0.3768, allocations: 2.146 MB / 470.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004741/0.3815, allocations: 2.475 MB / 473.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.3921, allocations: 7.919 MB / 481.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3921, allocations: 0 / 481.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3921, allocations: 4 kB / 481.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.3923, allocations: 0 / 481.3 MB, free: 5.289 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01487/0.4072, allocations: 5.492 MB / 486.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4073, allocations: 8.031 kB / 486.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/0.4087, allocations: 0.711 MB / 487.5 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.141/0.5497, allocations: 12.38 MB / 499.9 MB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.5598, allocations: 3.887 MB / 0.492 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.56, allocations: 238.1 kB / 0.4922 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.5611, allocations: 319.8 kB / 0.4925 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.5793, allocations: 9.718 MB / 0.502 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.5794, allocations: 55.58 kB / 0.502 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.5799, allocations: 151.9 kB / 0.5022 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/0.5833, allocations: 1.9 MB / 0.504 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.6, allocations: 8.234 MB / 0.5121 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2515/0.8515, allocations: 37.63 MB / 0.5488 GB, free: 75.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.86, allocations: 3.247 MB / 0.552 GB, free: 75.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.8626, allocations: 1.916 MB / 0.5539 GB, free: 75.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.8632, allocations: 206.4 kB / 0.5541 GB, free: 75.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.8632, allocations: 58.81 kB / 0.5541 GB, free: 75.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 6.632e-06/0.8633, allocations: 4.203 kB / 0.5541 GB, free: 75.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05375/0.917, allocations: 20.91 MB / 0.5746 GB, free: 62.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.9171, allocations: 259 kB / 0.5748 GB, free: 62.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/0.9231, allocations: 4.178 MB / 0.5789 GB, free: 58.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004048/0.9235, allocations: 57.22 kB / 0.5789 GB, free: 57.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.9251, allocations: 3.239 MB / 0.5821 GB, free: 55.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007184/0.9258, allocations: 0.7939 MB / 0.5829 GB, free: 54.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.9271, allocations: 1.19 MB / 0.584 GB, free: 53.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.9272, allocations: 301.1 kB / 0.5843 GB, free: 52.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.9297, allocations: 2.272 MB / 0.5865 GB, free: 50.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.9337, allocations: 5.747 MB / 0.5922 GB, free: 43.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/0.9413, allocations: 8.685 MB / 0.6006 GB, free: 32.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.039e-05/0.9414, allocations: 35.94 kB / 0.6007 GB, free: 32.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01581/0.9572, allocations: 9.533 MB / 0.61 GB, free: 23.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.9573, allocations: 56 kB / 0.61 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-05/0.9574, allocations: 120.9 kB / 0.6101 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005436/0.9628, allocations: 2.089 MB / 0.6122 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003706/0.9665, allocations: 1.252 MB / 0.6134 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.9849, allocations: 16.93 MB / 0.6299 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005/0.9899, allocations: 347.2 kB / 0.6303 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009557/0.9909, allocations: 352 kB / 0.6306 GB, free: 1.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (671): * Single equations (assignments): 665 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00387/0.9947, allocations: 2.129 MB / 0.6327 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.9959, allocations: 397.3 kB / 0.6331 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009339/1.005, allocations: 4.271 MB / 0.6372 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.97e-05/1.005, allocations: 24 kB / 0.6373 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.005, allocations: 11.94 kB / 0.6373 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.488e-05/1.005, allocations: 7.969 kB / 0.6373 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/1.028, allocations: 9.942 MB / 0.647 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/1.028, allocations: 4 kB / 0.647 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.03, allocations: 283.5 kB / 0.6473 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/1.034, allocations: 1.355 MB / 0.6486 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003622/1.035, allocations: 31.52 kB / 0.6486 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/1.049, allocations: 8.879 MB / 0.6573 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.049, allocations: 0 / 0.6573 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/1.063, allocations: 7.241 MB / 0.6644 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.065, allocations: 365.4 kB / 0.6647 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009232/1.066, allocations: 36 kB / 0.6647 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.067, allocations: 123.8 kB / 0.6649 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00061/1.068, allocations: 132.9 kB / 0.665 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.068, allocations: 51.75 kB / 0.665 GB, free: 14.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005289/1.074, allocations: 2.637 MB / 0.6676 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.074, allocations: 0 / 0.6676 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006767/1.08, allocations: 1.105 MB / 0.6687 GB, free: 10.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (147): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01513/1.095, allocations: 7.899 MB / 0.6764 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.107, allocations: 5.824 MB / 0.6821 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.107, allocations: 0 / 0.6821 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/1.112, allocations: 2.062 MB / 0.6841 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/1.116, allocations: 0.5873 MB / 0.6847 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/1.222, allocations: 49.88 MB / 0.7334 GB, free: 2.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005879/1.228, allocations: 3.389 MB / 0.7367 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005211/1.233, allocations: 1.876 MB / 0.7385 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003913/1.237, allocations: 1.983 MB / 0.7405 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.205e-06/1.237, allocations: 0 / 0.7405 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3736/1.611, allocations: 89 MB / 0.8274 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.93/29.54, allocations: 3.984 kB / 0.8274 GB, free: 151.5 MB / 0.5606 GB " [Timeout remaining time 630] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.24261133931577] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 29.69704547105357 29.711281126 29.315464005 Calling exit ...