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.001887/0.001887, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002476/0.002476, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.001975/0.001975, allocations: 60.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2844, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009157/0.2936, allocations: 7.152 MB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.2995, allocations: 3.212 MB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.3001, allocations: 35.81 kB / 442.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.3018, allocations: 0.8132 MB / 443.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.3046, allocations: 1.319 MB / 444.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.3055, allocations: 491 kB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.3087, allocations: 2.562 MB / 447.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.3101, allocations: 1.084 MB / 448.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.3112, allocations: 0.7706 MB / 449.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.3127, allocations: 1.207 MB / 450.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.313, allocations: 136 kB / 450.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.3145, allocations: 0.9008 MB / 451.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009325/0.3154, allocations: 1.005 MB / 452.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3165, allocations: 1.184 MB / 453.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.3207, allocations: 3.94 MB / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3207, allocations: 0 / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.3207, allocations: 3.984 kB / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.3208, allocations: 0 / 457.7 MB, free: 12.98 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.004849/0.3256, allocations: 2.88 MB / 460.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3257, allocations: 12.02 kB / 460.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005129/0.3262, allocations: 450 kB / 461.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/0.332, allocations: 1.668 MB / 462.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/0.3351, allocations: 1.469 MB / 464.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.3352, allocations: 122.8 kB / 464.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003238/0.3355, allocations: 151.9 kB / 464.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009327/0.3448, allocations: 6.367 MB / 470.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.3449, allocations: 31.7 kB / 470.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.3451, allocations: 79.89 kB / 470.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00251/0.3476, allocations: 1.441 MB / 472.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/0.358, allocations: 5.673 MB / 478.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/0.3894, allocations: 26.14 MB / 0.4924 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.3935, allocations: 1.736 MB / 0.4941 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3949, allocations: 0.9326 MB / 0.495 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.395, allocations: 19.92 kB / 0.495 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.395, allocations: 38.56 kB / 0.495 GB, free: 10.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/0.395, allocations: 4 kB / 0.495 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02111/0.4161, allocations: 8.491 MB / 0.5033 GB, free: 1.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4163, allocations: 140.5 kB / 0.5035 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/0.4212, allocations: 2.832 MB / 0.5062 GB, free: 14.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.4215, allocations: 33.7 kB / 0.5063 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.4234, allocations: 2.159 MB / 0.5084 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006273/0.424, allocations: 456.6 kB / 0.5088 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.4253, allocations: 0.8932 MB / 0.5097 GB, free: 11.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4254, allocations: 305.1 kB / 0.51 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.4276, allocations: 1.402 MB / 0.5113 GB, free: 9.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/0.4323, allocations: 4.245 MB / 0.5155 GB, free: 3.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008302/0.4406, allocations: 6.128 MB / 0.5215 GB, free: 12.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.041e-05/0.4407, allocations: 28 kB / 0.5215 GB, free: 12.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01345/0.4542, allocations: 6.077 MB / 0.5274 GB, free: 6.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.4542, allocations: 48 kB / 0.5275 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/0.4544, allocations: 104.8 kB / 0.5276 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/0.4568, allocations: 0.7928 MB / 0.5283 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.46, allocations: 0.9863 MB / 0.5293 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.4667, allocations: 4.379 MB / 0.5336 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/0.4709, allocations: 255.6 kB / 0.5338 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/0.4715, allocations: 272 kB / 0.5341 GB, free: 15.13 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.002428/0.4739, allocations: 1.373 MB / 0.5354 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.4745, allocations: 242.4 kB / 0.5357 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.4788, allocations: 1.845 MB / 0.5375 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.4788, allocations: 15.94 kB / 0.5375 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.4788, allocations: 7.984 kB / 0.5375 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4788, allocations: 3.984 kB / 0.5375 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00978/0.4886, allocations: 4.738 MB / 0.5421 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.4886, allocations: 4 kB / 0.5421 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.4893, allocations: 131.8 kB / 0.5422 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.4914, allocations: 0.6522 MB / 0.5429 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.564e-05/0.4915, allocations: 19.98 kB / 0.5429 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00548/0.4969, allocations: 3.857 MB / 0.5467 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4969, allocations: 0 / 0.5467 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2202/0.7171, allocations: 3.683 MB / 0.5503 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.7177, allocations: 235.4 kB / 0.5505 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.718, allocations: 14.16 kB / 0.5505 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.7191, allocations: 67.89 kB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7193, allocations: 59.52 kB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.7194, allocations: 27.16 kB / 0.5507 GB, free: 114.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.722, allocations: 1.756 MB / 0.5524 GB, free: 113.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.722, allocations: 0 / 0.5524 GB, free: 113.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003062/0.725, allocations: 0.63 MB / 0.553 GB, free: 113.7 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.005525/0.7305, allocations: 4.32 MB / 0.5572 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004683/0.7352, allocations: 3.288 MB / 0.5604 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7352, allocations: 0 / 0.5604 GB, free: 110.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.7362, allocations: 0.871 MB / 0.5613 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.7379, allocations: 254.1 kB / 0.5615 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/0.772, allocations: 30.23 MB / 0.591 GB, free: 80.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.7735, allocations: 2.192 MB / 0.5932 GB, free: 78.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002366/0.7759, allocations: 1.388 MB / 0.5945 GB, free: 77.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/0.7769, allocations: 1.05 MB / 0.5955 GB, free: 75.97 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7769, allocations: 0 / 0.5955 GB, free: 75.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07894/0.8558, allocations: 45.43 MB / 0.6399 GB, free: 30.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.98/19.84, allocations: 19.67 kB / 0.6399 GB, free: 30.83 MB / 462.1 MB " [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.457365648820996] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.9495634958148 19.962217661 19.638897729 Calling exit ...