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.0008816/0.0008816, allocations: 77.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0008721/0.0008721, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.9973/0.9973, allocations: 177.1 MB / 204.5 MB, free: 5.461 MB / 186.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.03009/0.03009, allocations: 7.174 MB / 268.2 MB, free: 5.871 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.703e-06/1.703e-06, allocations: 0 / 340.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.983e-05, allocations: 6.312 kB / 340.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01197/0.01199, allocations: 17.39 MB / 357.5 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.02357, allocations: 5.523 MB / 363 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.0272, allocations: 107.6 kB / 363.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.03026, allocations: 1.847 MB / 365 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007148/0.03741, allocations: 3.173 MB / 368.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.03919, allocations: 0.7758 MB / 368.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008366/0.04755, allocations: 7.269 MB / 376.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00556/0.05311, allocations: 4.068 MB / 380.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.05909, allocations: 3.441 MB / 383.7 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.06377, allocations: 3.062 MB / 386.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.06531, allocations: 0.5508 MB / 387.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.06799, allocations: 1.354 MB / 388.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003039/0.07103, allocations: 2.843 MB / 391.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003497/0.07453, allocations: 1.919 MB / 393.4 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009593/0.08412, allocations: 6.887 MB / 400.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.08412, allocations: 0 / 400.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.08412, allocations: 3.938 kB / 400.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000251/0.08438, allocations: 8 kB / 400.3 MB, free: 13.4 MB / 330.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.02103/0.1054, allocations: 11.45 MB / 411.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1054, allocations: 8.625 kB / 411.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1572/0.2627, allocations: 2.546 MB / 414.4 MB, free: 69.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.2682, allocations: 3.03 MB / 417.4 MB, free: 69.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.2686, allocations: 338.9 kB / 417.7 MB, free: 69.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.27, allocations: 450.2 kB / 418.2 MB, free: 69.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.2871, allocations: 9.296 MB / 427.4 MB, free: 64.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/0.2874, allocations: 72.97 kB / 427.5 MB, free: 64.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008339/0.2882, allocations: 229 kB / 427.7 MB, free: 64.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/0.2912, allocations: 3.357 MB / 431.1 MB, free: 62.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.3024, allocations: 4.473 MB / 435.6 MB, free: 59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05855/0.3609, allocations: 76.36 MB / 0.4999 GB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.3713, allocations: 3.608 MB / 0.5035 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.3734, allocations: 1.178 MB / 0.5046 GB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/0.3893, allocations: 8.725 MB / 0.5131 GB, free: 236 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.3894, allocations: 75.64 kB / 0.5132 GB, free: 148 kB / 362.7 MB Notification: Performance of pre-optimization done (n=373): time 7.564e-06/0.3894, allocations: 0 / 0.5132 GB, free: 148 kB / 362.7 MB Notification: Performance of matching and sorting (n=420): time 0.04291/0.4323, allocations: 12.85 MB / 0.5258 GB, free: 3.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/0.4324, allocations: 192.9 kB / 0.5259 GB, free: 3.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/0.4381, allocations: 5.191 MB / 0.531 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006424/0.4388, allocations: 81.7 kB / 0.5311 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003016/0.4418, allocations: 5.248 MB / 0.5362 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00174/0.4435, allocations: 1.667 MB / 0.5378 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002336/0.4459, allocations: 2.368 MB / 0.5401 GB, free: 4.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.446, allocations: 480.8 kB / 0.5406 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.4483, allocations: 1.055 MB / 0.5416 GB, free: 2.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006177/0.4544, allocations: 10.02 MB / 0.5514 GB, free: 4.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1615/0.616, allocations: 12.15 MB / 0.5633 GB, free: 110.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/0.6162, allocations: 60.06 kB / 0.5633 GB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.01461/0.6308, allocations: 8.392 MB / 0.5715 GB, free: 108.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.6309, allocations: 99.03 kB / 0.5716 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003113/0.6312, allocations: 211.1 kB / 0.5718 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.6323, allocations: 0.5216 MB / 0.5723 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006354/0.6386, allocations: 2.417 MB / 0.5747 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.6426, allocations: 3.972 MB / 0.5786 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006285/0.6489, allocations: 432.7 kB / 0.579 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/0.6503, allocations: 0.5538 MB / 0.5795 GB, free: 106.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 962 * 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 (1317): * Single equations (assignments): 1308 * Array equations: 8 * 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.003485/0.6537, allocations: 0.9919 MB / 0.5805 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.6551, allocations: 0.6461 MB / 0.5811 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.6595, allocations: 2.567 MB / 0.5836 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.192e-05/0.6596, allocations: 74.83 kB / 0.5837 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.6596, allocations: 7.844 kB / 0.5837 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.6596, allocations: 18.56 kB / 0.5837 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.6758, allocations: 8.415 MB / 0.592 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.6758, allocations: 24 kB / 0.592 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.6774, allocations: 0.6104 MB / 0.5926 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.678, allocations: 281.1 kB / 0.5928 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.6782, allocations: 96.59 kB / 0.5929 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/0.6823, allocations: 6.554 MB / 0.5993 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/0.6823, allocations: 31.88 kB / 0.5994 GB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/0.6888, allocations: 4.903 MB / 0.6042 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/0.6907, allocations: 0.854 MB / 0.605 GB, free: 86.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/0.6912, allocations: 97.38 kB / 0.6051 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6923, allocations: 86.12 kB / 0.6052 GB, free: 86.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.6927, allocations: 331.7 kB / 0.6055 GB, free: 86.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.6928, allocations: 117.6 kB / 0.6056 GB, free: 86.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001782/0.6946, allocations: 2.035 MB / 0.6076 GB, free: 84.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6946, allocations: 0 / 0.6076 GB, free: 84.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005625/0.7002, allocations: 1.638 MB / 0.6092 GB, free: 83.26 MB / 410.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.0004327/0.7007, allocations: 283.4 kB / 0.6095 GB, free: 83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00501/0.7057, allocations: 5.014 MB / 0.6144 GB, free: 78.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7057, allocations: 128 / 0.6144 GB, free: 78.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.7073, allocations: 1.807 MB / 0.6161 GB, free: 77.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.7094, allocations: 0.7148 MB / 0.6168 GB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.7239, allocations: 13.12 MB / 0.6296 GB, free: 63.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.7256, allocations: 2.018 MB / 0.6316 GB, free: 61.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002516/0.7281, allocations: 0.8737 MB / 0.6324 GB, free: 60.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.7295, allocations: 0.9744 MB / 0.6334 GB, free: 59.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7295, allocations: 0 / 0.6334 GB, free: 59.37 MB / 410.7 MB Notification: Performance of Templates: time 0.08527/0.8148, allocations: 59.02 MB / 0.691 GB, free: 1.246 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: 5.191633034031838]