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.0009435/0.0009435, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009674/0.0009674, allocations: 173 kB / 23.49 MB, free: 1.051 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.035/1.035, allocations: 177.1 MB / 203.8 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.03583/0.03583, allocations: 7.177 MB / 267.5 MB, free: 6.121 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 2.435e-06/2.435e-06, allocations: 0 / 338.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.728e-05, allocations: 2.312 kB / 338.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01777/0.0178, allocations: 17.87 MB / 356.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008469/0.02627, allocations: 5.541 MB / 362.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.02799, allocations: 103.6 kB / 362.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.03019, allocations: 1.855 MB / 364.3 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.03441, allocations: 3.165 MB / 367.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009903/0.0354, allocations: 0.7758 MB / 368.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005927/0.04132, allocations: 7.268 MB / 375.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003901/0.04522, allocations: 4.068 MB / 379.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.0483, allocations: 3.441 MB / 383 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.05084, allocations: 3.051 MB / 386 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005092/0.05135, allocations: 0.5508 MB / 386.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.05283, allocations: 1.358 MB / 387.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.05432, allocations: 2.843 MB / 390.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.05578, allocations: 1.927 MB / 392.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.06125, allocations: 6.883 MB / 399.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.06125, allocations: 0 / 399.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.06125, allocations: 0 / 399.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.189e-05/0.06132, allocations: 0 / 399.6 MB, free: 14.62 MB / 378.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.0175/0.07882, allocations: 11.65 MB / 411.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.07886, allocations: 8.625 kB / 411.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007839/0.0867, allocations: 4.384 MB / 415.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.09057, allocations: 3.143 MB / 418.8 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.09073, allocations: 336.4 kB / 419.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.09131, allocations: 463.6 kB / 419.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/0.1041, allocations: 10.05 MB / 429.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.1042, allocations: 79.33 kB / 429.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/0.1047, allocations: 223.7 kB / 429.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.108, allocations: 3.715 MB / 433.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.1193, allocations: 5.461 MB / 439.1 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1795/0.2989, allocations: 77.29 MB / 0.5043 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.3094, allocations: 3.952 MB / 0.5081 GB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/0.3116, allocations: 1.344 MB / 0.5094 GB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.3231, allocations: 9.299 MB / 0.5185 GB, free: 36.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3231, allocations: 72.62 kB / 0.5186 GB, free: 36.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=373): time 5.03e-06/0.3231, allocations: 3.969 kB / 0.5186 GB, free: 36.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.03439/0.3575, allocations: 18.87 MB / 0.537 GB, free: 29.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3576, allocations: 199.3 kB / 0.5372 GB, free: 28.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004765/0.3623, allocations: 5.207 MB / 0.5423 GB, free: 26.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.3625, allocations: 85.7 kB / 0.5424 GB, free: 26.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.3644, allocations: 5.199 MB / 0.5474 GB, free: 21.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008325/0.3652, allocations: 1.657 MB / 0.5491 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.367, allocations: 2.317 MB / 0.5513 GB, free: 17.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.3671, allocations: 480.7 kB / 0.5518 GB, free: 17.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.3691, allocations: 1.184 MB / 0.5529 GB, free: 16.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/0.3733, allocations: 10.06 MB / 0.5628 GB, free: 2.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009835/0.3832, allocations: 12.44 MB / 0.5749 GB, free: 3.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.629e-05/0.3833, allocations: 60 kB / 0.575 GB, free: 3.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=1404) (initialization): time 0.01255/0.3958, allocations: 9.066 MB / 0.5838 GB, free: 11.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/0.3959, allocations: 96 kB / 0.5839 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/0.396, allocations: 212 kB / 0.5841 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008342/0.3969, allocations: 0.534 MB / 0.5846 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.4013, allocations: 2.46 MB / 0.587 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.4055, allocations: 4.142 MB / 0.5911 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/0.41, allocations: 0.5269 MB / 0.5916 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005787/0.4105, allocations: 0.638 MB / 0.5922 GB, free: 3.012 MB / 442.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.001977/0.4125, allocations: 0.9979 MB / 0.5932 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/0.4133, allocations: 0.6449 MB / 0.5938 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1464/0.5597, allocations: 2.812 MB / 0.5966 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/0.5597, allocations: 70.39 kB / 0.5966 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.5598, allocations: 13.81 kB / 0.5967 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.5598, allocations: 22.83 kB / 0.5967 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.5746, allocations: 10.21 MB / 0.6066 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/0.5746, allocations: 22.66 kB / 0.6067 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.5762, allocations: 0.6718 MB / 0.6073 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.5767, allocations: 280 kB / 0.6076 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.5769, allocations: 105 kB / 0.6077 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.5802, allocations: 6.717 MB / 0.6143 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-05/0.5802, allocations: 37.34 kB / 0.6143 GB, free: 111.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/0.5856, allocations: 5.276 MB / 0.6194 GB, free: 109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.587, allocations: 0.9378 MB / 0.6204 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.5874, allocations: 98.7 kB / 0.6204 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.5887, allocations: 180.2 kB / 0.6206 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/0.5891, allocations: 333.5 kB / 0.6209 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.5893, allocations: 135.1 kB / 0.6211 GB, free: 108.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002585/0.5919, allocations: 2.197 MB / 0.6232 GB, free: 108.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5919, allocations: 0 / 0.6232 GB, free: 108.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004948/0.5968, allocations: 1.637 MB / 0.6248 GB, free: 108.7 MB / 442.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.0004636/0.5973, allocations: 289 kB / 0.6251 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007414/0.6047, allocations: 5.36 MB / 0.6303 GB, free: 107.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.6047, allocations: 3.531 kB / 0.6303 GB, free: 107.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.6066, allocations: 1.914 MB / 0.6322 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.6091, allocations: 0.7053 MB / 0.6329 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.623, allocations: 13.19 MB / 0.6458 GB, free: 99.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.6247, allocations: 2.017 MB / 0.6477 GB, free: 98.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003872/0.6286, allocations: 2.704 MB / 0.6504 GB, free: 98.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/0.6294, allocations: 432.5 kB / 0.6508 GB, free: 98.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.893e-06/0.6294, allocations: 0 / 0.6508 GB, free: 98.26 MB / 442.7 MB Notification: Performance of Templates: time 0.07234/0.7018, allocations: 52.16 MB / 0.7017 GB, free: 54.58 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: 5.019079165067524]