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.00136/0.00136, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001542/0.001542, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.04924/0.04924, allocations: 7.183 MB / 266.7 MB, free: 6.094 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.693e-06/1.693e-06, allocations: 0 / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.689e-05, allocations: 5.922 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01672/0.01676, allocations: 16.07 MB / 354.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.03098, allocations: 5.418 MB / 359.6 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/0.03493, allocations: 107.6 kB / 359.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.04026, allocations: 1.835 MB / 361.6 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.05098, allocations: 3.153 MB / 364.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.0539, allocations: 0.7798 MB / 365.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.06702, allocations: 7.258 MB / 372.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008276/0.0753, allocations: 4.06 MB / 376.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009635/0.08494, allocations: 3.434 MB / 380.3 MB, free: 256 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006902/0.09184, allocations: 3.019 MB / 383.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001911/0.09375, allocations: 0.5508 MB / 383.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.09785, allocations: 1.358 MB / 385.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004513/0.1024, allocations: 2.839 MB / 388 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004546/0.1069, allocations: 1.912 MB / 389.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.1264, allocations: 11.34 MB / 401.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1264, allocations: 0 / 401.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1264, allocations: 0 / 401.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004326/0.1268, allocations: 0 / 401.3 MB, free: 11.17 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2460 * Number of variables: 2460 Notification: Performance of Generate backend data structure: time 0.212/0.3388, allocations: 11.16 MB / 412.4 MB, free: 72.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.3388, allocations: 10.38 kB / 412.4 MB, free: 72.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.3558, allocations: 4.504 MB / 416.9 MB, free: 72.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/0.3637, allocations: 3.384 MB / 420.3 MB, free: 71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.364, allocations: 334.6 kB / 420.6 MB, free: 70.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.366, allocations: 452.6 kB / 421.1 MB, free: 70.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/0.3922, allocations: 17.64 MB / 438.7 MB, free: 52.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/0.3924, allocations: 84.02 kB / 438.8 MB, free: 52.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007059/0.3931, allocations: 225.3 kB / 439 MB, free: 52.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.3976, allocations: 3.705 MB / 442.7 MB, free: 48.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/0.4259, allocations: 15.39 MB / 458.1 MB, free: 33.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0973/0.5232, allocations: 67.57 MB / 0.5134 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02554/0.5487, allocations: 6.437 MB / 0.5197 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00742/0.5561, allocations: 3.234 MB / 0.5228 GB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03173/0.5879, allocations: 11.84 MB / 0.5344 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/0.588, allocations: 72.81 kB / 0.5344 GB, free: 6.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=373): time 8.405e-06/0.588, allocations: 0 / 0.5344 GB, free: 6.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=420): time 0.2312/0.8192, allocations: 26.65 MB / 0.5605 GB, free: 139 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.8193, allocations: 195.4 kB / 0.5607 GB, free: 138.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/0.8299, allocations: 6.006 MB / 0.5665 GB, free: 136.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008425/0.8307, allocations: 81.3 kB / 0.5666 GB, free: 136.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003168/0.8339, allocations: 4.992 MB / 0.5715 GB, free: 133.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001998/0.8359, allocations: 1.589 MB / 0.573 GB, free: 132.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/0.839, allocations: 2.141 MB / 0.5751 GB, free: 131 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.839, allocations: 301.1 kB / 0.5754 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/0.8446, allocations: 3.628 MB / 0.5789 GB, free: 129.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008712/0.8533, allocations: 9.637 MB / 0.5884 GB, free: 120.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/0.8689, allocations: 14.47 MB / 0.6025 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002307/0.8691, allocations: 60 kB / 0.6025 GB, free: 105.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1404) (initialization): time 0.02512/0.8942, allocations: 13.93 MB / 0.6162 GB, free: 92.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.8946, allocations: 96 kB / 0.6162 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004299/0.895, allocations: 211.9 kB / 0.6164 GB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.8966, allocations: 0.6207 MB / 0.6171 GB, free: 91.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008859/0.9055, allocations: 2.468 MB / 0.6195 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.9118, allocations: 4.916 MB / 0.6243 GB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009134/0.9209, allocations: 0.5424 MB / 0.6248 GB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002216/0.9231, allocations: 0.6288 MB / 0.6254 GB, free: 82.49 MB / 410.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 (1313): * Single equations (assignments): 1304 * 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.006474/0.9296, allocations: 3.517 MB / 0.6288 GB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002171/0.9318, allocations: 0.6449 MB / 0.6295 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008123/0.9399, allocations: 5.15 MB / 0.6345 GB, free: 73.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-05/0.94, allocations: 75.81 kB / 0.6346 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/0.94, allocations: 8 kB / 0.6346 GB, free: 73.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/0.94, allocations: 19.94 kB / 0.6346 GB, free: 73.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/0.9684, allocations: 17.9 MB / 0.6521 GB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-05/0.9684, allocations: 26.81 kB / 0.6521 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/0.9713, allocations: 0.6787 MB / 0.6528 GB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009959/0.9723, allocations: 378.5 kB / 0.6531 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003354/0.9726, allocations: 103.6 kB / 0.6532 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.9779, allocations: 6.288 MB / 0.6594 GB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/0.9779, allocations: 37.31 kB / 0.6594 GB, free: 47.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.989, allocations: 9.743 MB / 0.6689 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002998/0.992, allocations: 0.9804 MB / 0.6699 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/0.9936, allocations: 95.98 kB / 0.67 GB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/0.9969, allocations: 195.6 kB / 0.6702 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.9974, allocations: 329 kB / 0.6705 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/0.9977, allocations: 140 kB / 0.6706 GB, free: 35.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004225/1.002, allocations: 3.463 MB / 0.674 GB, free: 31.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/1.002, allocations: 0 / 0.674 GB, free: 31.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007625/1.01, allocations: 1.637 MB / 0.6756 GB, free: 29.98 MB / 410.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.0005683/1.01, allocations: 286 kB / 0.6759 GB, free: 29.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/1.022, allocations: 8.479 MB / 0.6841 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.686e-05/1.022, allocations: 4 kB / 0.6841 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004248/1.026, allocations: 2.937 MB / 0.687 GB, free: 18.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004894/1.031, allocations: 0.7238 MB / 0.6877 GB, free: 17.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1709/1.202, allocations: 16.01 MB / 0.7033 GB, free: 115.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008454/1.211, allocations: 4.444 MB / 0.7077 GB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008764/1.219, allocations: 3.116 MB / 0.7107 GB, free: 115 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.221, allocations: 433.5 kB / 0.7111 GB, free: 115 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/1.221, allocations: 0 / 0.7111 GB, free: 115 MB / 410.7 MB Notification: Performance of Templates: time 0.09603/1.317, allocations: 52.14 MB / 0.7621 GB, free: 79.79 MB / 410.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: 8.123957203002647]