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.002311/0.002311, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002429/0.002429, allocations: 217 kB / 22.25 MB, free: 5.082 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.012 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.05075/0.05075, allocations: 9.241 MB / 321.7 MB, free: 10.04 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.002196/0.002196, allocations: 67.89 kB / 448.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 55.48 MB / 0.4919 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.02221/0.1454, allocations: 18.59 MB / 0.5101 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2775/0.4229, allocations: 5.655 MB / 0.5156 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/0.4275, allocations: 105.9 kB / 0.5157 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.4318, allocations: 1.793 MB / 0.5174 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.4426, allocations: 3.057 MB / 0.5204 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.4457, allocations: 0.7305 MB / 0.5211 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.4603, allocations: 6.777 MB / 0.5278 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007779/0.4681, allocations: 3.689 MB / 0.5314 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005922/0.474, allocations: 2.222 MB / 0.5335 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008105/0.4821, allocations: 3.166 MB / 0.5366 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.4843, allocations: 0.5412 MB / 0.5371 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/0.4886, allocations: 1.364 MB / 0.5385 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.492, allocations: 2.737 MB / 0.5412 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006212/0.4982, allocations: 3.538 MB / 0.5446 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.5174, allocations: 11.35 MB / 0.5557 GB, free: 7.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5175, allocations: 0 / 0.5557 GB, free: 7.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5175, allocations: 0 / 0.5557 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000471/0.5179, allocations: 3.938 kB / 0.5557 GB, free: 7.113 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.04084/0.5588, allocations: 11.08 MB / 0.5665 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5588, allocations: 8.031 kB / 0.5665 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.5721, allocations: 3.585 MB / 0.57 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.5821, allocations: 3.333 MB / 0.5733 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/0.5825, allocations: 337.5 kB / 0.5736 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/0.5851, allocations: 449.5 kB / 0.574 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04279/0.6279, allocations: 17.6 MB / 0.5912 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004201/0.6283, allocations: 87.2 kB / 0.5913 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002329/0.6306, allocations: 224.6 kB / 0.5915 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006953/0.6376, allocations: 3.708 MB / 0.5951 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04153/0.6791, allocations: 15.39 MB / 0.6102 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1283/0.8074, allocations: 71.58 MB / 0.6801 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02526/0.8327, allocations: 6.265 MB / 0.6862 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007552/0.8402, allocations: 3.195 MB / 0.6893 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03611/0.8763, allocations: 12.62 MB / 0.7016 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/0.8764, allocations: 68.88 kB / 0.7017 GB, free: 432 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=373): time 7.995e-06/0.8764, allocations: 3.938 kB / 0.7017 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=420): time 0.3877/1.264, allocations: 25.65 MB / 0.7268 GB, free: 171.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.264, allocations: 199.6 kB / 0.7269 GB, free: 170.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01438/1.279, allocations: 6.582 MB / 0.7334 GB, free: 169.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.28, allocations: 81.73 kB / 0.7335 GB, free: 169.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006417/1.286, allocations: 4.97 MB / 0.7383 GB, free: 165.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003772/1.29, allocations: 1.621 MB / 0.7399 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01228/1.302, allocations: 2.15 MB / 0.742 GB, free: 163.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.302, allocations: 302.4 kB / 0.7423 GB, free: 163 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/1.316, allocations: 3.612 MB / 0.7458 GB, free: 161.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0194/1.335, allocations: 9.623 MB / 0.7552 GB, free: 152.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02743/1.362, allocations: 14.45 MB / 0.7693 GB, free: 140.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005612/1.363, allocations: 61.28 kB / 0.7694 GB, free: 140.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.04665/1.41, allocations: 13.4 MB / 0.7825 GB, free: 134.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007837/1.41, allocations: 97.66 kB / 0.7826 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009962/1.411, allocations: 208.2 kB / 0.7828 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/1.413, allocations: 0.6095 MB / 0.7833 GB, free: 134.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/1.424, allocations: 2.454 MB / 0.7857 GB, free: 132.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/1.432, allocations: 4.994 MB / 0.7906 GB, free: 127.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/1.443, allocations: 496.5 kB / 0.7911 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003283/1.447, allocations: 0.6262 MB / 0.7917 GB, free: 126.9 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.01132/1.458, allocations: 3.518 MB / 0.7951 GB, free: 123.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002634/1.46, allocations: 0.6131 MB / 0.7957 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.473, allocations: 5.214 MB / 0.8008 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/1.474, allocations: 68 kB / 0.8009 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-05/1.474, allocations: 11.84 kB / 0.8009 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-05/1.474, allocations: 15.09 kB / 0.8009 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04146/1.515, allocations: 19.96 MB / 0.8204 GB, free: 98.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/1.515, allocations: 24 kB / 0.8204 GB, free: 98.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003385/1.519, allocations: 0.6796 MB / 0.8211 GB, free: 97.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009443/1.52, allocations: 346.6 kB / 0.8214 GB, free: 97.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006974/1.52, allocations: 99.97 kB / 0.8215 GB, free: 97.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/1.526, allocations: 6.407 MB / 0.8278 GB, free: 90.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-05/1.526, allocations: 38.19 kB / 0.8278 GB, free: 90.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01601/1.542, allocations: 9.787 MB / 0.8374 GB, free: 80.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004483/1.547, allocations: 1.076 MB / 0.8384 GB, free: 79.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00237/1.549, allocations: 107.9 kB / 0.8385 GB, free: 79.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004424/1.554, allocations: 159.9 kB / 0.8387 GB, free: 79.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008646/1.554, allocations: 336.2 kB / 0.839 GB, free: 78.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004338/1.555, allocations: 136 kB / 0.8391 GB, free: 78.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01083/1.566, allocations: 4.351 MB / 0.8434 GB, free: 74.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.566, allocations: 4 kB / 0.8434 GB, free: 74.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01276/1.578, allocations: 1.594 MB / 0.8449 GB, free: 72.67 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.001433/1.58, allocations: 263.1 kB / 0.8452 GB, free: 72.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.596, allocations: 8.449 MB / 0.8534 GB, free: 63.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.729e-05/1.596, allocations: 4.938 kB / 0.8534 GB, free: 63.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/1.601, allocations: 2.937 MB / 0.8563 GB, free: 61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009516/1.611, allocations: 0.8458 MB / 0.8571 GB, free: 60.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03616/1.647, allocations: 16.18 MB / 0.8729 GB, free: 43.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009815/1.657, allocations: 4.92 MB / 0.8778 GB, free: 38.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009533/1.666, allocations: 3.229 MB / 0.8809 GB, free: 35.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/1.669, allocations: 467.3 kB / 0.8813 GB, free: 35.02 MB / 0.545 GB Notification: Performance of SimCode: time 1.472e-06/1.669, allocations: 0 / 0.8813 GB, free: 35.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3848/2.053, allocations: 64.68 MB / 0.9445 GB, free: 167.6 MB / 0.5606 GB " [Timeout remaining time 658] 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: 9.468861648114398] Failed to read output from testmodel.py, exit status != 0: 2.0631722861435264 2.073767498 1.553613955 Calling exit ...