Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002579, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007246/0.0007246, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001749, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9517/0.9517, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.055, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.03998/0.03998, allocations: 7.183 MB / 251.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00468/0.04466, allocations: 2.561 MB / 253.9 MB, free: 5.195 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 255.2 MB, free: 3.895 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.523e-05, allocations: 2.312 kB / 255.2 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01888/0.01889, allocations: 17.61 MB / 272.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1231/0.142, allocations: 5.778 MB / 278.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.1443, allocations: 106.5 kB / 278.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.1469, allocations: 1.835 MB / 280.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.1519, allocations: 3.138 MB / 283.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1531, allocations: 0.7318 MB / 284.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005923/0.159, allocations: 7.025 MB / 291.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.1622, allocations: 3.765 MB / 295.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.1654, allocations: 3.606 MB / 298.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.1682, allocations: 2.911 MB / 301.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000624/0.1688, allocations: 0.5469 MB / 302.2 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.1707, allocations: 1.372 MB / 303.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.1725, allocations: 2.544 MB / 306.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.1741, allocations: 1.608 MB / 307.8 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.1813, allocations: 6.498 MB / 314.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.769e-05/0.1813, allocations: 0 / 314.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1813, allocations: 8 kB / 314.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002797/0.1815, allocations: 0 / 314.3 MB, free: 12.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2460 * Number of variables: 2460 Notification: Performance of Generate backend data structure: time 0.01782/0.1994, allocations: 9.853 MB / 324.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.1994, allocations: 9.641 kB / 324.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.2041, allocations: 1.937 MB / 326.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.2073, allocations: 2.548 MB / 328.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2074, allocations: 347.1 kB / 328.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007824/0.2082, allocations: 452.3 kB / 329.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00913/0.2173, allocations: 8.305 MB / 337.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.2174, allocations: 75.48 kB / 337.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.2178, allocations: 220.8 kB / 338 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.2204, allocations: 3.192 MB / 341.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007243/0.2276, allocations: 4.508 MB / 345.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/0.2678, allocations: 54.29 MB / 400 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008982/0.2768, allocations: 3.564 MB / 403.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.278, allocations: 1.001 MB / 404.5 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.2887, allocations: 7.661 MB / 412.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.2888, allocations: 68.81 kB / 412.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 4.739e-06/0.2888, allocations: 0 / 412.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.1435/0.4322, allocations: 12.51 MB / 424.8 MB, free: 120.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.4323, allocations: 198.2 kB / 425 MB, free: 120.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/0.4371, allocations: 4.693 MB / 429.7 MB, free: 119.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.4373, allocations: 91.05 kB / 429.8 MB, free: 119.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.439, allocations: 4.734 MB / 434.5 MB, free: 116.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/0.4398, allocations: 1.589 MB / 436.1 MB, free: 115.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/0.4417, allocations: 2.06 MB / 438.1 MB, free: 115 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.4418, allocations: 302.4 kB / 438.4 MB, free: 114.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.444, allocations: 1.333 MB / 439.8 MB, free: 114.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/0.4472, allocations: 7.194 MB / 447 MB, free: 107 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/0.4532, allocations: 10.23 MB / 457.2 MB, free: 98.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.939e-05/0.4532, allocations: 65.12 kB / 457.2 MB, free: 98.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.00696/0.4602, allocations: 7.108 MB / 464.4 MB, free: 96.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.4603, allocations: 96.06 kB / 464.4 MB, free: 96.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/0.4605, allocations: 221.3 kB / 464.7 MB, free: 96.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.4612, allocations: 0.518 MB / 465.2 MB, free: 96.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004138/0.4653, allocations: 2.767 MB / 467.9 MB, free: 93.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.4677, allocations: 3.256 MB / 471.2 MB, free: 90.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/0.4715, allocations: 431 kB / 471.6 MB, free: 90.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/0.4719, allocations: 0.5365 MB / 472.2 MB, free: 89.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 972 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1327): * Single equations (assignments): 1320 * Array equations: 6 * 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 {(6,28,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001697/0.4736, allocations: 0.9705 MB / 473.1 MB, free: 89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.474, allocations: 404.4 kB / 473.5 MB, free: 88.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.4762, allocations: 2.162 MB / 475.7 MB, free: 86.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.4763, allocations: 63.98 kB / 475.8 MB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4763, allocations: 8 kB / 475.8 MB, free: 86.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.4763, allocations: 23.92 kB / 475.8 MB, free: 86.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/0.4844, allocations: 7.552 MB / 483.3 MB, free: 78.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.4844, allocations: 35.94 kB / 483.4 MB, free: 78.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.4859, allocations: 0.7029 MB / 484.1 MB, free: 77.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/0.4867, allocations: 0.7577 MB / 484.8 MB, free: 76.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006175/0.4873, allocations: 490.9 kB / 485.3 MB, free: 76.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.4874, allocations: 95.98 kB / 485.4 MB, free: 76.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.4895, allocations: 4.784 MB / 490.2 MB, free: 71.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.4895, allocations: 43.75 kB / 490.2 MB, free: 71.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.4926, allocations: 4.235 MB / 494.5 MB, free: 66.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.493, allocations: 99.97 kB / 494.6 MB, free: 66.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.4941, allocations: 84.5 kB / 494.6 MB, free: 66.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.4944, allocations: 324.9 kB / 495 MB, free: 65.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.4945, allocations: 112 kB / 495.1 MB, free: 65.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.4957, allocations: 1.72 MB / 496.8 MB, free: 63.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4957, allocations: 0 / 496.8 MB, free: 63.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005321/0.501, allocations: 1.648 MB / 498.4 MB, free: 62.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 6 (heatCapacitor.T,planetary.planet.phi,planetary.bearing_Carrier.phi,planetary.bearing_Carrier.w,sunSpeed.phi,ringTorque.phi) * 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 (365): * Single equations (assignments): 356 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,22,52.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004067/0.5014, allocations: 267.9 kB / 498.7 MB, free: 62.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0044/0.5058, allocations: 4.794 MB / 0.4917 GB, free: 57.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002391/0.5061, allocations: 170.1 kB / 0.4919 GB, free: 57.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.5083, allocations: 2.343 MB / 0.4941 GB, free: 54.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.511, allocations: 4.708 MB / 0.4987 GB, free: 49.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.5279, allocations: 13.22 MB / 0.5117 GB, free: 35.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/0.5293, allocations: 1.989 MB / 0.5136 GB, free: 33.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002189/0.5315, allocations: 0.8645 MB / 0.5144 GB, free: 33.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.5327, allocations: 0.8876 MB / 0.5153 GB, free: 32.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5327, allocations: 0 / 0.5153 GB, free: 32.16 MB / 394.7 MB Notification: Performance of Templates: time 0.1735/0.7062, allocations: 57.18 MB / 0.5711 GB, free: 109.6 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.sim & ./PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9774851026013494]