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.0008842/0.0008842, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001021/0.001021, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8744/0.8744, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.0265/0.0265, allocations: 7.125 MB / 267.1 MB, free: 6.32 MB / 250.7 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.423e-06/1.423e-06, allocations: 0 / 393.7 MB, free: 3.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.716e-05, allocations: 5.234 kB / 393.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.0115/0.01153, allocations: 15.99 MB / 409.7 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1437/0.1553, allocations: 5.386 MB / 415 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002376/0.1576, allocations: 103.8 kB / 415.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.1605, allocations: 1.806 MB / 417 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.1669, allocations: 3.139 MB / 420.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1685, allocations: 0.7704 MB / 420.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008228/0.1767, allocations: 7.24 MB / 428.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006157/0.1829, allocations: 3.955 MB / 432.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006875/0.1898, allocations: 3.422 MB / 435.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.1939, allocations: 3.018 MB / 438.5 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.1953, allocations: 0.5476 MB / 439 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.1977, allocations: 1.354 MB / 440.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.1995, allocations: 2.835 MB / 443.2 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.202, allocations: 1.909 MB / 445.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009912/0.2119, allocations: 11.31 MB / 456.5 MB, free: 8.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2119, allocations: 3.938 kB / 456.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2119, allocations: 0 / 456.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003463/0.2122, allocations: 0 / 456.5 MB, free: 8.18 MB / 346.7 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.0242/0.2364, allocations: 11.14 MB / 467.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2365, allocations: 8.625 kB / 467.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007507/0.244, allocations: 3.623 MB / 471.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/0.2502, allocations: 3.345 MB / 474.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.2505, allocations: 342.6 kB / 474.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.2519, allocations: 453.3 kB / 475.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.2762, allocations: 17.65 MB / 493 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.2764, allocations: 75.34 kB / 493.1 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.2776, allocations: 220.8 kB / 493.3 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003447/0.281, allocations: 3.708 MB / 497 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.3036, allocations: 15.41 MB / 0.5004 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06713/0.3707, allocations: 67.34 MB / 0.5662 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.384, allocations: 6.533 MB / 0.5725 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.3881, allocations: 3.202 MB / 0.5757 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1643/0.5524, allocations: 11.8 MB / 0.5872 GB, free: 145.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.5524, allocations: 75.81 kB / 0.5873 GB, free: 145.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=373): time 6.693e-06/0.5524, allocations: 2.969 kB / 0.5873 GB, free: 145.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=420): time 0.04323/0.5957, allocations: 26.5 MB / 0.6131 GB, free: 134.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.5957, allocations: 192.9 kB / 0.6133 GB, free: 134.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00566/0.6014, allocations: 5.969 MB / 0.6192 GB, free: 129.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005952/0.602, allocations: 92.47 kB / 0.6192 GB, free: 129.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.6036, allocations: 4.967 MB / 0.6241 GB, free: 125.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.6047, allocations: 1.591 MB / 0.6257 GB, free: 123.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.6067, allocations: 2.129 MB / 0.6277 GB, free: 121.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.6068, allocations: 305.1 kB / 0.628 GB, free: 121.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003287/0.61, allocations: 3.611 MB / 0.6315 GB, free: 118.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/0.6144, allocations: 9.626 MB / 0.6409 GB, free: 106 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009523/0.6239, allocations: 14.45 MB / 0.6551 GB, free: 88.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/0.6241, allocations: 60 kB / 0.6551 GB, free: 88.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.01676/0.6408, allocations: 13.33 MB / 0.6681 GB, free: 75.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.6409, allocations: 100.2 kB / 0.6682 GB, free: 75.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/0.6411, allocations: 212 kB / 0.6684 GB, free: 74.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/0.6418, allocations: 0.5942 MB / 0.669 GB, free: 74.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/0.6463, allocations: 2.46 MB / 0.6714 GB, free: 71.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.65, allocations: 4.88 MB / 0.6762 GB, free: 66.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005312/0.6553, allocations: 0.5422 MB / 0.6767 GB, free: 66.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/0.6566, allocations: 0.6284 MB / 0.6773 GB, free: 65.71 MB / 474.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 (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.004527/0.6611, allocations: 3.511 MB / 0.6807 GB, free: 62.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008672/0.662, allocations: 0.5354 MB / 0.6813 GB, free: 61.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/0.6668, allocations: 5.144 MB / 0.6863 GB, free: 56.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.6668, allocations: 71.98 kB / 0.6864 GB, free: 56.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.6669, allocations: 4 kB / 0.6864 GB, free: 56.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.6669, allocations: 23.92 kB / 0.6864 GB, free: 56.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.685, allocations: 17.88 MB / 0.7039 GB, free: 38.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.685, allocations: 24 kB / 0.7039 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6866, allocations: 0.6794 MB / 0.7045 GB, free: 37.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.6871, allocations: 347.5 kB / 0.7049 GB, free: 37.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001927/0.6873, allocations: 99.98 kB / 0.705 GB, free: 37.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.6906, allocations: 6.288 MB / 0.7111 GB, free: 30.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.6906, allocations: 35.88 kB / 0.7111 GB, free: 30.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/0.6982, allocations: 9.619 MB / 0.7205 GB, free: 20.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.7, allocations: 0.9725 MB / 0.7215 GB, free: 19.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006122/0.7007, allocations: 99.97 kB / 0.7216 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.7021, allocations: 195.4 kB / 0.7218 GB, free: 19.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.7025, allocations: 336.9 kB / 0.7221 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.7026, allocations: 139.9 kB / 0.7222 GB, free: 18.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003274/0.7059, allocations: 3.454 MB / 0.7256 GB, free: 15.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7059, allocations: 0 / 0.7256 GB, free: 15.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005401/0.7113, allocations: 1.633 MB / 0.7272 GB, free: 13.52 MB / 474.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.000538/0.7118, allocations: 282.9 kB / 0.7275 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008757/0.7206, allocations: 8.443 MB / 0.7357 GB, free: 4.801 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-05/0.7206, allocations: 4 kB / 0.7357 GB, free: 4.797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.7232, allocations: 2.856 MB / 0.7385 GB, free: 1.902 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.7261, allocations: 0.6796 MB / 0.7392 GB, free: 1.246 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1836/0.9098, allocations: 16.56 MB / 0.7553 GB, free: 148.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008016/0.9178, allocations: 4.441 MB / 0.7597 GB, free: 147.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/0.9199, allocations: 0.4977 MB / 0.7602 GB, free: 147.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.326e-06/0.9199, allocations: 3.969 kB / 0.7602 GB, free: 147.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1368/1.057, allocations: 168.5 MB / 0.9247 GB, free: 388 kB / 490.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.85814203042537] Failed to read output from testmodel.py, exit status != 0: 1.0638480866327882 1.219374229 1.005292461 Calling exit ...