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.0009252/0.0009252, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001451/0.001451, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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.9367/0.9367, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02902/0.02902, allocations: 7.187 MB / 267.1 MB, free: 6.055 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.593e-06/1.593e-06, allocations: 0 / 338.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.669e-05, allocations: 5.156 kB / 338.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01338/0.0134, allocations: 17.92 MB / 356.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009888/0.02329, allocations: 5.557 MB / 362.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.02545, allocations: 107.6 kB / 362.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.02791, allocations: 1.863 MB / 364.3 MB, free: 1.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.03298, allocations: 3.165 MB / 367.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.03419, allocations: 0.7837 MB / 368.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00659/0.04078, allocations: 7.27 MB / 375.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.04499, allocations: 4.064 MB / 379.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.04841, allocations: 3.438 MB / 383 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.05104, allocations: 3.055 MB / 386.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000545/0.05158, allocations: 0.5508 MB / 386.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.0532, allocations: 1.354 MB / 388 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.05502, allocations: 2.851 MB / 390.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.05649, allocations: 1.92 MB / 392.8 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007042/0.06353, allocations: 6.883 MB / 399.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.06354, allocations: 7.984 kB / 399.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06354, allocations: 0 / 399.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.476e-05/0.0636, allocations: 0 / 399.7 MB, free: 14.22 MB / 378.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.01744/0.08104, allocations: 11.65 MB / 411.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.08109, allocations: 12.62 kB / 411.3 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.08844, allocations: 4.369 MB / 415.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004901/0.09335, allocations: 3.155 MB / 418.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.09351, allocations: 336.4 kB / 419.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/0.09407, allocations: 455.6 kB / 419.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.1066, allocations: 10.06 MB / 429.7 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.1068, allocations: 79.28 kB / 429.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/0.1073, allocations: 223.7 kB / 430 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.1108, allocations: 3.707 MB / 433.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.1238, allocations: 5.461 MB / 439.1 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1697/0.2935, allocations: 77.29 MB / 0.5043 GB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.3035, allocations: 3.951 MB / 0.5082 GB, free: 58.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.3055, allocations: 1.348 MB / 0.5095 GB, free: 58.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.3177, allocations: 9.309 MB / 0.5186 GB, free: 54.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.3177, allocations: 77.05 kB / 0.5187 GB, free: 53.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=373): time 6.271e-06/0.3177, allocations: 0 / 0.5187 GB, free: 53.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.03237/0.3501, allocations: 18.86 MB / 0.5371 GB, free: 44.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3502, allocations: 200.4 kB / 0.5373 GB, free: 44.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.3545, allocations: 5.202 MB / 0.5424 GB, free: 40.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.3547, allocations: 93.41 kB / 0.5424 GB, free: 40 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.3564, allocations: 5.2 MB / 0.5475 GB, free: 35.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/0.3571, allocations: 1.656 MB / 0.5491 GB, free: 33.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.359, allocations: 2.309 MB / 0.5514 GB, free: 31.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.359, allocations: 484.7 kB / 0.5519 GB, free: 31.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.3609, allocations: 1.182 MB / 0.553 GB, free: 30.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003934/0.3649, allocations: 10.05 MB / 0.5628 GB, free: 16.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007142/0.372, allocations: 12.45 MB / 0.575 GB, free: 236 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.584e-05/0.3721, allocations: 60 kB / 0.575 GB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=1404) (initialization): time 0.01222/0.3843, allocations: 9.021 MB / 0.5838 GB, free: 7.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.3844, allocations: 96 kB / 0.5839 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.3846, allocations: 208 kB / 0.5841 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3857, allocations: 0.5325 MB / 0.5847 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/0.3902, allocations: 2.464 MB / 0.5871 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1467/0.5369, allocations: 4.139 MB / 0.5911 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/0.5421, allocations: 0.5321 MB / 0.5916 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/0.5429, allocations: 0.6265 MB / 0.5922 GB, free: 115.2 MB / 426.7 MB 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 (1313): * Single equations (assignments): 1304 * 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.002242/0.5452, allocations: 1.005 MB / 0.5932 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008524/0.546, allocations: 0.6414 MB / 0.5938 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.5497, allocations: 2.817 MB / 0.5966 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/0.5497, allocations: 70.19 kB / 0.5967 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5497, allocations: 5.375 kB / 0.5967 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.5498, allocations: 27.84 kB / 0.5967 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.5662, allocations: 10.21 MB / 0.6067 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/0.5662, allocations: 23.34 kB / 0.6067 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/0.5684, allocations: 0.6695 MB / 0.6073 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006915/0.569, allocations: 281.1 kB / 0.6076 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.5692, allocations: 99.17 kB / 0.6077 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.573, allocations: 6.731 MB / 0.6143 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/0.573, allocations: 34.28 kB / 0.6143 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006362/0.5794, allocations: 5.275 MB / 0.6195 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.581, allocations: 0.9427 MB / 0.6204 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.5814, allocations: 93.17 kB / 0.6205 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.5831, allocations: 184.9 kB / 0.6207 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/0.5835, allocations: 331.8 kB / 0.621 GB, free: 105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/0.5838, allocations: 135.7 kB / 0.6211 GB, free: 105 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002947/0.5867, allocations: 2.193 MB / 0.6232 GB, free: 104.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5867, allocations: 0 / 0.6232 GB, free: 104.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006375/0.5931, allocations: 1.638 MB / 0.6248 GB, free: 104.1 MB / 426.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.0004788/0.5936, allocations: 286 kB / 0.6251 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00854/0.6021, allocations: 5.361 MB / 0.6303 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.6021, allocations: 7.312 kB / 0.6304 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.6045, allocations: 1.897 MB / 0.6322 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/0.6077, allocations: 0.7215 MB / 0.6329 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.6239, allocations: 13.18 MB / 0.6458 GB, free: 93.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.6257, allocations: 2.022 MB / 0.6478 GB, free: 92.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004013/0.6298, allocations: 2.702 MB / 0.6504 GB, free: 91.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.6306, allocations: 433.7 kB / 0.6508 GB, free: 90.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6306, allocations: 4 kB / 0.6508 GB, free: 90.66 MB / 426.7 MB Notification: Performance of Templates: time 0.06254/0.6931, allocations: 52.16 MB / 0.7018 GB, free: 43.56 MB / 426.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: 4.810557072982192]