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.001079/0.001079, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001028/0.001028, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.187/1.187, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.05542/0.05542, allocations: 7.187 MB / 267.4 MB, free: 5.906 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.613e-06/1.613e-06, allocations: 0 / 339.3 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.79e-05, allocations: 2.312 kB / 339.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.0135/0.01351, allocations: 17.41 MB / 356.7 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02411, allocations: 5.537 MB / 362.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.02626, allocations: 107.6 kB / 362.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.02874, allocations: 1.839 MB / 364.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.03386, allocations: 3.176 MB / 367.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.03526, allocations: 0.7798 MB / 368.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007841/0.0431, allocations: 7.267 MB / 375.4 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.04699, allocations: 4.06 MB / 379.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.05092, allocations: 3.445 MB / 382.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.05365, allocations: 3.055 MB / 386 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006086/0.05426, allocations: 0.5508 MB / 386.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.05633, allocations: 1.354 MB / 387.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.05846, allocations: 2.843 MB / 390.7 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.0599, allocations: 1.919 MB / 392.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005897/0.0658, allocations: 6.891 MB / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.06581, allocations: 0 / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.06581, allocations: 0 / 399.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.114e-05/0.06588, allocations: 0 / 399.5 MB, free: 13.45 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.01733/0.08321, allocations: 11.45 MB / 411 MB, free: 1.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.08326, allocations: 16.62 kB / 411 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2009/0.2842, allocations: 2.544 MB / 413.6 MB, free: 69.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/0.2902, allocations: 3.031 MB / 416.6 MB, free: 69.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.2905, allocations: 340.2 kB / 416.9 MB, free: 69.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000786/0.2913, allocations: 451.5 kB / 417.4 MB, free: 69.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.3061, allocations: 9.287 MB / 426.6 MB, free: 64.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001656/0.3063, allocations: 77.08 kB / 426.7 MB, free: 64.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.3068, allocations: 220.5 kB / 426.9 MB, free: 64.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003079/0.3098, allocations: 3.362 MB / 430.3 MB, free: 62.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009311/0.3191, allocations: 4.473 MB / 434.8 MB, free: 59.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/0.3716, allocations: 76.35 MB / 0.4991 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.382, allocations: 3.616 MB / 0.5027 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.3839, allocations: 1.169 MB / 0.5038 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/0.3979, allocations: 8.735 MB / 0.5123 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/0.3979, allocations: 79.42 kB / 0.5124 GB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=373): time 6.041e-06/0.3979, allocations: 4 kB / 0.5124 GB, free: 208 kB / 362.7 MB Notification: Performance of matching and sorting (n=420): time 0.03201/0.4299, allocations: 12.82 MB / 0.5249 GB, free: 3.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.4301, allocations: 200.9 kB / 0.5251 GB, free: 3.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006196/0.4363, allocations: 5.187 MB / 0.5302 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.4364, allocations: 85.69 kB / 0.5303 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003201/0.4396, allocations: 5.244 MB / 0.5354 GB, free: 8.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.4409, allocations: 1.671 MB / 0.537 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002674/0.4436, allocations: 2.36 MB / 0.5393 GB, free: 4.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4437, allocations: 484.8 kB / 0.5398 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.4457, allocations: 1.047 MB / 0.5408 GB, free: 3.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007645/0.4534, allocations: 10.02 MB / 0.5506 GB, free: 4.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2221/0.6755, allocations: 12.15 MB / 0.5625 GB, free: 110.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/0.6757, allocations: 61.38 kB / 0.5625 GB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.01385/0.6895, allocations: 8.383 MB / 0.5707 GB, free: 108.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.6896, allocations: 95.06 kB / 0.5708 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/0.6898, allocations: 214.9 kB / 0.571 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.6907, allocations: 0.5217 MB / 0.5715 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/0.695, allocations: 2.417 MB / 0.5739 GB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.6982, allocations: 3.974 MB / 0.5778 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/0.7025, allocations: 435.2 kB / 0.5782 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005532/0.7031, allocations: 0.548 MB / 0.5787 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.002148/0.7052, allocations: 0.9991 MB / 0.5797 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007082/0.7059, allocations: 0.6456 MB / 0.5803 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.709, allocations: 2.566 MB / 0.5828 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.514e-05/0.709, allocations: 70.89 kB / 0.5829 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.709, allocations: 6.25 kB / 0.5829 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.709, allocations: 25.27 kB / 0.5829 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.7197, allocations: 8.41 MB / 0.5911 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.7197, allocations: 24 kB / 0.5912 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.721, allocations: 0.6155 MB / 0.5918 GB, free: 99.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.7215, allocations: 275.6 kB / 0.592 GB, free: 99.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.7217, allocations: 101.1 kB / 0.5921 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.7246, allocations: 6.553 MB / 0.5985 GB, free: 92.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/0.7246, allocations: 35.88 kB / 0.5986 GB, free: 92.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.7288, allocations: 4.892 MB / 0.6033 GB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.7298, allocations: 0.8544 MB / 0.6042 GB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.7301, allocations: 102.9 kB / 0.6043 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7312, allocations: 84 kB / 0.6044 GB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/0.7315, allocations: 335.5 kB / 0.6047 GB, free: 86.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.7317, allocations: 114 kB / 0.6048 GB, free: 86.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.7335, allocations: 2.037 MB / 0.6068 GB, free: 84.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7335, allocations: 0 / 0.6068 GB, free: 84.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005373/0.7389, allocations: 1.643 MB / 0.6084 GB, free: 83.29 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.0004528/0.7393, allocations: 282.2 kB / 0.6086 GB, free: 83.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.7448, allocations: 5.009 MB / 0.6135 GB, free: 78.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.7448, allocations: 4 kB / 0.6135 GB, free: 78.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.7463, allocations: 1.799 MB / 0.6153 GB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.7484, allocations: 0.7165 MB / 0.616 GB, free: 76.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.7633, allocations: 13.12 MB / 0.6288 GB, free: 63.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.7651, allocations: 2.018 MB / 0.6308 GB, free: 61.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002185/0.7672, allocations: 0.8759 MB / 0.6316 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.7686, allocations: 0.9685 MB / 0.6326 GB, free: 59.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7686, allocations: 4 kB / 0.6326 GB, free: 59.44 MB / 410.7 MB Notification: Performance of Templates: time 0.07806/0.8467, allocations: 57.55 MB / 0.6888 GB, free: 2.668 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.295843161642551]