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.001301/0.001301, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001116/0.001116, allocations: 177 kB / 23.36 MB, free: 1.129 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.9489/0.9489, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02869/0.02869, allocations: 7.18 MB / 267.4 MB, free: 5.941 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.583e-06/1.583e-06, allocations: 0 / 286 MB, free: 3.336 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.359e-05, allocations: 2.312 kB / 286.1 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.1337/0.1337, allocations: 17.43 MB / 303.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1461, allocations: 5.751 MB / 309.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.1495, allocations: 109.7 kB / 309.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.1526, allocations: 1.866 MB / 311.2 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.1593, allocations: 3.16 MB / 314.4 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1608, allocations: 0.7919 MB / 315.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00803/0.1688, allocations: 7.115 MB / 322.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005004/0.1738, allocations: 4.194 MB / 326.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.1784, allocations: 3.449 MB / 329.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.1815, allocations: 2.926 MB / 332.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007844/0.1823, allocations: 0.5508 MB / 333.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1842, allocations: 1.338 MB / 334.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.186, allocations: 2.843 MB / 337.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.1885, allocations: 1.919 MB / 339.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00736/0.1958, allocations: 6.883 MB / 346.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1958, allocations: 0 / 346.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1958, allocations: 3.938 kB / 346.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001638/0.196, allocations: 4 kB / 346.4 MB, free: 3.609 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.01204/0.208, allocations: 8.504 MB / 354.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2081, allocations: 12.62 kB / 354.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.2127, allocations: 1.936 MB / 356.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.2161, allocations: 2.551 MB / 359.4 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.2163, allocations: 340.4 kB / 359.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005926/0.2168, allocations: 453.5 kB / 360.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.2285, allocations: 8.319 MB / 368.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.2287, allocations: 75.33 kB / 368.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000554/0.2292, allocations: 226.2 kB / 368.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003913/0.2331, allocations: 3.364 MB / 372.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.2446, allocations: 4.498 MB / 376.6 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/0.2971, allocations: 54.32 MB / 431 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008923/0.306, allocations: 3.648 MB / 434.6 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.3074, allocations: 1.004 MB / 435.6 MB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1257/0.4331, allocations: 7.704 MB / 443.3 MB, free: 120.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.4332, allocations: 73.77 kB / 443.4 MB, free: 120.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 8.086e-06/0.4332, allocations: 0 / 443.4 MB, free: 120.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.03653/0.4697, allocations: 12.2 MB / 455.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.4698, allocations: 203.2 kB / 455.8 MB, free: 119.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/0.474, allocations: 4.696 MB / 460.5 MB, free: 119.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.4741, allocations: 86.56 kB / 460.6 MB, free: 119.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.4758, allocations: 4.73 MB / 465.3 MB, free: 116.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/0.4767, allocations: 1.592 MB / 466.9 MB, free: 115.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/0.4786, allocations: 2.044 MB / 468.9 MB, free: 115.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.671e-05/0.4786, allocations: 305.1 kB / 469.2 MB, free: 114.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.4813, allocations: 1.332 MB / 470.6 MB, free: 114.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.4853, allocations: 7.147 MB / 477.7 MB, free: 107 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005152/0.4904, allocations: 9.464 MB / 487.2 MB, free: 95.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.629e-05/0.4905, allocations: 60 kB / 487.2 MB, free: 95.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.006706/0.4972, allocations: 7.077 MB / 494.3 MB, free: 88.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.4973, allocations: 96 kB / 494.4 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.4974, allocations: 212 kB / 494.6 MB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.4981, allocations: 0.5142 MB / 495.1 MB, free: 87.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.5018, allocations: 2.398 MB / 497.5 MB, free: 85.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.5042, allocations: 3.235 MB / 0.489 GB, free: 81.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.5076, allocations: 431.7 kB / 0.4894 GB, free: 81.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.508, allocations: 0.5428 MB / 0.49 GB, free: 80.84 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.001607/0.5096, allocations: 0.9606 MB / 0.4909 GB, free: 79.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.5101, allocations: 405 kB / 0.4913 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.5124, allocations: 2.152 MB / 0.4934 GB, free: 77.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.272e-05/0.5124, allocations: 71.98 kB / 0.4935 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.5125, allocations: 8 kB / 0.4935 GB, free: 77.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.5125, allocations: 23.86 kB / 0.4935 GB, free: 77.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009125/0.5216, allocations: 7.569 MB / 0.5009 GB, free: 69.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.5216, allocations: 27.98 kB / 0.5009 GB, free: 69.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.5229, allocations: 0.6045 MB / 0.5015 GB, free: 68.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.5236, allocations: 497.8 kB / 0.502 GB, free: 68.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.5237, allocations: 98.84 kB / 0.5021 GB, free: 67.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.5258, allocations: 4.775 MB / 0.5067 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.5258, allocations: 42.33 kB / 0.5068 GB, free: 62.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.529, allocations: 4.217 MB / 0.5109 GB, free: 58.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.5299, allocations: 0.7538 MB / 0.5116 GB, free: 57.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.5302, allocations: 91.98 kB / 0.5117 GB, free: 57.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5313, allocations: 95.97 kB / 0.5118 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.5315, allocations: 325 kB / 0.5121 GB, free: 56.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.5317, allocations: 112 kB / 0.5122 GB, free: 56.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.5328, allocations: 1.72 MB / 0.5139 GB, free: 54.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5328, allocations: 0 / 0.5139 GB, free: 54.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00488/0.5376, allocations: 1.64 MB / 0.5155 GB, free: 53.34 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.0003889/0.538, allocations: 271.9 kB / 0.5158 GB, free: 53.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004409/0.5424, allocations: 4.588 MB / 0.5202 GB, free: 48.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000188/0.5426, allocations: 124.2 kB / 0.5204 GB, free: 48.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5438, allocations: 1.495 MB / 0.5218 GB, free: 46.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.546, allocations: 0.7024 MB / 0.5225 GB, free: 46.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.559, allocations: 13.05 MB / 0.5352 GB, free: 32.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.5605, allocations: 1.995 MB / 0.5372 GB, free: 30.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002408/0.5629, allocations: 0.8821 MB / 0.5381 GB, free: 29.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.5643, allocations: 0.9111 MB / 0.5389 GB, free: 28.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5643, allocations: 4 kB / 0.5389 GB, free: 28.84 MB / 394.7 MB Notification: Performance of Templates: time 0.1945/0.7588, allocations: 57.47 MB / 0.5951 GB, free: 116.1 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: 4.606012792792171]