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.001297/0.001297, allocations: 93.06 kB / 19.65 MB, free: 272 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.001439/0.001439, allocations: 169 kB / 23.02 MB, free: 1.539 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.9111/0.9111, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02757/0.02757, allocations: 7.177 MB / 267.1 MB, free: 6.059 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.723e-06/1.723e-06, allocations: 0 / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.597e-05, allocations: 6.312 kB / 338.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01233/0.01235, allocations: 17.92 MB / 356.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.02263, allocations: 5.554 MB / 362.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/0.02564, allocations: 103.6 kB / 362.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.0295, allocations: 1.87 MB / 364.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007665/0.03717, allocations: 3.169 MB / 367.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.03907, allocations: 0.7797 MB / 368.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009189/0.04826, allocations: 7.258 MB / 375.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005838/0.0541, allocations: 4.068 MB / 379.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005765/0.05986, allocations: 3.442 MB / 383 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.06426, allocations: 3.055 MB / 386.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.06571, allocations: 0.5547 MB / 386.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.06851, allocations: 1.346 MB / 388 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002704/0.07121, allocations: 2.851 MB / 390.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.07449, allocations: 1.912 MB / 392.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.08488, allocations: 6.891 MB / 399.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.08488, allocations: 0 / 399.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08489, allocations: 4 kB / 399.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003062/0.08519, allocations: 0 / 399.7 MB, free: 13.13 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.05119/0.1364, allocations: 11.65 MB / 411.3 MB, free: 1.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1364, allocations: 12.62 kB / 411.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1712/0.3076, allocations: 4.364 MB / 415.7 MB, free: 50.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/0.3116, allocations: 3.271 MB / 418.9 MB, free: 49.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.3118, allocations: 342.7 kB / 419.3 MB, free: 49.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008141/0.3126, allocations: 452.2 kB / 419.7 MB, free: 49.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.3245, allocations: 10.08 MB / 429.8 MB, free: 45.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.3247, allocations: 70 kB / 429.9 MB, free: 45.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004468/0.3251, allocations: 223.1 kB / 430.1 MB, free: 45.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/0.3287, allocations: 3.703 MB / 433.8 MB, free: 45.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.3484, allocations: 5.471 MB / 439.3 MB, free: 42.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07696/0.4254, allocations: 77.29 MB / 0.5045 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009918/0.4353, allocations: 3.953 MB / 0.5083 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.4372, allocations: 1.348 MB / 0.5096 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.4485, allocations: 9.303 MB / 0.5187 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4486, allocations: 78.27 kB / 0.5188 GB, free: 13.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 5.14e-06/0.4486, allocations: 4 kB / 0.5188 GB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.03347/0.482, allocations: 18.87 MB / 0.5372 GB, free: 10.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.4821, allocations: 196.9 kB / 0.5374 GB, free: 10.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/0.487, allocations: 5.227 MB / 0.5425 GB, free: 5.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.4871, allocations: 84.2 kB / 0.5426 GB, free: 5.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.4894, allocations: 5.207 MB / 0.5477 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009606/0.4904, allocations: 1.656 MB / 0.5493 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/0.4924, allocations: 2.317 MB / 0.5516 GB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.4925, allocations: 476.8 kB / 0.552 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.4944, allocations: 1.184 MB / 0.5532 GB, free: 10.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1578/0.6523, allocations: 10.09 MB / 0.563 GB, free: 115.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009647/0.6619, allocations: 12.49 MB / 0.5752 GB, free: 103.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002192/0.6622, allocations: 59.09 kB / 0.5753 GB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1408) (initialization): time 0.01543/0.6776, allocations: 9.055 MB / 0.5841 GB, free: 102.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.6777, allocations: 94.47 kB / 0.5842 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/0.6779, allocations: 211.5 kB / 0.5844 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009371/0.6789, allocations: 0.5276 MB / 0.5849 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/0.6837, allocations: 2.474 MB / 0.5873 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.6876, allocations: 4.138 MB / 0.5914 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/0.6936, allocations: 0.537 MB / 0.5919 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/0.695, allocations: 0.6369 MB / 0.5925 GB, free: 100.2 MB / 426.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.002832/0.6978, allocations: 0.9997 MB / 0.5935 GB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.6989, allocations: 0.6481 MB / 0.5941 GB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.7029, allocations: 2.814 MB / 0.5969 GB, free: 99.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/0.703, allocations: 68.14 kB / 0.597 GB, free: 99.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.703, allocations: 11.75 kB / 0.597 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.703, allocations: 22.05 kB / 0.597 GB, free: 99.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.7181, allocations: 10.18 MB / 0.6069 GB, free: 94.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/0.7181, allocations: 27.7 kB / 0.607 GB, free: 94.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.7197, allocations: 0.6632 MB / 0.6076 GB, free: 93.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005836/0.7203, allocations: 291.2 kB / 0.6079 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.7205, allocations: 110.6 kB / 0.608 GB, free: 93.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.7235, allocations: 6.718 MB / 0.6145 GB, free: 86.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.7235, allocations: 40.25 kB / 0.6146 GB, free: 86.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.7288, allocations: 5.272 MB / 0.6197 GB, free: 81.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.7302, allocations: 0.9331 MB / 0.6206 GB, free: 80.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.7307, allocations: 106.2 kB / 0.6207 GB, free: 80.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.732, allocations: 176.7 kB / 0.6209 GB, free: 80.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.7324, allocations: 337.8 kB / 0.6212 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.7325, allocations: 138.7 kB / 0.6214 GB, free: 80.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002761/0.7353, allocations: 2.2 MB / 0.6235 GB, free: 78.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7353, allocations: 0 / 0.6235 GB, free: 78.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005582/0.7409, allocations: 1.641 MB / 0.6251 GB, free: 76.66 MB / 426.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.0005097/0.7414, allocations: 291.8 kB / 0.6254 GB, free: 76.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008017/0.7494, allocations: 5.363 MB / 0.6306 GB, free: 71.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.429e-05/0.7494, allocations: 4 kB / 0.6306 GB, free: 71.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.7517, allocations: 1.904 MB / 0.6325 GB, free: 69.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.7551, allocations: 0.7139 MB / 0.6332 GB, free: 69.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.7722, allocations: 13.2 MB / 0.6461 GB, free: 56.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.7739, allocations: 2.018 MB / 0.6481 GB, free: 54.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00431/0.7782, allocations: 2.703 MB / 0.6507 GB, free: 51.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009264/0.7792, allocations: 436.3 kB / 0.6511 GB, free: 51.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7792, allocations: 0 / 0.6511 GB, free: 51.34 MB / 426.7 MB Notification: Performance of Templates: time 0.07206/0.8512, allocations: 54.1 MB / 0.7039 GB, free: 14.13 MB / 442.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.797235952690244]