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.001801/0.001801, allocations: 84.06 kB / 19.44 MB, free: 332 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.001947/0.001947, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.05632/0.05632, allocations: 7.177 MB / 266.7 MB, free: 6.102 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.924e-06/1.924e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.009e-05, allocations: 5.922 kB / 338.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.03185/0.03188, allocations: 17.82 MB / 356 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.0541, allocations: 5.543 MB / 361.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.05815, allocations: 107.6 kB / 361.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007883/0.06603, allocations: 1.855 MB / 363.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.0807, allocations: 3.161 MB / 366.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.08297, allocations: 0.7759 MB / 367.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.09439, allocations: 7.276 MB / 374.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007158/0.1016, allocations: 4.06 MB / 378.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007357/0.1089, allocations: 3.434 MB / 382.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.1151, allocations: 3.058 MB / 385.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.1168, allocations: 0.5508 MB / 385.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.1203, allocations: 1.354 MB / 387.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00387/0.1241, allocations: 2.847 MB / 390 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.1281, allocations: 1.916 MB / 391.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.1457, allocations: 11.35 MB / 403.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1457, allocations: 0 / 403.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.1457, allocations: 4 kB / 403.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004166/0.1461, allocations: 0 / 403.3 MB, free: 9.176 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.1827/0.3288, allocations: 12.63 MB / 415.9 MB, free: 72.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3289, allocations: 9.25 kB / 415.9 MB, free: 72.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.3433, allocations: 4.374 MB / 420.3 MB, free: 71.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007425/0.3507, allocations: 3.173 MB / 423.4 MB, free: 69.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.3509, allocations: 332.8 kB / 423.8 MB, free: 69.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.3526, allocations: 454.9 kB / 424.2 MB, free: 68.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02352/0.3761, allocations: 11.47 MB / 435.7 MB, free: 55.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.3764, allocations: 75.34 kB / 435.8 MB, free: 55.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008743/0.3772, allocations: 226.6 kB / 436 MB, free: 55.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004512/0.3817, allocations: 3.711 MB / 439.7 MB, free: 51.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/0.406, allocations: 6.861 MB / 446.6 MB, free: 45.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1411/0.5471, allocations: 109 MB / 0.5426 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02934/0.5765, allocations: 4.424 MB / 0.5469 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/0.5814, allocations: 1.663 MB / 0.5485 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2392/0.8206, allocations: 10.47 MB / 0.5587 GB, free: 133.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/0.8206, allocations: 76.28 kB / 0.5588 GB, free: 133.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=373): time 1.284e-05/0.8207, allocations: 0 / 0.5588 GB, free: 133.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.1243/0.9449, allocations: 20.46 MB / 0.5788 GB, free: 128.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/0.945, allocations: 196.3 kB / 0.579 GB, free: 128.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009931/0.955, allocations: 7.276 MB / 0.5861 GB, free: 124 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007394/0.9557, allocations: 85.61 kB / 0.5862 GB, free: 123.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003131/0.9588, allocations: 5.62 MB / 0.5916 GB, free: 118.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/0.961, allocations: 1.822 MB / 0.5934 GB, free: 116.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003594/0.9646, allocations: 2.82 MB / 0.5962 GB, free: 113.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.9646, allocations: 484.7 kB / 0.5966 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.9679, allocations: 1.543 MB / 0.5981 GB, free: 111.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/0.9741, allocations: 10.89 MB / 0.6088 GB, free: 97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.9864, allocations: 13.65 MB / 0.6221 GB, free: 79.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002859/0.9867, allocations: 60 kB / 0.6222 GB, free: 79.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1404) (initialization): time 0.02043/1.007, allocations: 9.782 MB / 0.6317 GB, free: 69.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.007, allocations: 101.7 kB / 0.6318 GB, free: 69.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002678/1.008, allocations: 215.9 kB / 0.632 GB, free: 69.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.009, allocations: 0.5923 MB / 0.6326 GB, free: 68.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/1.017, allocations: 2.468 MB / 0.635 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/1.023, allocations: 5.034 MB / 0.6399 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008712/1.032, allocations: 0.5342 MB / 0.6404 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/1.034, allocations: 0.6288 MB / 0.6411 GB, free: 59.75 MB / 410.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.006628/1.041, allocations: 1.254 MB / 0.6423 GB, free: 58.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/1.043, allocations: 0.6559 MB / 0.6429 GB, free: 57.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009121/1.052, allocations: 3.241 MB / 0.6461 GB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.964e-05/1.052, allocations: 67.98 kB / 0.6462 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.103e-05/1.052, allocations: 4 kB / 0.6462 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/1.052, allocations: 23.94 kB / 0.6462 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03344/1.086, allocations: 14.38 MB / 0.6602 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.402e-05/1.086, allocations: 24 kB / 0.6602 GB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.089, allocations: 0.6598 MB / 0.6609 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/1.09, allocations: 347.9 kB / 0.6612 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006508/1.091, allocations: 99.98 kB / 0.6613 GB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/1.097, allocations: 7.45 MB / 0.6686 GB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/1.097, allocations: 35.88 kB / 0.6686 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/1.11, allocations: 6.105 MB / 0.6746 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005023/1.115, allocations: 0.9324 MB / 0.6755 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/1.117, allocations: 100.5 kB / 0.6756 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005209/1.122, allocations: 179.8 kB / 0.6758 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.124, allocations: 336.4 kB / 0.6761 GB, free: 22.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004378/1.124, allocations: 139.9 kB / 0.6762 GB, free: 22.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00823/1.132, allocations: 2.838 MB / 0.679 GB, free: 19.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.132, allocations: 0 / 0.679 GB, free: 19.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01616/1.148, allocations: 1.64 MB / 0.6806 GB, free: 17.73 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.001404/1.15, allocations: 288 kB / 0.6809 GB, free: 17.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0183/1.168, allocations: 6.403 MB / 0.6871 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.959e-05/1.168, allocations: 12.19 kB / 0.6871 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005205/1.173, allocations: 2.248 MB / 0.6893 GB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00729/1.181, allocations: 0.7188 MB / 0.69 GB, free: 8.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1842/1.365, allocations: 13.58 MB / 0.7033 GB, free: 125.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005994/1.371, allocations: 4.055 MB / 0.7073 GB, free: 125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007036/1.378, allocations: 2.706 MB / 0.7099 GB, free: 124.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.379, allocations: 428.9 kB / 0.7103 GB, free: 124.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.784e-06/1.379, allocations: 5.625 kB / 0.7103 GB, free: 124.9 MB / 426.7 MB Notification: Performance of Templates: time 0.1339/1.513, allocations: 52.14 MB / 0.7612 GB, free: 86.88 MB / 426.7 MB " [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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.337010913994163]