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.001315/0.001315, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.001515/0.001515, allocations: 165.6 kB / 22.46 MB, free: 5.355 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.04747/0.04747, allocations: 7.12 MB / 266.3 MB, free: 9.785 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 392.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.902e-05, allocations: 5.516 kB / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01963/0.01966, allocations: 16 MB / 408.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.0313, allocations: 5.395 MB / 414.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.0335, allocations: 103.6 kB / 414.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.0376, allocations: 1.804 MB / 416.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.04535, allocations: 3.149 MB / 419.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.04724, allocations: 0.768 MB / 420.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.05747, allocations: 7.238 MB / 427.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006815/0.06429, allocations: 3.949 MB / 431.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/0.07181, allocations: 3.414 MB / 434.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.07782, allocations: 3.023 MB / 437.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002209/0.08003, allocations: 0.5469 MB / 438.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.0841, allocations: 1.35 MB / 439.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004392/0.08849, allocations: 2.839 MB / 442.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004469/0.09296, allocations: 1.9 MB / 444.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2046/0.2975, allocations: 11.31 MB / 455.7 MB, free: 31.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2975, allocations: 0 / 455.7 MB, free: 31.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2975, allocations: 0 / 455.7 MB, free: 31.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.2979, allocations: 1 kB / 455.7 MB, free: 31.45 MB / 366.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.04005/0.3379, allocations: 11.14 MB / 466.8 MB, free: 28.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.338, allocations: 7.25 kB / 466.8 MB, free: 28.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.3518, allocations: 3.665 MB / 470.5 MB, free: 27.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00737/0.3592, allocations: 3.338 MB / 473.8 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.3594, allocations: 335.3 kB / 474.2 MB, free: 26.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.361, allocations: 453.8 kB / 474.6 MB, free: 26.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.39, allocations: 17.62 MB / 492.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/0.3903, allocations: 79.23 kB / 492.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.3915, allocations: 226.2 kB / 492.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005096/0.3966, allocations: 3.709 MB / 496.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03051/0.4271, allocations: 15.35 MB / 0.4996 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/0.538, allocations: 67.3 MB / 0.5653 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03346/0.5715, allocations: 6.531 MB / 0.5717 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007167/0.5786, allocations: 3.209 MB / 0.5748 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03621/0.6149, allocations: 11.8 MB / 0.5864 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.6151, allocations: 72.25 kB / 0.5864 GB, free: 1.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=373): time 1.353e-05/0.6151, allocations: 4 kB / 0.5864 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=420): time 0.09192/0.707, allocations: 26.5 MB / 0.6123 GB, free: 7.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.7072, allocations: 200 kB / 0.6125 GB, free: 6.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/0.7182, allocations: 5.964 MB / 0.6183 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008264/0.719, allocations: 81.7 kB / 0.6184 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2118/0.9308, allocations: 4.963 MB / 0.6233 GB, free: 171.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.9326, allocations: 1.591 MB / 0.6248 GB, free: 170.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003575/0.9362, allocations: 2.136 MB / 0.6269 GB, free: 170 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.9362, allocations: 303.1 kB / 0.6272 GB, free: 169.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/0.9425, allocations: 3.61 MB / 0.6307 GB, free: 168.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007728/0.9502, allocations: 9.622 MB / 0.6401 GB, free: 159.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.964, allocations: 14.44 MB / 0.6542 GB, free: 147.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002435/0.9642, allocations: 57.44 kB / 0.6543 GB, free: 147.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02238/0.9866, allocations: 13.34 MB / 0.6673 GB, free: 136.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.9867, allocations: 96 kB / 0.6674 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/0.9869, allocations: 212.1 kB / 0.6676 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.988, allocations: 0.5875 MB / 0.6682 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007715/0.9957, allocations: 2.465 MB / 0.6706 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/1.002, allocations: 4.884 MB / 0.6753 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/1.011, allocations: 0.5418 MB / 0.6759 GB, free: 128.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.013, allocations: 0.6272 MB / 0.6765 GB, free: 127.6 MB / 494.1 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 (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.005739/1.018, allocations: 3.512 MB / 0.6799 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.02, allocations: 0.53 MB / 0.6804 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/1.027, allocations: 5.147 MB / 0.6855 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-05/1.027, allocations: 71.92 kB / 0.6855 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.027, allocations: 4 kB / 0.6855 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/1.027, allocations: 19.94 kB / 0.6855 GB, free: 118.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.056, allocations: 17.87 MB / 0.703 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/1.056, allocations: 24 kB / 0.703 GB, free: 100.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/1.059, allocations: 0.6817 MB / 0.7037 GB, free: 100.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007941/1.06, allocations: 355.2 kB / 0.704 GB, free: 99.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/1.06, allocations: 97.42 kB / 0.7041 GB, free: 99.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/1.065, allocations: 6.265 MB / 0.7102 GB, free: 93.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/1.065, allocations: 43.8 kB / 0.7103 GB, free: 93.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.076, allocations: 9.626 MB / 0.7197 GB, free: 82.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.079, allocations: 0.9648 MB / 0.7206 GB, free: 81.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.08, allocations: 99.98 kB / 0.7207 GB, free: 81.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.083, allocations: 199.7 kB / 0.7209 GB, free: 81.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/1.083, allocations: 332.9 kB / 0.7212 GB, free: 81.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.083, allocations: 136 kB / 0.7214 GB, free: 81.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004682/1.088, allocations: 3.447 MB / 0.7247 GB, free: 77.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.088, allocations: 0 / 0.7247 GB, free: 77.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00813/1.096, allocations: 1.637 MB / 0.7263 GB, free: 76.12 MB / 494.1 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.0006631/1.097, allocations: 279.8 kB / 0.7266 GB, free: 75.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01193/1.109, allocations: 8.447 MB / 0.7348 GB, free: 67.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.402e-05/1.109, allocations: 7.609 kB / 0.7348 GB, free: 67.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004817/1.114, allocations: 2.94 MB / 0.7377 GB, free: 64.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006416/1.12, allocations: 0.6791 MB / 0.7384 GB, free: 63.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.15, allocations: 15.79 MB / 0.7538 GB, free: 47.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009206/1.159, allocations: 4.432 MB / 0.7581 GB, free: 43.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008341/1.168, allocations: 3.122 MB / 0.7612 GB, free: 40.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.17, allocations: 428.3 kB / 0.7616 GB, free: 39.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.924e-06/1.17, allocations: 0 / 0.7616 GB, free: 39.59 MB / 494.1 MB Notification: Performance of Templates: time 0.2874/1.457, allocations: 51.68 MB / 0.8121 GB, free: 148.4 MB / 494.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.00655684247613] Failed to read output from testmodel.py, exit status != 0: 1.466903641819954 1.476728665 1.176686393 Calling exit ...