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.0009724/0.0009724, allocations: 93.06 kB / 19.65 MB, free: 280 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.001089/0.001089, allocations: 169.3 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.9847/0.9847, 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.02861/0.02861, allocations: 7.184 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.493e-06/1.493e-06, allocations: 0 / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.178e-05, allocations: 2.312 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.008317/0.008338, allocations: 12.52 MB / 351.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.01458, allocations: 3.563 MB / 355 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.01596, allocations: 63.75 kB / 355 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.01735, allocations: 0.8 MB / 355.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.02147, allocations: 2.169 MB / 358 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.02189, allocations: 143.7 kB / 358.1 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003804/0.02569, allocations: 4.179 MB / 362.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.02754, allocations: 2.125 MB / 364.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.02947, allocations: 2.162 MB / 366.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.0312, allocations: 2.057 MB / 368.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.03162, allocations: 324 kB / 369 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.03287, allocations: 0.9129 MB / 369.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.03456, allocations: 1.99 MB / 371.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.03562, allocations: 1.249 MB / 373.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005014/0.04064, allocations: 4.917 MB / 378 MB, free: 2.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.04064, allocations: 0 / 378 MB, free: 2.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.04064, allocations: 0 / 378 MB, free: 2.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001386/0.04078, allocations: 0 / 378 MB, free: 2.883 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.01476/0.05554, allocations: 7.631 MB / 385.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.05559, allocations: 12.61 kB / 385.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006798/0.06239, allocations: 3.929 MB / 389.6 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.06526, allocations: 2.036 MB / 391.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.06541, allocations: 238.2 kB / 391.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009596/0.06637, allocations: 311.8 kB / 392.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.07903, allocations: 7.57 MB / 399.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.07914, allocations: 59.5 kB / 399.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.07963, allocations: 155.8 kB / 400 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.08255, allocations: 3.084 MB / 403 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.09402, allocations: 4.138 MB / 407.2 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1795/0.2736, allocations: 54.02 MB / 461.2 MB, free: 22.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.279, allocations: 1.812 MB / 463 MB, free: 22.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008355/0.2798, allocations: 0.591 MB / 463.6 MB, free: 22.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006514/0.2863, allocations: 5.4 MB / 469 MB, free: 18.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2863, allocations: 50.39 kB / 469.1 MB, free: 18.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=202): time 5.18e-06/0.2863, allocations: 0 / 469.1 MB, free: 18.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=211): time 0.009884/0.2962, allocations: 7.79 MB / 476.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2963, allocations: 145.8 kB / 477 MB, free: 11.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.2999, allocations: 4.179 MB / 481.2 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/0.3, allocations: 53.7 kB / 481.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.3016, allocations: 4.3 MB / 485.5 MB, free: 2.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/0.3021, allocations: 0.9018 MB / 486.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.3033, allocations: 1.752 MB / 488.2 MB, free: 292 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.3034, allocations: 479.8 kB / 488.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3049, allocations: 0.7612 MB / 489.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/0.3105, allocations: 8.299 MB / 497.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008225/0.3187, allocations: 10 MB / 0.4958 GB, free: 6.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/0.3189, allocations: 52 kB / 0.4959 GB, free: 5.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=1054) (initialization): time 0.01079/0.3297, allocations: 6.678 MB / 0.5024 GB, free: 15.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.3298, allocations: 80 kB / 0.5025 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/0.3299, allocations: 184 kB / 0.5026 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.3301, allocations: 239.9 kB / 0.5029 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/0.3333, allocations: 1.848 MB / 0.5047 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002321/0.3335, allocations: 358.6 kB / 0.505 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.3365, allocations: 378.7 kB / 0.5054 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/0.3369, allocations: 0.4962 MB / 0.5058 GB, free: 11.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1004): * Single equations (assignments): 997 * 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.001358/0.3383, allocations: 0.8051 MB / 0.5066 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.3388, allocations: 434.2 kB / 0.507 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.3402, allocations: 1.095 MB / 0.5081 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.231e-05/0.3403, allocations: 35.98 kB / 0.5082 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3403, allocations: 4 kB / 0.5082 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3403, allocations: 7.969 kB / 0.5082 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008336/0.3486, allocations: 5.552 MB / 0.5136 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.3487, allocations: 13 kB / 0.5136 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006874/0.3494, allocations: 303.5 kB / 0.5139 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.3495, allocations: 43.17 kB / 0.5139 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.3496, allocations: 55.89 kB / 0.514 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000878/0.3505, allocations: 1.755 MB / 0.5157 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/0.3505, allocations: 24 kB / 0.5157 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.3536, allocations: 2.653 MB / 0.5183 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.3545, allocations: 0.5336 MB / 0.5188 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.3547, allocations: 43.98 kB / 0.5189 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.3554, allocations: 67.95 kB / 0.5189 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.3556, allocations: 156.1 kB / 0.5191 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.3557, allocations: 75.58 kB / 0.5192 GB, free: 13.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002128/0.3578, allocations: 1.7 MB / 0.5208 GB, free: 11.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3578, allocations: 0 / 0.5208 GB, free: 11.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004432/0.3623, allocations: 1.074 MB / 0.5219 GB, free: 10.72 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.0003469/0.3626, allocations: 194.2 kB / 0.5221 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00507/0.3677, allocations: 3.402 MB / 0.5254 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.3677, allocations: 4.062 kB / 0.5254 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.3686, allocations: 0.7186 MB / 0.5261 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.3701, allocations: 450.6 kB / 0.5265 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3825, allocations: 8.834 MB / 0.5351 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.3839, allocations: 1.441 MB / 0.5365 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004177/0.3881, allocations: 2.089 MB / 0.5386 GB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.3886, allocations: 280.4 kB / 0.5389 GB, free: 8.992 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/0.3886, allocations: 4 kB / 0.5389 GB, free: 8.988 MB / 410.7 MB Notification: Performance of Templates: time 0.1801/0.5687, allocations: 25.49 MB / 0.5638 GB, free: 129.3 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: 3.9830222241580486]