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.001351/0.001351, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001534/0.001534, allocations: 157.9 kB / 23.02 MB, free: 4.949 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.04754/0.04754, allocations: 7.124 MB / 266.9 MB, free: 9.719 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.002163/0.002163, allocations: 63.91 kB / 393.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 55.45 MB / 448.9 MB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01996/0.1424, allocations: 15.96 MB / 464.8 MB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01559/0.158, allocations: 5.407 MB / 470.2 MB, free: 13.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1613, allocations: 107.6 kB / 470.3 MB, free: 13.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.1653, allocations: 1.746 MB / 472.1 MB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008227/0.1736, allocations: 3.062 MB / 475.1 MB, free: 8.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.1757, allocations: 0.7138 MB / 475.9 MB, free: 7.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.1869, allocations: 6.781 MB / 482.6 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2246/0.4115, allocations: 3.651 MB / 486.3 MB, free: 44.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003735/0.4153, allocations: 2.221 MB / 488.5 MB, free: 43.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.4186, allocations: 2.996 MB / 491.5 MB, free: 43.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009206/0.4195, allocations: 0.5423 MB / 492 MB, free: 43.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4216, allocations: 1.226 MB / 493.3 MB, free: 43.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.4235, allocations: 2.74 MB / 496 MB, free: 43.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.4259, allocations: 2.49 MB / 498.5 MB, free: 42.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.4375, allocations: 11.4 MB / 0.4979 GB, free: 39.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4375, allocations: 0 / 0.4979 GB, free: 39.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4375, allocations: 3.531 kB / 0.498 GB, free: 39.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003948/0.4379, allocations: 3.469 kB / 0.498 GB, free: 39.17 MB / 446.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.0364/0.4743, allocations: 11.16 MB / 0.5089 GB, free: 35.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4744, allocations: 9.594 kB / 0.5089 GB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.49, allocations: 3.662 MB / 0.5124 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008349/0.4984, allocations: 3.35 MB / 0.5157 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.4987, allocations: 340.1 kB / 0.516 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.5009, allocations: 453 kB / 0.5165 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/0.5341, allocations: 17.62 MB / 0.5337 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/0.5344, allocations: 78.7 kB / 0.5338 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008562/0.5353, allocations: 219.3 kB / 0.534 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004863/0.5401, allocations: 3.711 MB / 0.5376 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/0.5699, allocations: 15.35 MB / 0.5526 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/0.674, allocations: 67.31 MB / 0.6183 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/0.6983, allocations: 6.542 MB / 0.6247 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/0.7047, allocations: 3.206 MB / 0.6278 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02785/0.7326, allocations: 11.68 MB / 0.6392 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.7326, allocations: 67.59 kB / 0.6393 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=373): time 7.635e-06/0.7327, allocations: 0 / 0.6393 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=420): time 0.07593/0.8086, allocations: 26.43 MB / 0.6651 GB, free: 8.605 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.8087, allocations: 196.9 kB / 0.6653 GB, free: 8.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009864/0.8186, allocations: 5.881 MB / 0.671 GB, free: 2.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007823/0.8194, allocations: 85.7 kB / 0.6711 GB, free: 2.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004208/0.8236, allocations: 5.004 MB / 0.676 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002362/0.8259, allocations: 1.62 MB / 0.6776 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003529/0.8295, allocations: 2.162 MB / 0.6797 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8296, allocations: 305.1 kB / 0.68 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006605/0.8362, allocations: 3.605 MB / 0.6835 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2665/1.103, allocations: 9.622 MB / 0.6929 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0229/1.126, allocations: 14.45 MB / 0.707 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002913/1.126, allocations: 58.56 kB / 0.7071 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.04334/1.169, allocations: 13.33 MB / 0.7201 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003961/1.17, allocations: 97.25 kB / 0.7202 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000628/1.17, allocations: 210.2 kB / 0.7204 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/1.173, allocations: 0.5907 MB / 0.721 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01704/1.19, allocations: 2.462 MB / 0.7234 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/1.201, allocations: 4.881 MB / 0.7281 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01395/1.215, allocations: 0.4893 MB / 0.7286 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002981/1.218, allocations: 0.629 MB / 0.7292 GB, free: 153.7 MB / 0.5606 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.009867/1.228, allocations: 3.516 MB / 0.7327 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.23, allocations: 0.5379 MB / 0.7332 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.24, allocations: 5.136 MB / 0.7382 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.95e-05/1.24, allocations: 75.38 kB / 0.7383 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/1.24, allocations: 7.625 kB / 0.7383 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.173e-05/1.241, allocations: 20.25 kB / 0.7383 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/1.272, allocations: 17.81 MB / 0.7557 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/1.272, allocations: 22.62 kB / 0.7557 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003029/1.275, allocations: 0.68 MB / 0.7564 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/1.276, allocations: 349.5 kB / 0.7567 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/1.276, allocations: 98.69 kB / 0.7568 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/1.281, allocations: 6.28 MB / 0.7629 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/1.281, allocations: 35.81 kB / 0.763 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.292, allocations: 9.681 MB / 0.7724 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.294, allocations: 0.9444 MB / 0.7734 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009291/1.295, allocations: 100.8 kB / 0.7734 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.298, allocations: 161.5 kB / 0.7736 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004919/1.298, allocations: 330.7 kB / 0.7739 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.299, allocations: 136.8 kB / 0.774 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00483/1.304, allocations: 3.386 MB / 0.7774 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/1.304, allocations: 0 / 0.7774 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008846/1.312, allocations: 1.579 MB / 0.7789 GB, free: 122.1 MB / 0.5606 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.0007736/1.313, allocations: 271.3 kB / 0.7792 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.326, allocations: 8.447 MB / 0.7874 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.343e-05/1.326, allocations: 6 kB / 0.7874 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004235/1.33, allocations: 2.939 MB / 0.7903 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/1.336, allocations: 0.671 MB / 0.7909 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/1.362, allocations: 15.97 MB / 0.8065 GB, free: 94.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005839/1.368, allocations: 4.445 MB / 0.8109 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007042/1.375, allocations: 3.102 MB / 0.8139 GB, free: 86.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.376, allocations: 428.3 kB / 0.8143 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.984e-06/1.376, allocations: 4 kB / 0.8143 GB, free: 86.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09028/1.467, allocations: 50.94 MB / 0.8641 GB, free: 36.24 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.076543748029508] Failed to read output from testmodel.py, exit status != 0: 1.476467879023403 1.486084564 1.046034585 Calling exit ...