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.0009658/0.0009658, allocations: 92.22 kB / 19.65 MB, free: 276 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.001013/0.001013, allocations: 169 kB / 23.02 MB, free: 1.547 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.9511/0.9511, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03047/0.03047, allocations: 7.187 MB / 267.1 MB, free: 6.062 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.482e-06/1.482e-06, allocations: 0 / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.548e-05, allocations: 2.312 kB / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.01545/0.01548, allocations: 12.52 MB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006279/0.02176, allocations: 3.551 MB / 354.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.02294, allocations: 63.75 kB / 355 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.02426, allocations: 0.7961 MB / 355.8 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.02773, allocations: 2.169 MB / 358 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.02806, allocations: 143.7 kB / 358.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.0314, allocations: 4.188 MB / 362.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.03348, allocations: 2.137 MB / 364.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.03555, allocations: 2.151 MB / 366.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.03731, allocations: 2.061 MB / 368.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.0377, allocations: 320 kB / 369 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.03884, allocations: 0.909 MB / 369.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.04021, allocations: 1.99 MB / 371.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.04123, allocations: 1.249 MB / 373.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.04528, allocations: 4.921 MB / 378 MB, free: 2.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.04529, allocations: 0 / 378 MB, free: 2.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.04529, allocations: 4 kB / 378 MB, free: 2.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.167e-05/0.04535, allocations: 0 / 378 MB, free: 2.867 MB / 298.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.01299/0.05834, allocations: 7.623 MB / 385.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.05838, allocations: 12.62 kB / 385.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006712/0.0651, allocations: 3.933 MB / 389.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.06779, allocations: 1.941 MB / 391.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.06792, allocations: 242.1 kB / 391.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.06835, allocations: 315.8 kB / 392.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.07852, allocations: 7.566 MB / 399.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.309e-05/0.07861, allocations: 47.58 kB / 399.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.07896, allocations: 159.8 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/0.0819, allocations: 3.084 MB / 402.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.09236, allocations: 4.142 MB / 407.1 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1695/0.2619, allocations: 54.01 MB / 461.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005393/0.2673, allocations: 1.8 MB / 462.9 MB, free: 22.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.2682, allocations: 0.5937 MB / 463.5 MB, free: 22.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00644/0.2746, allocations: 5.401 MB / 468.9 MB, free: 18.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2746, allocations: 57.67 kB / 469 MB, free: 18.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=202): time 3.807e-06/0.2746, allocations: 0 / 469 MB, free: 18.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=211): time 0.01013/0.2848, allocations: 7.772 MB / 476.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2848, allocations: 153.8 kB / 476.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.2892, allocations: 4.173 MB / 481 MB, free: 7.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.2893, allocations: 53.53 kB / 481.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.2907, allocations: 4.297 MB / 485.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.2912, allocations: 0.9043 MB / 486.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.2925, allocations: 1.749 MB / 488 MB, free: 292 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.2926, allocations: 476.8 kB / 488.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.294, allocations: 0.7604 MB / 489.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/0.2995, allocations: 8.286 MB / 497.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007797/0.3073, allocations: 9.971 MB / 0.4956 GB, free: 6.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.3074, allocations: 52 kB / 0.4957 GB, free: 6.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.009464/0.3169, allocations: 6.657 MB / 0.5022 GB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.3169, allocations: 84 kB / 0.5023 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/0.3171, allocations: 184.2 kB / 0.5024 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.3173, allocations: 236 kB / 0.5027 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.3207, allocations: 1.86 MB / 0.5045 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.3209, allocations: 350.7 kB / 0.5048 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.3236, allocations: 367.7 kB / 0.5052 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004466/0.3241, allocations: 0.4986 MB / 0.5057 GB, free: 11.86 MB / 378.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.00171/0.3258, allocations: 0.8051 MB / 0.5064 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008403/0.3266, allocations: 433.4 kB / 0.5069 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.3283, allocations: 1.097 MB / 0.5079 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.221e-05/0.3284, allocations: 31.98 kB / 0.508 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.3284, allocations: 8.797 kB / 0.508 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3284, allocations: 7.969 kB / 0.508 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/0.337, allocations: 5.569 MB / 0.5134 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.337, allocations: 16 kB / 0.5134 GB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.3377, allocations: 303.5 kB / 0.5137 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.3379, allocations: 44.27 kB / 0.5138 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.338, allocations: 51.98 kB / 0.5138 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/0.3389, allocations: 1.754 MB / 0.5155 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.339, allocations: 15.94 kB / 0.5155 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.3419, allocations: 2.659 MB / 0.5181 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/0.3427, allocations: 0.5129 MB / 0.5186 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.343, allocations: 59.75 kB / 0.5187 GB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.3436, allocations: 67.94 kB / 0.5188 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3438, allocations: 148.1 kB / 0.5189 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9e-05/0.3439, allocations: 83.97 kB / 0.519 GB, free: 13.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.3459, allocations: 1.699 MB / 0.5206 GB, free: 11.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3459, allocations: 3.719 kB / 0.5206 GB, free: 11.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003891/0.3498, allocations: 1.066 MB / 0.5217 GB, free: 10.8 MB / 394.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.0003202/0.3501, allocations: 194.2 kB / 0.5219 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004775/0.3549, allocations: 3.387 MB / 0.5252 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.3549, allocations: 4 kB / 0.5252 GB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.3557, allocations: 0.7264 MB / 0.5259 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.3572, allocations: 453.9 kB / 0.5263 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.3682, allocations: 8.847 MB / 0.535 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.3695, allocations: 1.441 MB / 0.5364 GB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003286/0.3728, allocations: 2.077 MB / 0.5384 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.3732, allocations: 288.4 kB / 0.5387 GB, free: 9.074 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3732, allocations: 0 / 0.5387 GB, free: 9.074 MB / 410.7 MB Notification: Performance of Templates: time 0.1709/0.5441, allocations: 24.36 MB / 0.5625 GB, free: 129.9 MB / 410.7 MB " [Timeout remaining time 659] 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.220638156868517]