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.001409/0.001409, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001528/0.001528, allocations: 220.4 kB / 22.92 MB, free: 5.535 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.3/1.3, allocations: 230.5 MB / 256.4 MB, free: 8.441 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.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.001755/0.001755, allocations: 59.89 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2158, allocations: 53.31 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01341/0.2292, allocations: 11.87 MB / 441.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.2377, allocations: 4.378 MB / 445.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.2391, allocations: 79.75 kB / 445.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.2442, allocations: 2.924 MB / 448.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.2485, allocations: 1.965 MB / 450.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.2506, allocations: 1.06 MB / 451.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007134/0.2577, allocations: 5.592 MB / 457.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.2609, allocations: 2.814 MB / 460.1 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.263, allocations: 1.717 MB / 461.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.2658, allocations: 2.477 MB / 464.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.2664, allocations: 360 kB / 464.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2684, allocations: 1.272 MB / 465.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.2703, allocations: 2.142 MB / 468 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.2726, allocations: 2.479 MB / 470.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.2802, allocations: 7.915 MB / 478.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2802, allocations: 0 / 478.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2802, allocations: 4 kB / 478.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-05/0.2803, allocations: 0 / 478.4 MB, free: 6.18 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.01182/0.2922, allocations: 5.571 MB / 484 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2922, allocations: 12.03 kB / 484 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008487/0.293, allocations: 0.711 MB / 484.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1575/0.4505, allocations: 12.38 MB / 497.1 MB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008939/0.4594, allocations: 3.967 MB / 0.4893 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.4596, allocations: 238 kB / 0.4896 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005916/0.4602, allocations: 319.8 kB / 0.4899 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.4749, allocations: 9.718 MB / 0.4994 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4751, allocations: 51.64 kB / 0.4994 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/0.4754, allocations: 155.8 kB / 0.4996 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/0.4787, allocations: 1.904 MB / 0.5014 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.4938, allocations: 8.234 MB / 0.5095 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.224/0.7178, allocations: 37.77 MB / 0.5463 GB, free: 76.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006931/0.7247, allocations: 3.697 MB / 0.55 GB, free: 75.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.7264, allocations: 1.91 MB / 0.5518 GB, free: 75.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.7268, allocations: 0.6456 MB / 0.5525 GB, free: 74.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.7268, allocations: 56.97 kB / 0.5525 GB, free: 74.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.046e-06/0.7268, allocations: 4.625 kB / 0.5525 GB, free: 74.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04457/0.7714, allocations: 21.1 MB / 0.5731 GB, free: 61.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.7715, allocations: 265.5 kB / 0.5734 GB, free: 61.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.7751, allocations: 4.181 MB / 0.5775 GB, free: 57.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.7753, allocations: 56.17 kB / 0.5775 GB, free: 57.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.7763, allocations: 3.24 MB / 0.5807 GB, free: 54.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.7767, allocations: 0.8009 MB / 0.5815 GB, free: 53.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.7778, allocations: 1.183 MB / 0.5826 GB, free: 52.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.7778, allocations: 307.4 kB / 0.5829 GB, free: 51.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.78, allocations: 2.272 MB / 0.5851 GB, free: 49.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.7831, allocations: 5.74 MB / 0.5907 GB, free: 42.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/0.7891, allocations: 8.689 MB / 0.5992 GB, free: 31.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/0.7892, allocations: 36 kB / 0.5992 GB, free: 31.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01237/0.8015, allocations: 9.526 MB / 0.6085 GB, free: 22.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.8016, allocations: 59.94 kB / 0.6086 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/0.8017, allocations: 129.3 kB / 0.6087 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/0.8065, allocations: 2.076 MB / 0.6108 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.8096, allocations: 1.255 MB / 0.612 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.8254, allocations: 17.25 MB / 0.6288 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.8292, allocations: 339.5 kB / 0.6291 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/0.8296, allocations: 352.2 kB / 0.6295 GB, free: 484 kB / 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.002859/0.8325, allocations: 2.138 MB / 0.6316 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006376/0.8331, allocations: 401.4 kB / 0.632 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/0.841, allocations: 4.274 MB / 0.6361 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/0.841, allocations: 23.2 kB / 0.6362 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.841, allocations: 8 kB / 0.6362 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.841, allocations: 7.969 kB / 0.6362 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.8571, allocations: 9.971 MB / 0.6459 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.8571, allocations: 0 / 0.6459 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.8584, allocations: 291.5 kB / 0.6462 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/0.8621, allocations: 1.351 MB / 0.6475 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.8623, allocations: 36 kB / 0.6475 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/0.8749, allocations: 8.979 MB / 0.6563 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.8749, allocations: 0 / 0.6563 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.8861, allocations: 7.245 MB / 0.6634 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.887, allocations: 446.3 kB / 0.6638 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/0.8873, allocations: 32 kB / 0.6638 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.8888, allocations: 127.8 kB / 0.664 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.8891, allocations: 113.1 kB / 0.6641 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.8893, allocations: 55.98 kB / 0.6641 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003704/0.893, allocations: 2.633 MB / 0.6667 GB, free: 10.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.893, allocations: 0 / 0.6667 GB, free: 10.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004228/0.8972, allocations: 1.109 MB / 0.6678 GB, free: 8.969 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.01146/0.9086, allocations: 7.895 MB / 0.6755 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009005/0.9177, allocations: 5.823 MB / 0.6812 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9177, allocations: 0 / 0.6812 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/0.9213, allocations: 2.061 MB / 0.6832 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.9242, allocations: 0.6022 MB / 0.6838 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07288/0.9971, allocations: 49.86 MB / 0.7325 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/1.001, allocations: 3.386 MB / 0.7358 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003974/1.005, allocations: 1.88 MB / 0.7376 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/1.008, allocations: 1.983 MB / 0.7395 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.008, allocations: 0 / 0.7395 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2849/1.293, allocations: 84.67 MB / 0.8222 GB, free: 155 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/24.37, allocations: 3.984 kB / 0.8222 GB, free: 155 MB / 0.5606 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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: 26.602285962995666]