Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.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.001302/0.001302, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001056/0.001056, allocations: 173 kB / 23.49 MB, free: 1.059 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.03025/0.03025, allocations: 7.169 MB / 267.5 MB, free: 5.992 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.SpurGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear") translateModel(PlanarMechanics.GearComponents.Examples.SpurGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 338.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.501e-05, allocations: 2.312 kB / 338.9 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.009758/0.009783, allocations: 12.49 MB / 351.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.01579, allocations: 3.535 MB / 354.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.01682, allocations: 63.81 kB / 355 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.01799, allocations: 0.8 MB / 355.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.02056, allocations: 2.165 MB / 357.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.02082, allocations: 147.7 kB / 358.1 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.02359, allocations: 4.167 MB / 362.3 MB, free: 4.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.02512, allocations: 2.137 MB / 364.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.02678, allocations: 2.147 MB / 366.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.0284, allocations: 2.061 MB / 368.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.02871, allocations: 320 kB / 368.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.02967, allocations: 0.9128 MB / 369.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.03076, allocations: 1.994 MB / 371.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.03182, allocations: 1.249 MB / 373.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.03536, allocations: 4.921 MB / 378 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03536, allocations: 0 / 378 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03536, allocations: 0 / 378 MB, free: 4.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.03543, allocations: 0 / 378 MB, free: 4.312 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.0127/0.04813, allocations: 7.627 MB / 385.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.04817, allocations: 8.625 kB / 385.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.06234, allocations: 3.929 MB / 389.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.06665, allocations: 1.945 MB / 391.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.06689, allocations: 234.2 kB / 391.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.06791, allocations: 315.8 kB / 392 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.08213, allocations: 7.574 MB / 399.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-05/0.08222, allocations: 55.5 kB / 399.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.08262, allocations: 163.8 kB / 399.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.08561, allocations: 3.084 MB / 402.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009491/0.0951, allocations: 4.142 MB / 407.1 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1718/0.2669, allocations: 54 MB / 461.1 MB, free: 88.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.2727, allocations: 1.795 MB / 462.8 MB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008872/0.2735, allocations: 0.5957 MB / 463.4 MB, free: 88.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006392/0.2799, allocations: 5.399 MB / 468.8 MB, free: 86.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.28, allocations: 55.33 kB / 468.9 MB, free: 86.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=202): time 4.759e-06/0.28, allocations: 0 / 468.9 MB, free: 86.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=211): time 0.01014/0.2901, allocations: 7.784 MB / 476.7 MB, free: 83.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.2902, allocations: 149.2 kB / 476.8 MB, free: 83.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.2939, allocations: 4.172 MB / 481 MB, free: 82.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.2941, allocations: 52.02 kB / 481 MB, free: 82.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.2955, allocations: 4.306 MB / 485.4 MB, free: 79.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.2961, allocations: 0.8975 MB / 486.3 MB, free: 78.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.2973, allocations: 1.75 MB / 488 MB, free: 77.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.2974, allocations: 479.3 kB / 488.5 MB, free: 77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2986, allocations: 0.7607 MB / 489.2 MB, free: 76.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/0.3018, allocations: 8.284 MB / 497.5 MB, free: 66.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0065/0.3083, allocations: 9.972 MB / 0.4956 GB, free: 55.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/0.3085, allocations: 51.34 kB / 0.4956 GB, free: 55.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.008684/0.3172, allocations: 6.662 MB / 0.5021 GB, free: 52.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.3173, allocations: 83.94 kB / 0.5022 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.3174, allocations: 177.9 kB / 0.5024 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.3176, allocations: 239.3 kB / 0.5026 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.3206, allocations: 1.845 MB / 0.5044 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001584/0.3207, allocations: 357.1 kB / 0.5048 GB, free: 52.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.324, allocations: 376.1 kB / 0.5051 GB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000513/0.3245, allocations: 0.4979 MB / 0.5056 GB, free: 52.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 24 (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],gearB_Bearing.cylinderColor[3],gearB_Bearing.cylinderColor[2],gearB_Bearing.cylinderColor[1],gearB.sphereColor[3],gearB.sphereColor[2],gearB.sphereColor[1],gearA.sphereColor[3],gearA.sphereColor[2],gearA.sphereColor[1],gearA_Bearing.cylinderColor[3],gearA_Bearing.cylinderColor[2],gearA_Bearing.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1002): * Single equations (assignments): 995 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001732/0.3262, allocations: 0.8062 MB / 0.5064 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000541/0.3268, allocations: 429.5 kB / 0.5068 GB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.3284, allocations: 1.098 MB / 0.5079 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.662e-05/0.3285, allocations: 35.75 kB / 0.5079 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3285, allocations: 3.094 kB / 0.5079 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.3285, allocations: 6.656 kB / 0.5079 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/0.3358, allocations: 5.571 MB / 0.5134 GB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.3358, allocations: 16.25 kB / 0.5134 GB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.3364, allocations: 299.9 kB / 0.5137 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.3366, allocations: 39.16 kB / 0.5137 GB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.3367, allocations: 58.11 kB / 0.5138 GB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005821/0.3372, allocations: 1.758 MB / 0.5155 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.3372, allocations: 19.88 kB / 0.5155 GB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.3395, allocations: 2.658 MB / 0.5181 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.3403, allocations: 0.5172 MB / 0.5186 GB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.3405, allocations: 50.77 kB / 0.5186 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.3412, allocations: 65.83 kB / 0.5187 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3413, allocations: 154.2 kB / 0.5189 GB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.3414, allocations: 78.28 kB / 0.5189 GB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001842/0.3433, allocations: 1.697 MB / 0.5206 GB, free: 39.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 4.031 kB / 0.5206 GB, free: 39.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004236/0.3475, allocations: 1.079 MB / 0.5216 GB, free: 38.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 2 (constantSpeed.phi,gearB.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 (163): * Single equations (assignments): 155 * Array equations: 7 * 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 {(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.0003197/0.3478, allocations: 189.5 kB / 0.5218 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.3525, allocations: 3.39 MB / 0.5251 GB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3525, allocations: 0 / 0.5251 GB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.3534, allocations: 0.7212 MB / 0.5258 GB, free: 34.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.3553, allocations: 468.4 kB / 0.5263 GB, free: 33.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.3658, allocations: 8.827 MB / 0.5349 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.3674, allocations: 1.457 MB / 0.5363 GB, free: 24.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003403/0.3708, allocations: 2.075 MB / 0.5384 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.3714, allocations: 282.6 kB / 0.5386 GB, free: 22.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.755e-06/0.3714, allocations: 0 / 0.5386 GB, free: 22.86 MB / 410.7 MB Notification: Performance of Templates: time 0.03868/0.4101, allocations: 24.35 MB / 0.5624 GB, free: 0.6953 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.sim & ./PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.182602225104347]