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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04598/0.04598, allocations: 9.137 MB / 306.3 MB, free: 3.746 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001999/0.001999, allocations: 71.88 kB / 423.4 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1364, allocations: 51.43 MB / 474.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.02772/0.1642, allocations: 18.52 MB / 493.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1806, allocations: 5.644 MB / 499 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.1852, allocations: 91.75 kB / 499.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005077/0.1903, allocations: 1.758 MB / 0.4891 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.2008, allocations: 2.999 MB / 0.492 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2035, allocations: 0.7293 MB / 0.4927 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.2166, allocations: 6.715 MB / 0.4993 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008675/0.2254, allocations: 4.007 MB / 0.5032 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/0.2311, allocations: 2.18 MB / 0.5053 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.2372, allocations: 2.919 MB / 0.5082 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.2398, allocations: 0.543 MB / 0.5087 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.2447, allocations: 1.346 MB / 0.51 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2503/0.495, allocations: 2.708 MB / 0.5127 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006434/0.5015, allocations: 3.566 MB / 0.5161 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/0.5197, allocations: 11.44 MB / 0.5273 GB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5197, allocations: 1.438 kB / 0.5273 GB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5198, allocations: 0 / 0.5273 GB, free: 9.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004322/0.5202, allocations: 0 / 0.5273 GB, free: 9.906 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.03669/0.5569, allocations: 11.1 MB / 0.5382 GB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.557, allocations: 10.69 kB / 0.5382 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.57, allocations: 3.58 MB / 0.5417 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.581, allocations: 3.433 MB / 0.545 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.5814, allocations: 344.8 kB / 0.5453 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/0.5845, allocations: 447.1 kB / 0.5458 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0403/0.6248, allocations: 17.61 MB / 0.563 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/0.6251, allocations: 74.12 kB / 0.563 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.6264, allocations: 226.3 kB / 0.5633 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007345/0.6338, allocations: 3.708 MB / 0.5669 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03837/0.6722, allocations: 15.4 MB / 0.5819 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/0.7958, allocations: 71.76 MB / 0.652 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03593/0.8318, allocations: 7.336 MB / 0.6592 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/0.8425, allocations: 3.356 MB / 0.6624 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03799/0.8806, allocations: 14.51 MB / 0.6766 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.463e-05/0.8807, allocations: 72.81 kB / 0.6767 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=373): time 9.327e-06/0.8807, allocations: 7.562 kB / 0.6767 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=420): time 0.08982/0.9706, allocations: 25.91 MB / 0.702 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/0.9708, allocations: 196.7 kB / 0.7022 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.306/1.277, allocations: 6.581 MB / 0.7086 GB, free: 183 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.278, allocations: 85.66 kB / 0.7087 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00521/1.283, allocations: 4.975 MB / 0.7135 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002341/1.285, allocations: 1.621 MB / 0.7151 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004754/1.29, allocations: 2.143 MB / 0.7172 GB, free: 179 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/1.29, allocations: 310.1 kB / 0.7175 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007157/1.297, allocations: 3.609 MB / 0.721 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009906/1.307, allocations: 9.619 MB / 0.7304 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.323, allocations: 14.45 MB / 0.7445 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002143/1.324, allocations: 59.06 kB / 0.7446 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02604/1.35, allocations: 13.42 MB / 0.7577 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.35, allocations: 96.97 kB / 0.7578 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/1.35, allocations: 208 kB / 0.758 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/1.351, allocations: 0.6013 MB / 0.7586 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008872/1.36, allocations: 2.458 MB / 0.761 GB, free: 145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/1.366, allocations: 5.114 MB / 0.766 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/1.381, allocations: 490.4 kB / 0.7664 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/1.384, allocations: 0.6359 MB / 0.7671 GB, free: 139.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * 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 (1307): * Single equations (assignments): 1298 * 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.01097/1.395, allocations: 3.514 MB / 0.7705 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002074/1.397, allocations: 0.6053 MB / 0.7711 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.409, allocations: 5.223 MB / 0.7762 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/1.409, allocations: 74.81 kB / 0.7763 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.409, allocations: 8 kB / 0.7763 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/1.409, allocations: 17.67 kB / 0.7763 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03516/1.444, allocations: 20 MB / 0.7958 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/1.444, allocations: 27.81 kB / 0.7958 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.447, allocations: 0.6747 MB / 0.7965 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007788/1.448, allocations: 348.3 kB / 0.7968 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/1.448, allocations: 107.8 kB / 0.7969 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/1.453, allocations: 6.703 MB / 0.8035 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.49e-05/1.453, allocations: 39.81 kB / 0.8035 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/1.465, allocations: 9.796 MB / 0.8131 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003181/1.468, allocations: 1.153 MB / 0.8142 GB, free: 90.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/1.47, allocations: 95.98 kB / 0.8143 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.473, allocations: 159.9 kB / 0.8145 GB, free: 90.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/1.473, allocations: 321 kB / 0.8148 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.473, allocations: 139.9 kB / 0.8149 GB, free: 90.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006843/1.48, allocations: 4.358 MB / 0.8192 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.48, allocations: 0 / 0.8192 GB, free: 85.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01048/1.491, allocations: 1.625 MB / 0.8207 GB, free: 84.3 MB / 0.5294 GB 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.001013/1.492, allocations: 278.9 kB / 0.821 GB, free: 84.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.506, allocations: 8.773 MB / 0.8296 GB, free: 75.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.138e-05/1.506, allocations: 4 kB / 0.8296 GB, free: 75.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004483/1.51, allocations: 3.1 MB / 0.8326 GB, free: 72.12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006306/1.517, allocations: 0.856 MB / 0.8334 GB, free: 71.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.541, allocations: 16.05 MB / 0.8491 GB, free: 54.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004748/1.546, allocations: 4.923 MB / 0.8539 GB, free: 49.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006891/1.553, allocations: 3.229 MB / 0.8571 GB, free: 46.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.555, allocations: 471.3 kB / 0.8575 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.555, allocations: 7.938 kB / 0.8575 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.3622/1.917, allocations: 61.52 MB / 0.9176 GB, free: 161 MB / 0.5294 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.462904771789908]