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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001554/0.001554, allocations: 208.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05205/0.05205, allocations: 9.24 MB / 321.7 MB, free: 9.855 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.91 kB / 448.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09854, allocations: 55.48 MB / 0.4918 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.02063/0.1192, allocations: 15.97 MB / 0.5074 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.131, allocations: 5.395 MB / 0.5127 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.1335, allocations: 107.6 kB / 0.5128 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2074/0.341, allocations: 1.738 MB / 0.5145 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.3476, allocations: 3.06 MB / 0.5175 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3491, allocations: 0.7252 MB / 0.5182 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007073/0.3562, allocations: 6.776 MB / 0.5248 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004942/0.3612, allocations: 3.658 MB / 0.5284 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.3642, allocations: 2.229 MB / 0.5306 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.3681, allocations: 2.996 MB / 0.5335 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3692, allocations: 0.5411 MB / 0.534 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.3715, allocations: 1.224 MB / 0.5352 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.3735, allocations: 2.738 MB / 0.5379 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.376, allocations: 2.487 MB / 0.5403 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3878, allocations: 11.4 MB / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3878, allocations: 2.625 kB / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3878, allocations: 0 / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.3881, allocations: 0 / 0.5515 GB, free: 11.14 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.03486/0.4229, allocations: 11.08 MB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.423, allocations: 8.031 kB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.4363, allocations: 3.58 MB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008528/0.4448, allocations: 3.37 MB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.4451, allocations: 337.1 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.4464, allocations: 450.4 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/0.4809, allocations: 17.6 MB / 0.587 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/0.4813, allocations: 75.33 kB / 0.5871 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.483, allocations: 226.2 kB / 0.5873 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006907/0.4899, allocations: 3.713 MB / 0.5909 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03469/0.5246, allocations: 15.36 MB / 0.6059 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/0.6272, allocations: 67.1 MB / 0.6715 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/0.6511, allocations: 6.236 MB / 0.6776 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006353/0.6575, allocations: 3.2 MB / 0.6807 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03192/0.6894, allocations: 11.53 MB / 0.6919 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/0.6895, allocations: 68.88 kB / 0.692 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=373): time 7.805e-06/0.6895, allocations: 4 kB / 0.692 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=420): time 0.0826/0.7721, allocations: 25.61 MB / 0.717 GB, free: 1.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.7722, allocations: 204.8 kB / 0.7172 GB, free: 1.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2257/0.9979, allocations: 5.879 MB / 0.723 GB, free: 176.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000849/0.9988, allocations: 84.2 kB / 0.723 GB, free: 176.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003306/1.002, allocations: 5.015 MB / 0.7279 GB, free: 173.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002199/1.004, allocations: 1.622 MB / 0.7295 GB, free: 172.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003879/1.008, allocations: 2.156 MB / 0.7316 GB, free: 171.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/1.008, allocations: 302.9 kB / 0.7319 GB, free: 171.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006046/1.014, allocations: 3.609 MB / 0.7354 GB, free: 170.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.023, allocations: 9.62 MB / 0.7448 GB, free: 160.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01667/1.04, allocations: 14.45 MB / 0.7589 GB, free: 149 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004684/1.04, allocations: 63.09 kB / 0.759 GB, free: 149 MB / 0.545 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02576/1.066, allocations: 13.33 MB / 0.772 GB, free: 143.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/1.066, allocations: 93.97 kB / 0.7721 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004388/1.067, allocations: 216.2 kB / 0.7723 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/1.068, allocations: 0.5954 MB / 0.7729 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/1.076, allocations: 2.462 MB / 0.7753 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/1.081, allocations: 4.882 MB / 0.7801 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007593/1.089, allocations: 0.4888 MB / 0.7806 GB, free: 137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.091, allocations: 0.6347 MB / 0.7812 GB, free: 136.4 MB / 0.545 GB 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 (1307): * Single equations (assignments): 1298 * 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.006552/1.097, allocations: 3.514 MB / 0.7846 GB, free: 133.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.099, allocations: 0.5354 MB / 0.7851 GB, free: 132.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009705/1.108, allocations: 5.141 MB / 0.7901 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/1.108, allocations: 76.86 kB / 0.7902 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/1.108, allocations: 4 kB / 0.7902 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.109, allocations: 22.98 kB / 0.7902 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.139, allocations: 17.76 MB / 0.8076 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.168e-05/1.139, allocations: 24 kB / 0.8076 GB, free: 111.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.141, allocations: 0.6754 MB / 0.8083 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/1.142, allocations: 354 kB / 0.8086 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/1.143, allocations: 99.98 kB / 0.8087 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/1.148, allocations: 6.277 MB / 0.8148 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/1.148, allocations: 45.06 kB / 0.8149 GB, free: 103.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.16, allocations: 9.68 MB / 0.8243 GB, free: 93.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002866/1.163, allocations: 0.9452 MB / 0.8253 GB, free: 92.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.164, allocations: 95.98 kB / 0.8253 GB, free: 92.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.167, allocations: 163.8 kB / 0.8255 GB, free: 92.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000503/1.168, allocations: 336.9 kB / 0.8258 GB, free: 92.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.168, allocations: 135.4 kB / 0.826 GB, free: 92.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006292/1.174, allocations: 3.392 MB / 0.8293 GB, free: 88.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.174, allocations: 0 / 0.8293 GB, free: 88.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01006/1.184, allocations: 1.582 MB / 0.8308 GB, free: 87.11 MB / 0.545 GB 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.0009779/1.185, allocations: 266 kB / 0.8311 GB, free: 86.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.199, allocations: 8.447 MB / 0.8393 GB, free: 78.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-05/1.199, allocations: 8 kB / 0.8393 GB, free: 78.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004338/1.204, allocations: 2.933 MB / 0.8422 GB, free: 75.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/1.21, allocations: 0.6733 MB / 0.8428 GB, free: 74.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/1.24, allocations: 15.97 MB / 0.8584 GB, free: 58.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008664/1.248, allocations: 4.435 MB / 0.8628 GB, free: 54.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008505/1.257, allocations: 3.11 MB / 0.8658 GB, free: 50.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.259, allocations: 427.3 kB / 0.8662 GB, free: 50.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.174e-06/1.259, allocations: 0 / 0.8662 GB, free: 50.47 MB / 0.545 GB Notification: Performance of Templates: time 0.09734/1.356, allocations: 57.98 MB / 0.9228 GB, free: 9.414 MB / 0.5606 GB " [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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.274978872388601] Failed to read output from testmodel.py, exit status != 0: 1.3657111898064613 1.560119106 1.169059318 Calling exit ...