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.001607/0.001607, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001534/0.001534, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.448/1.448, allocations: 230.5 MB / 254.7 MB, free: 15.22 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.001992/0.001992, allocations: 71.83 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 53.32 MB / 426.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2089/0.3142, allocations: 7.117 MB / 434 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.3191, allocations: 3.188 MB / 437.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/0.3199, allocations: 30.66 kB / 437.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3214, allocations: 0.8053 MB / 438 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.3244, allocations: 1.314 MB / 439.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3256, allocations: 497.6 kB / 439.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.3292, allocations: 2.558 MB / 442.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.3309, allocations: 1.015 MB / 443.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.3323, allocations: 0.7545 MB / 444.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.3341, allocations: 1.208 MB / 445.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.3345, allocations: 138.7 kB / 445.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.3365, allocations: 0.8957 MB / 446.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3376, allocations: 1.011 MB / 447.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.3388, allocations: 1.186 MB / 448.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.3443, allocations: 3.94 MB / 452.5 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3443, allocations: 1.375 kB / 452.5 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3443, allocations: 0 / 452.5 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.05e-05/0.3444, allocations: 0 / 452.5 MB, free: 372 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.007069/0.3515, allocations: 2.961 MB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3515, allocations: 10.25 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007621/0.3523, allocations: 449 kB / 455.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.3587, allocations: 1.665 MB / 457.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003823/0.3625, allocations: 1.524 MB / 459.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3626, allocations: 133.1 kB / 459.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.363, allocations: 154.4 kB / 459.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.3734, allocations: 6.356 MB / 465.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-05/0.3735, allocations: 34.61 kB / 465.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.3737, allocations: 83.89 kB / 465.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/0.3762, allocations: 1.438 MB / 467.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.387, allocations: 5.662 MB / 473 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.4234, allocations: 26.26 MB / 499.2 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/0.4283, allocations: 2.177 MB / 0.4897 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.4298, allocations: 0.9443 MB / 0.4906 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.4299, allocations: 15.92 kB / 0.4906 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.4299, allocations: 42.56 kB / 0.4906 GB, free: 3.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.536e-06/0.4299, allocations: 4 kB / 0.4907 GB, free: 3.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02435/0.4543, allocations: 8.722 MB / 0.4992 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4544, allocations: 140.5 kB / 0.4993 GB, free: 10.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005354/0.4597, allocations: 2.828 MB / 0.5021 GB, free: 7.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.46, allocations: 37.89 kB / 0.5021 GB, free: 7.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.4621, allocations: 2.159 MB / 0.5042 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.4628, allocations: 452.6 kB / 0.5046 GB, free: 5.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.4645, allocations: 0.8932 MB / 0.5055 GB, free: 4.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4647, allocations: 301.1 kB / 0.5058 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.4674, allocations: 1.406 MB / 0.5072 GB, free: 2.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005402/0.4728, allocations: 4.238 MB / 0.5113 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007827/0.4806, allocations: 6.131 MB / 0.5173 GB, free: 5.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.657e-05/0.4807, allocations: 28 kB / 0.5173 GB, free: 5.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0121/0.4928, allocations: 6.081 MB / 0.5233 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.917e-05/0.4929, allocations: 48.94 kB / 0.5233 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.4931, allocations: 100 kB / 0.5234 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/0.4953, allocations: 0.8045 MB / 0.5242 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.4985, allocations: 0.9786 MB / 0.5251 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.505, allocations: 4.474 MB / 0.5295 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.5082, allocations: 251.6 kB / 0.5298 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007428/0.5089, allocations: 276 kB / 0.53 GB, free: 8.25 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.002714/0.5116, allocations: 1.371 MB / 0.5314 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/0.5122, allocations: 242.4 kB / 0.5316 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.5164, allocations: 1.849 MB / 0.5334 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/0.5164, allocations: 15.98 kB / 0.5334 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5164, allocations: 7.938 kB / 0.5334 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5164, allocations: 3.984 kB / 0.5334 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.5272, allocations: 4.774 MB / 0.5381 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5272, allocations: 4 kB / 0.5381 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.5278, allocations: 131.8 kB / 0.5382 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.5297, allocations: 0.656 MB / 0.5389 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.5298, allocations: 20 kB / 0.5389 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.5352, allocations: 3.947 MB / 0.5427 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5352, allocations: 0 / 0.5427 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/0.5414, allocations: 3.691 MB / 0.5463 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/0.5421, allocations: 303.4 kB / 0.5466 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/0.5426, allocations: 13.08 kB / 0.5466 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.5437, allocations: 71.91 kB / 0.5467 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.5439, allocations: 55.86 kB / 0.5468 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.544, allocations: 35.98 kB / 0.5468 GB, free: 6.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003649/0.5477, allocations: 1.75 MB / 0.5485 GB, free: 5.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5477, allocations: 0 / 0.5485 GB, free: 5.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003493/0.5511, allocations: 0.6288 MB / 0.5491 GB, free: 4.387 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.006534/0.5577, allocations: 4.325 MB / 0.5533 GB, free: 24 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005792/0.5635, allocations: 3.289 MB / 0.5565 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5635, allocations: 0 / 0.5565 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.5648, allocations: 0.8656 MB / 0.5574 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.5667, allocations: 266.2 kB / 0.5576 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05197/0.6187, allocations: 30.2 MB / 0.5871 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/0.6219, allocations: 2.192 MB / 0.5893 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003267/0.6251, allocations: 1.396 MB / 0.5906 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/0.6269, allocations: 1.046 MB / 0.5917 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.6269, allocations: 0 / 0.5917 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.9163, allocations: 41.92 MB / 0.6326 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.63/19.55, allocations: 5.125 kB / 0.6326 GB, free: 167.5 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 & /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 --stepSize=0.0009996 --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: 21.965832905843854] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 19.65500959707424 19.664939323 19.318378659 Calling exit ...