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.DoublePendulum.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.00154/0.00154, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001991/0.001991, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.DoublePendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",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.001978/0.001978, allocations: 72.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01462/0.3184, allocations: 10.47 MB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009906/0.3283, allocations: 4.015 MB / 446.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.3308, allocations: 79.56 kB / 446.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004922/0.3357, allocations: 2.235 MB / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.3412, allocations: 1.876 MB / 450.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3433, allocations: 0.7525 MB / 451.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008373/0.3516, allocations: 5.268 MB / 456.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.3552, allocations: 2.4 MB / 459 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.3579, allocations: 1.507 MB / 460.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.3615, allocations: 2.208 MB / 462.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007405/0.3622, allocations: 300 kB / 463 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.3648, allocations: 1.217 MB / 464.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.367, allocations: 1.889 MB / 466.1 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.3697, allocations: 2.191 MB / 468.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009264/0.3789, allocations: 6.989 MB / 475.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3789, allocations: 0 / 475.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3789, allocations: 0 / 475.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.3791, allocations: 0 / 475.3 MB, free: 11.3 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01413/0.3933, allocations: 4.969 MB / 480.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3933, allocations: 8.031 kB / 480.3 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/0.3944, allocations: 0.6283 MB / 480.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1393/0.5338, allocations: 12.3 MB / 493.2 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.5449, allocations: 3.631 MB / 496.8 MB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.5451, allocations: 201 kB / 497 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007843/0.5459, allocations: 271.8 kB / 497.3 MB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.5618, allocations: 8.734 MB / 0.4942 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.562, allocations: 51.66 kB / 0.4942 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.5623, allocations: 127.9 kB / 0.4943 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00324/0.5656, allocations: 1.77 MB / 0.4961 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.5817, allocations: 7.53 MB / 0.5034 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2857/0.8674, allocations: 35.31 MB / 0.5379 GB, free: 92.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007252/0.8747, allocations: 3.114 MB / 0.541 GB, free: 92.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.8766, allocations: 1.9 MB / 0.5428 GB, free: 92.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.8769, allocations: 108.8 kB / 0.5429 GB, free: 92.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.8769, allocations: 42.84 kB / 0.543 GB, free: 92.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.127e-06/0.8769, allocations: 0 / 0.543 GB, free: 92.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.04559/0.9225, allocations: 20.01 MB / 0.5625 GB, free: 83.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.9226, allocations: 248.6 kB / 0.5627 GB, free: 83.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.9266, allocations: 3.949 MB / 0.5666 GB, free: 79.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.9269, allocations: 53.7 kB / 0.5666 GB, free: 79.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.928, allocations: 2.922 MB / 0.5695 GB, free: 76.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000546/0.9286, allocations: 0.7461 MB / 0.5702 GB, free: 76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/0.9296, allocations: 1.107 MB / 0.5713 GB, free: 74.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.9297, allocations: 310.3 kB / 0.5716 GB, free: 74.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.932, allocations: 2.166 MB / 0.5737 GB, free: 72.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.9353, allocations: 5.396 MB / 0.579 GB, free: 65.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.9423, allocations: 8.21 MB / 0.587 GB, free: 55.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.166e-05/0.9424, allocations: 32 kB / 0.587 GB, free: 55.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01337/0.9558, allocations: 8.638 MB / 0.5955 GB, free: 47.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.9559, allocations: 60.22 kB / 0.5955 GB, free: 47.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.826e-05/0.956, allocations: 112 kB / 0.5956 GB, free: 46.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/0.9596, allocations: 1.504 MB / 0.5971 GB, free: 45.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/0.9631, allocations: 1.228 MB / 0.5983 GB, free: 44.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.9737, allocations: 9.829 MB / 0.6079 GB, free: 34.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.9782, allocations: 320.5 kB / 0.6082 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007844/0.9789, allocations: 328.8 kB / 0.6085 GB, free: 33.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (650): * Single equations (assignments): 646 * 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 {(2,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002634/0.9816, allocations: 1.94 MB / 0.6104 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/0.9822, allocations: 373.6 kB / 0.6108 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/0.9888, allocations: 4.131 MB / 0.6148 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/0.9888, allocations: 20 kB / 0.6148 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.9888, allocations: 8 kB / 0.6148 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.9888, allocations: 7.969 kB / 0.6148 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.003, allocations: 9.226 MB / 0.6238 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.003, allocations: 0 / 0.6238 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.004, allocations: 267.5 kB / 0.6241 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/1.007, allocations: 1.351 MB / 0.6254 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/1.007, allocations: 32 kB / 0.6254 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009878/1.017, allocations: 8.856 MB / 0.6341 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.017, allocations: 0 / 0.6341 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009368/1.027, allocations: 7.055 MB / 0.641 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009626/1.028, allocations: 345.6 kB / 0.6413 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004142/1.028, allocations: 35.81 kB / 0.6413 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.029, allocations: 115.8 kB / 0.6415 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/1.03, allocations: 120.8 kB / 0.6416 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.03, allocations: 51.98 kB / 0.6416 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00408/1.034, allocations: 2.501 MB / 0.6441 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 0.6441 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004423/1.039, allocations: 0.996 MB / 0.645 GB, free: 12.07 MB / 462.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 (136): * Single equations (assignments): 132 * 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 {(4,31,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01277/1.051, allocations: 7.682 MB / 0.6525 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009337/1.061, allocations: 5.149 MB / 0.6576 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.061, allocations: 4 kB / 0.6576 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003751/1.064, allocations: 1.939 MB / 0.6595 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.067, allocations: 494.4 kB / 0.6599 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09862/1.166, allocations: 45.79 MB / 0.7047 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007802/1.174, allocations: 3.087 MB / 0.7077 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008418/1.182, allocations: 1.823 MB / 0.7095 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/1.188, allocations: 1.749 MB / 0.7112 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.774e-06/1.188, allocations: 0 / 0.7112 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4292/1.617, allocations: 79.63 MB / 0.7889 GB, free: 166.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/24.74, allocations: 18.31 kB / 0.7889 GB, free: 166.5 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.32591283880174] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 24.880161922890693 24.890821002 24.509247289 Calling exit ...