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.001521/0.001521, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001792/0.001792, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.503/1.503, allocations: 230.5 MB / 254.8 MB, free: 14.95 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.001941/0.001941, allocations: 67.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2173/0.3291, allocations: 11.84 MB / 438.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008822/0.3379, allocations: 4.361 MB / 443.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.3406, allocations: 101.8 kB / 443.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005606/0.3462, allocations: 2.906 MB / 446.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.3524, allocations: 1.972 MB / 448.2 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.3552, allocations: 1.048 MB / 449.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.3653, allocations: 5.587 MB / 454.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005461/0.3708, allocations: 3.303 MB / 458.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.3753, allocations: 1.738 MB / 459.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.3801, allocations: 2.468 MB / 462.3 MB, free: 9.406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.3814, allocations: 366.1 kB / 462.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.385, allocations: 1.273 MB / 464 MB, free: 8.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003329/0.3884, allocations: 2.149 MB / 466.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005311/0.3937, allocations: 2.477 MB / 468.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4057, allocations: 7.915 MB / 476.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4058, allocations: 0 / 476.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4058, allocations: 0 / 476.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002841/0.406, allocations: 0 / 476.5 MB, free: 15.29 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.01728/0.4233, allocations: 5.567 MB / 482.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4234, allocations: 8.031 kB / 482.1 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001649/0.425, allocations: 0.7187 MB / 482.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1636/0.5886, allocations: 12.38 MB / 495.2 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/0.5985, allocations: 3.969 MB / 499.1 MB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5988, allocations: 242.7 kB / 499.4 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.5999, allocations: 323.8 kB / 499.7 MB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01799/0.6179, allocations: 9.711 MB / 0.4975 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.618, allocations: 55.58 kB / 0.4975 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.6184, allocations: 157.7 kB / 0.4977 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.622, allocations: 1.904 MB / 0.4995 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.6385, allocations: 8.234 MB / 0.5076 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.6907, allocations: 37.75 MB / 0.5444 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009165/0.6998, allocations: 3.706 MB / 0.5481 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/0.7026, allocations: 1.921 MB / 0.5499 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.7034, allocations: 0.64 MB / 0.5506 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.7034, allocations: 55.5 kB / 0.5506 GB, free: 5.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 4.469e-06/0.7034, allocations: 0 / 0.5506 GB, free: 5.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.06741/0.7708, allocations: 21.12 MB / 0.5712 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.771, allocations: 256.6 kB / 0.5715 GB, free: 288 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007623/0.7786, allocations: 4.174 MB / 0.5755 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004656/0.7791, allocations: 57.7 kB / 0.5756 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002889/0.782, allocations: 3.24 MB / 0.5788 GB, free: 8.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/0.7833, allocations: 0.8024 MB / 0.5796 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002869/0.7862, allocations: 1.191 MB / 0.5807 GB, free: 6.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7863, allocations: 305.1 kB / 0.581 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003974/0.7903, allocations: 2.272 MB / 0.5832 GB, free: 4.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007486/0.7978, allocations: 5.739 MB / 0.5888 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.8106, allocations: 8.688 MB / 0.5973 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.8107, allocations: 32 kB / 0.5973 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02207/0.8328, allocations: 9.534 MB / 0.6067 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.833, allocations: 60.28 kB / 0.6067 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002321/0.8332, allocations: 120 kB / 0.6068 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/0.8402, allocations: 2.078 MB / 0.6089 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.8446, allocations: 1.259 MB / 0.6101 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2545/1.099, allocations: 17.24 MB / 0.6269 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.104, allocations: 346.3 kB / 0.6272 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.106, allocations: 358.4 kB / 0.6276 GB, free: 152.1 MB / 0.5137 GB 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.00524/1.111, allocations: 2.127 MB / 0.6297 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.112, allocations: 395.9 kB / 0.63 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/1.121, allocations: 4.273 MB / 0.6342 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.083e-05/1.121, allocations: 21.06 kB / 0.6342 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.889e-05/1.121, allocations: 7.438 kB / 0.6342 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-05/1.121, allocations: 13.14 kB / 0.6343 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.144, allocations: 9.972 MB / 0.644 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/1.144, allocations: 0 / 0.644 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.145, allocations: 281.4 kB / 0.6443 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003838/1.149, allocations: 1.352 MB / 0.6456 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.149, allocations: 32.89 kB / 0.6456 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.16, allocations: 8.981 MB / 0.6544 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.16, allocations: 0 / 0.6544 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.172, allocations: 7.252 MB / 0.6615 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.173, allocations: 443.1 kB / 0.6619 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.174, allocations: 31.69 kB / 0.6619 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.177, allocations: 121.5 kB / 0.662 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006484/1.178, allocations: 113.8 kB / 0.6621 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/1.178, allocations: 58.42 kB / 0.6622 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005689/1.184, allocations: 2.634 MB / 0.6648 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/1.184, allocations: 3.938 kB / 0.6648 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006896/1.19, allocations: 1.102 MB / 0.6659 GB, free: 135.5 MB / 0.5137 GB 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.01131/1.202, allocations: 7.901 MB / 0.6736 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008806/1.211, allocations: 5.813 MB / 0.6792 GB, free: 121.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.211, allocations: 1.031 kB / 0.6792 GB, free: 121.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.214, allocations: 2.068 MB / 0.6813 GB, free: 119.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/1.219, allocations: 0.5916 MB / 0.6818 GB, free: 119.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0814/1.301, allocations: 49.8 MB / 0.7305 GB, free: 64.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005345/1.306, allocations: 3.398 MB / 0.7338 GB, free: 60.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003957/1.31, allocations: 1.878 MB / 0.7356 GB, free: 58.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002711/1.313, allocations: 1.983 MB / 0.7376 GB, free: 56.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/1.313, allocations: 0 / 0.7376 GB, free: 56.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3753/1.688, allocations: 84.1 MB / 0.8197 GB, free: 175.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.09/28.78, allocations: 10.64 kB / 0.8197 GB, free: 175.1 MB / 0.545 GB " [Timeout remaining time 631] (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: 31.43708171788603] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 28.922430622857064 28.934786013 28.526179418 Calling exit ...