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.Pendulum.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.001439/0.001439, allocations: 105 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.001603/0.001603, allocations: 217.7 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.285/1.285, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.Pendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",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.00186/0.00186, allocations: 71.81 kB / 376.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2054, allocations: 53.31 MB / 429.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00788/0.2132, allocations: 7.15 MB / 436.6 MB, free: 236 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.2182, allocations: 3.209 MB / 439.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003732/0.2186, allocations: 31.94 kB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.22, allocations: 0.8054 MB / 440.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.2222, allocations: 1.308 MB / 441.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.2231, allocations: 499 kB / 442.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.2258, allocations: 2.566 MB / 445 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.2269, allocations: 0.9501 MB / 445.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.2276, allocations: 0.7472 MB / 446.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.229, allocations: 1.215 MB / 447.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.2293, allocations: 132 kB / 448 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.2306, allocations: 0.9047 MB / 448.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.2314, allocations: 1.001 MB / 449.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009735/0.2324, allocations: 1.18 MB / 451.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.236, allocations: 3.945 MB / 455 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.236, allocations: 0 / 455 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.236, allocations: 4 kB / 455 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.2361, allocations: 0 / 455 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004428/0.2405, allocations: 2.944 MB / 458 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2405, allocations: 12.03 kB / 458 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004676/0.241, allocations: 457.9 kB / 458.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.2467, allocations: 1.664 MB / 460.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.249, allocations: 1.535 MB / 461.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.2491, allocations: 118.9 kB / 461.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.2494, allocations: 151.9 kB / 461.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007946/0.2573, allocations: 6.363 MB / 468.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/0.2574, allocations: 35.7 kB / 468.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.2576, allocations: 79.89 kB / 468.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002344/0.2599, allocations: 1.437 MB / 469.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008894/0.2688, allocations: 5.67 MB / 475.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.2946, allocations: 26.24 MB / 0.49 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.2986, allocations: 2.196 MB / 0.4921 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.2998, allocations: 0.9404 MB / 0.493 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.2999, allocations: 8 kB / 0.493 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2999, allocations: 46.72 kB / 0.4931 GB, free: 10.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.796e-06/0.2999, allocations: 3.938 kB / 0.4931 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.01936/0.3193, allocations: 8.711 MB / 0.5016 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.3193, allocations: 148.5 kB / 0.5017 GB, free: 1.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003469/0.3228, allocations: 2.828 MB / 0.5045 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.3229, allocations: 45.67 kB / 0.5045 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.3244, allocations: 2.151 MB / 0.5066 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.3248, allocations: 456.7 kB / 0.5071 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.3258, allocations: 0.8854 MB / 0.5079 GB, free: 10.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3259, allocations: 301.1 kB / 0.5082 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.3279, allocations: 1.414 MB / 0.5096 GB, free: 8.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/0.3318, allocations: 4.23 MB / 0.5137 GB, free: 3.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006561/0.3384, allocations: 6.124 MB / 0.5197 GB, free: 11.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-05/0.3384, allocations: 32 kB / 0.5198 GB, free: 11.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01013/0.3486, allocations: 6.089 MB / 0.5257 GB, free: 5.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.3486, allocations: 51.94 kB / 0.5258 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/0.3487, allocations: 107.9 kB / 0.5259 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.3509, allocations: 0.7933 MB / 0.5266 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.3536, allocations: 0.9825 MB / 0.5276 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.3591, allocations: 4.471 MB / 0.532 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.3617, allocations: 247.6 kB / 0.5322 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/0.3621, allocations: 280 kB / 0.5325 GB, free: 14.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (533): * Single equations (assignments): 529 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001757/0.3638, allocations: 1.371 MB / 0.5338 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.3642, allocations: 242.4 kB / 0.534 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.3679, allocations: 1.838 MB / 0.5358 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.3679, allocations: 19.94 kB / 0.5358 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3679, allocations: 8 kB / 0.5359 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3679, allocations: 3.984 kB / 0.5359 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00776/0.3757, allocations: 4.782 MB / 0.5405 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3757, allocations: 0 / 0.5405 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.3763, allocations: 135.8 kB / 0.5407 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.3782, allocations: 0.6526 MB / 0.5413 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.3783, allocations: 12 kB / 0.5413 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/0.3831, allocations: 3.953 MB / 0.5452 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.3831, allocations: 7.969 kB / 0.5452 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.159/0.5421, allocations: 3.692 MB / 0.5488 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.5425, allocations: 304.6 kB / 0.5491 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.5427, allocations: 16.23 kB / 0.5491 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.5435, allocations: 60.38 kB / 0.5491 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.5437, allocations: 54.56 kB / 0.5492 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.5438, allocations: 33.48 kB / 0.5492 GB, free: 114.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.5457, allocations: 1.753 MB / 0.5509 GB, free: 113.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5457, allocations: 0 / 0.5509 GB, free: 113.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002515/0.5482, allocations: 0.6309 MB / 0.5516 GB, free: 113.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00448/0.5527, allocations: 4.322 MB / 0.5558 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.5561, allocations: 3.292 MB / 0.559 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5561, allocations: 0 / 0.559 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.5569, allocations: 0.865 MB / 0.5598 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5581, allocations: 259.1 kB / 0.5601 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.5829, allocations: 30.24 MB / 0.5896 GB, free: 79.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.5842, allocations: 2.183 MB / 0.5917 GB, free: 77.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002113/0.5863, allocations: 1.396 MB / 0.5931 GB, free: 76.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.5872, allocations: 1.05 MB / 0.5941 GB, free: 75.01 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5872, allocations: 0 / 0.5941 GB, free: 75.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06544/0.6526, allocations: 42.17 MB / 0.6353 GB, free: 33.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.68, allocations: 7.422 kB / 0.6353 GB, free: 33.14 MB / 462.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.808170586002234]