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.001304/0.001304, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001449/0.001449, allocations: 181 kB / 23.36 MB, free: 1.133 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.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.02959/0.02959, allocations: 7.192 MB / 267.4 MB, free: 5.938 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 7.31e-07/7.31e-07, allocations: 0 / 286.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.047e-06/9.778e-06, allocations: 2.312 kB / 286.1 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.1143/0.1143, allocations: 17.48 MB / 303.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009126/0.1234, allocations: 5.746 MB / 309.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.1249, allocations: 106.6 kB / 309.4 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1265, allocations: 1.849 MB / 311.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.1301, allocations: 3.136 MB / 314.4 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.1311, allocations: 0.7808 MB / 315.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004875/0.1359, allocations: 7.115 MB / 322.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.1393, allocations: 4.075 MB / 326.4 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.1421, allocations: 3.414 MB / 329.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.1449, allocations: 2.926 MB / 332.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005367/0.1455, allocations: 0.5469 MB / 333.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.1471, allocations: 1.377 MB / 334.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.1486, allocations: 2.843 MB / 337.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.15, allocations: 1.916 MB / 339.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005238/0.1553, allocations: 6.879 MB / 346.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1553, allocations: 0 / 346.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1553, allocations: 0 / 346.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.465e-05/0.1553, allocations: 0 / 346.3 MB, free: 3.668 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.01074/0.1661, allocations: 8.515 MB / 354.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.1661, allocations: 8.625 kB / 354.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/0.1709, allocations: 1.943 MB / 356.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.1736, allocations: 2.551 MB / 359.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.1738, allocations: 340.4 kB / 359.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.1743, allocations: 455.6 kB / 360.1 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009496/0.1838, allocations: 8.315 MB / 368.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.1839, allocations: 75.33 kB / 368.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.1843, allocations: 227.7 kB / 368.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/0.1871, allocations: 3.356 MB / 372.1 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007963/0.1951, allocations: 4.504 MB / 376.6 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04097/0.2361, allocations: 54.31 MB / 430.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009186/0.2452, allocations: 3.655 MB / 434.5 MB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.2467, allocations: 1.004 MB / 435.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1205/0.3672, allocations: 7.7 MB / 443.2 MB, free: 120.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.3673, allocations: 69.81 kB / 443.3 MB, free: 120.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 6.322e-06/0.3673, allocations: 0 / 443.3 MB, free: 120.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.02772/0.395, allocations: 12.2 MB / 455.5 MB, free: 120 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.395, allocations: 195.2 kB / 455.7 MB, free: 119.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003235/0.3983, allocations: 4.702 MB / 460.4 MB, free: 119.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.3984, allocations: 84.27 kB / 460.5 MB, free: 119.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.3996, allocations: 4.732 MB / 465.2 MB, free: 116.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.4001, allocations: 1.589 MB / 466.8 MB, free: 115.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.4016, allocations: 2.044 MB / 468.8 MB, free: 115.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.549e-05/0.4016, allocations: 308.8 kB / 469.1 MB, free: 114.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.4036, allocations: 1.335 MB / 470.5 MB, free: 114.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00319/0.4067, allocations: 7.14 MB / 477.6 MB, free: 106.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.4116, allocations: 9.468 MB / 487.1 MB, free: 95.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.903e-05/0.4117, allocations: 60 kB / 487.1 MB, free: 95.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.006298/0.418, allocations: 7.078 MB / 494.2 MB, free: 88.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.418, allocations: 96 kB / 494.3 MB, free: 88.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.011e-05/0.4181, allocations: 212.8 kB / 494.5 MB, free: 88.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.4188, allocations: 0.5141 MB / 495 MB, free: 87.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005433/0.4243, allocations: 2.547 MB / 497.6 MB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.4271, allocations: 3.246 MB / 0.4891 GB, free: 81.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.4314, allocations: 431.7 kB / 0.4895 GB, free: 81.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/0.432, allocations: 0.5474 MB / 0.49 GB, free: 80.63 MB / 394.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.001717/0.4337, allocations: 0.9529 MB / 0.491 GB, free: 79.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.4343, allocations: 401.3 kB / 0.4913 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.4373, allocations: 2.159 MB / 0.4935 GB, free: 77.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/0.4373, allocations: 75.25 kB / 0.4935 GB, free: 77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.4373, allocations: 4 kB / 0.4935 GB, free: 77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.4374, allocations: 27.92 kB / 0.4936 GB, free: 76.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.4483, allocations: 7.563 MB / 0.5009 GB, free: 68.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.4483, allocations: 24 kB / 0.501 GB, free: 68.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.4502, allocations: 0.6632 MB / 0.5016 GB, free: 68.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/0.4511, allocations: 491.2 kB / 0.5021 GB, free: 67.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.4513, allocations: 99.98 kB / 0.5022 GB, free: 67.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.454, allocations: 4.784 MB / 0.5069 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/0.454, allocations: 39.81 kB / 0.5069 GB, free: 62.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.458, allocations: 4.211 MB / 0.511 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4591, allocations: 0.7538 MB / 0.5117 GB, free: 57.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.4596, allocations: 99.98 kB / 0.5118 GB, free: 56.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.4611, allocations: 91.91 kB / 0.5119 GB, free: 56.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/0.4615, allocations: 325 kB / 0.5122 GB, free: 56.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.4617, allocations: 112 kB / 0.5123 GB, free: 56.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.4632, allocations: 1.72 MB / 0.514 GB, free: 54.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4632, allocations: 0 / 0.514 GB, free: 54.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005134/0.4683, allocations: 1.637 MB / 0.5156 GB, free: 53.07 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.0004178/0.4687, allocations: 267.9 kB / 0.5159 GB, free: 52.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004984/0.4737, allocations: 4.586 MB / 0.5203 GB, free: 48.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001971/0.4739, allocations: 124.2 kB / 0.5205 GB, free: 48.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4752, allocations: 1.489 MB / 0.5219 GB, free: 46.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4773, allocations: 0.7148 MB / 0.5226 GB, free: 45.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4906, allocations: 13.05 MB / 0.5354 GB, free: 32.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/0.4927, allocations: 1.997 MB / 0.5373 GB, free: 30.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002844/0.4955, allocations: 0.8784 MB / 0.5382 GB, free: 29.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/0.4973, allocations: 0.915 MB / 0.5391 GB, free: 28.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.233e-06/0.4973, allocations: 0 / 0.5391 GB, free: 28.59 MB / 394.7 MB Notification: Performance of Templates: time 0.2132/0.7106, allocations: 57.55 MB / 0.5953 GB, free: 116 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.474083812907338]