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.0008037/0.0008037, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002039, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00123/0.00123, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002838, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09499/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.03773/0.03773, allocations: 7.18 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005865/0.0436, allocations: 2.553 MB / 253.7 MB, free: 5.312 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.813e-06/1.813e-06, allocations: 0 / 255 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.421e-05, allocations: 2.312 kB / 255 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01799/0.01801, allocations: 17.59 MB / 272.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1297/0.1477, allocations: 5.79 MB / 278.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.1498, allocations: 103.9 kB / 278.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.1521, allocations: 1.832 MB / 280.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.1567, allocations: 3.144 MB / 283.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1578, allocations: 0.7262 MB / 284.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.1636, allocations: 7.042 MB / 291.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/0.1668, allocations: 3.773 MB / 295 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.17, allocations: 3.605 MB / 298.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.1724, allocations: 2.907 MB / 301.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.1731, allocations: 0.5469 MB / 302 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.175, allocations: 1.373 MB / 303.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.1765, allocations: 2.546 MB / 306 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.1782, allocations: 1.608 MB / 307.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.1835, allocations: 6.494 MB / 314.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.1835, allocations: 0 / 314.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1835, allocations: 3.938 kB / 314.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002502/0.1838, allocations: 0 / 314.1 MB, free: 12.2 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.01113/0.1949, allocations: 9.856 MB / 323.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.195, allocations: 9.641 kB / 323.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.1993, allocations: 1.94 MB / 325.9 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.202, allocations: 2.54 MB / 328.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.2021, allocations: 347.5 kB / 328.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005003/0.2026, allocations: 448.1 kB / 329.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.211, allocations: 8.308 MB / 337.5 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.2111, allocations: 81.92 kB / 337.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.2115, allocations: 223.2 kB / 337.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002725/0.2142, allocations: 3.376 MB / 341.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007275/0.2215, allocations: 4.51 MB / 345.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/0.2641, allocations: 54.27 MB / 399.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009277/0.2734, allocations: 3.568 MB / 403.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.2751, allocations: 1.002 MB / 404.5 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/0.2885, allocations: 7.631 MB / 412.1 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.2886, allocations: 80.75 kB / 412.2 MB, free: 9.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 6.462e-06/0.2886, allocations: 0 / 412.2 MB, free: 9.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.1737/0.4623, allocations: 11.99 MB / 424.2 MB, free: 119.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4624, allocations: 204.6 kB / 424.4 MB, free: 119.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/0.4681, allocations: 4.697 MB / 429.1 MB, free: 118.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/0.4683, allocations: 85.53 kB / 429.2 MB, free: 118.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.4704, allocations: 4.732 MB / 433.9 MB, free: 115.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009648/0.4714, allocations: 1.591 MB / 435.5 MB, free: 114.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00189/0.4733, allocations: 2.041 MB / 437.6 MB, free: 114.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.4733, allocations: 302.3 kB / 437.9 MB, free: 114.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.4756, allocations: 1.336 MB / 439.2 MB, free: 114 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/0.479, allocations: 7.147 MB / 446.3 MB, free: 106.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/0.4845, allocations: 9.469 MB / 455.8 MB, free: 97.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.597e-05/0.4846, allocations: 60.12 kB / 455.9 MB, free: 97.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.007476/0.4921, allocations: 7.081 MB / 462.9 MB, free: 95.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.4922, allocations: 94.75 kB / 463 MB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/0.4923, allocations: 209.4 kB / 463.2 MB, free: 95.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.493, allocations: 0.5261 MB / 463.8 MB, free: 95.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.4972, allocations: 2.74 MB / 466.5 MB, free: 94.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.4995, allocations: 3.264 MB / 469.8 MB, free: 91.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/0.5033, allocations: 423.6 kB / 470.2 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.5037, allocations: 0.545 MB / 470.7 MB, free: 90.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.001884/0.5056, allocations: 0.9513 MB / 471.7 MB, free: 89.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006197/0.5062, allocations: 401.7 kB / 472.1 MB, free: 89.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.5085, allocations: 2.155 MB / 474.2 MB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/0.5086, allocations: 71.92 kB / 474.3 MB, free: 87.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.5086, allocations: 8 kB / 474.3 MB, free: 87.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.5086, allocations: 26.5 kB / 474.3 MB, free: 87.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009566/0.5182, allocations: 7.558 MB / 481.9 MB, free: 79.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.5182, allocations: 24 kB / 481.9 MB, free: 79.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.5197, allocations: 0.7069 MB / 482.6 MB, free: 78.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009726/0.5206, allocations: 0.7537 MB / 483.4 MB, free: 78.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006454/0.5213, allocations: 492.5 kB / 483.9 MB, free: 77.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.5214, allocations: 104 kB / 484 MB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.5235, allocations: 4.78 MB / 488.7 MB, free: 72.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.5235, allocations: 35.81 kB / 488.8 MB, free: 72.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.5266, allocations: 4.218 MB / 493 MB, free: 67.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.527, allocations: 99.66 kB / 493.1 MB, free: 67.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.528, allocations: 91.92 kB / 493.2 MB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.5283, allocations: 325 kB / 493.5 MB, free: 67.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.5284, allocations: 110.5 kB / 493.6 MB, free: 67.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.5296, allocations: 1.72 MB / 495.3 MB, free: 65.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5296, allocations: 0 / 495.3 MB, free: 65.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004657/0.5342, allocations: 1.644 MB / 497 MB, free: 63.68 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.0003868/0.5346, allocations: 272.2 kB / 497.2 MB, free: 63.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00423/0.5388, allocations: 4.578 MB / 0.49 GB, free: 58.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000237/0.5391, allocations: 166.1 kB / 0.4902 GB, free: 58.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.5402, allocations: 1.494 MB / 0.4917 GB, free: 57.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.5423, allocations: 1.09 MB / 0.4927 GB, free: 56.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.563, allocations: 13.53 MB / 0.5059 GB, free: 42.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.5645, allocations: 2 MB / 0.5079 GB, free: 40.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002293/0.5668, allocations: 0.8814 MB / 0.5088 GB, free: 39.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.5682, allocations: 0.9189 MB / 0.5097 GB, free: 38.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5682, allocations: 0 / 0.5097 GB, free: 38.27 MB / 394.7 MB Notification: Performance of Templates: time 0.2094/0.7776, allocations: 58.6 MB / 0.5669 GB, free: 119.3 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.717650820501149]