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.001313/0.001313, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.0016/0.0016, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.468/1.468, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.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.001989/0.001989, allocations: 67.84 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2048/0.3099, allocations: 7.114 MB / 434.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3149, allocations: 3.189 MB / 437.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.3158, allocations: 35.38 kB / 437.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3176, allocations: 0.8138 MB / 438.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.3207, allocations: 1.315 MB / 439.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3218, allocations: 491.9 kB / 440 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3255, allocations: 2.563 MB / 442.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.3272, allocations: 1.019 MB / 443.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.3285, allocations: 0.7626 MB / 444.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.3302, allocations: 1.213 MB / 445.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.3305, allocations: 134.6 kB / 445.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.3322, allocations: 0.8958 MB / 446.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.3333, allocations: 1.01 MB / 447.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.3345, allocations: 1.178 MB / 448.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.3395, allocations: 3.95 MB / 452.7 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3395, allocations: 0 / 452.7 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3395, allocations: 0 / 452.7 MB, free: 240 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.3396, allocations: 1.375 kB / 452.7 MB, free: 240 kB / 350.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.006976/0.3466, allocations: 2.95 MB / 455.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3466, allocations: 9.094 kB / 455.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007603/0.3474, allocations: 457 kB / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.3539, allocations: 1.665 MB / 457.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.3573, allocations: 1.531 MB / 459.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3574, allocations: 120.5 kB / 459.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.3578, allocations: 155.6 kB / 459.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.3686, allocations: 6.361 MB / 465.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-05/0.3686, allocations: 35.73 kB / 465.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.3689, allocations: 80.58 kB / 466 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.3715, allocations: 1.433 MB / 467.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.3828, allocations: 5.681 MB / 473.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.4176, allocations: 26.23 MB / 499.4 MB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.4225, allocations: 2.186 MB / 0.4898 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.4239, allocations: 0.952 MB / 0.4907 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.317e-05/0.4239, allocations: 11.92 kB / 0.4907 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.424, allocations: 46.5 kB / 0.4908 GB, free: 3.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.575e-06/0.424, allocations: 224 / 0.4908 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02255/0.4465, allocations: 8.713 MB / 0.4993 GB, free: 10.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4466, allocations: 144.5 kB / 0.4994 GB, free: 10.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004302/0.4509, allocations: 2.824 MB / 0.5022 GB, free: 7.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.4511, allocations: 41.7 kB / 0.5022 GB, free: 7.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.4528, allocations: 2.151 MB / 0.5043 GB, free: 5.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/0.4534, allocations: 464.6 kB / 0.5048 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.4547, allocations: 0.8815 MB / 0.5056 GB, free: 4.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4548, allocations: 301.1 kB / 0.5059 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.4572, allocations: 1.414 MB / 0.5073 GB, free: 2.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/0.462, allocations: 4.234 MB / 0.5114 GB, free: 12.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008078/0.4701, allocations: 6.123 MB / 0.5174 GB, free: 5.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.308e-05/0.4702, allocations: 32.88 kB / 0.5174 GB, free: 5.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01285/0.483, allocations: 6.089 MB / 0.5234 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.4831, allocations: 48 kB / 0.5234 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.4833, allocations: 103.9 kB / 0.5235 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/0.4858, allocations: 0.8009 MB / 0.5243 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.4895, allocations: 0.9864 MB / 0.5253 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/0.497, allocations: 4.474 MB / 0.5297 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.5006, allocations: 246.8 kB / 0.5299 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009034/0.5015, allocations: 279.9 kB / 0.5302 GB, free: 8.105 MB / 446.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.003402/0.5049, allocations: 1.372 MB / 0.5315 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000657/0.5055, allocations: 246.3 kB / 0.5317 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.5104, allocations: 1.838 MB / 0.5335 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.5104, allocations: 12 kB / 0.5335 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.5105, allocations: 11.94 kB / 0.5335 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5105, allocations: 3.984 kB / 0.5335 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.522, allocations: 4.787 MB / 0.5382 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.522, allocations: 3.828 kB / 0.5382 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/0.5227, allocations: 135.8 kB / 0.5384 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/0.5249, allocations: 0.6483 MB / 0.539 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.525, allocations: 19.98 kB / 0.539 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005982/0.531, allocations: 3.953 MB / 0.5429 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.531, allocations: 0 / 0.5429 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/0.5382, allocations: 3.693 MB / 0.5465 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.5393, allocations: 299.3 kB / 0.5468 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007126/0.54, allocations: 23.97 kB / 0.5468 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.5415, allocations: 63.84 kB / 0.5468 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.5417, allocations: 51.92 kB / 0.5469 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5418, allocations: 36 kB / 0.5469 GB, free: 6.625 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004656/0.5464, allocations: 1.754 MB / 0.5486 GB, free: 4.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5464, allocations: 0 / 0.5486 GB, free: 4.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00433/0.5508, allocations: 0.6288 MB / 0.5493 GB, free: 4.234 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.007204/0.558, allocations: 4.327 MB / 0.5535 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006019/0.564, allocations: 3.284 MB / 0.5567 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.564, allocations: 0 / 0.5567 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.5654, allocations: 0.8697 MB / 0.5575 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.5674, allocations: 264.8 kB / 0.5578 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05545/0.6229, allocations: 30.19 MB / 0.5873 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003374/0.6263, allocations: 2.181 MB / 0.5894 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003399/0.6297, allocations: 1.401 MB / 0.5908 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/0.6315, allocations: 1.05 MB / 0.5918 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.6315, allocations: 0 / 0.5918 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3482/0.9796, allocations: 41.92 MB / 0.6327 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/20.22, allocations: 9.141 kB / 0.6327 GB, free: 167.3 MB / 0.5137 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_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_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: 22.735343642998487] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 20.338353301864117 20.355523925 20.012412428 Calling exit ...