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.001414/0.001414, 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.001558/0.001558, 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.441 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.0501/0.0501, allocations: 7.186 MB / 266.7 MB, free: 5.926 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.433e-06/1.433e-06, allocations: 0 / 338.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.731e-05, allocations: 2.312 kB / 338.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.017/0.01704, allocations: 11.32 MB / 349.5 MB, free: 372 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009238/0.02628, allocations: 3.465 MB / 352.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.02864, allocations: 59.81 kB / 353 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.03073, allocations: 0.7922 MB / 353.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006628/0.03736, allocations: 2.161 MB / 355.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.03803, allocations: 135.7 kB / 356.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006615/0.04465, allocations: 4.186 MB / 360.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.04848, allocations: 2.137 MB / 362.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004109/0.05259, allocations: 2.147 MB / 364.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.05666, allocations: 2.057 MB / 366.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.05766, allocations: 320 kB / 366.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.06001, allocations: 0.905 MB / 367.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002337/0.06235, allocations: 1.978 MB / 369.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.06455, allocations: 1.257 MB / 371 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.07616, allocations: 7.528 MB / 378.6 MB, free: 3.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.07617, allocations: 0 / 378.6 MB, free: 3.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.07617, allocations: 4 kB / 378.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00028/0.07645, allocations: 4 kB / 378.6 MB, free: 3.117 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.02783/0.1043, allocations: 7.189 MB / 385.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1043, allocations: 8.625 kB / 385.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.1184, allocations: 4.058 MB / 389.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.1243, allocations: 2.056 MB / 391.9 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.1246, allocations: 238.1 kB / 392.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.1256, allocations: 315.8 kB / 392.4 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/0.1526, allocations: 13.47 MB / 405.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.1528, allocations: 51.52 kB / 406 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.1538, allocations: 155.8 kB / 406.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006128/0.16, allocations: 3.092 MB / 409.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/0.1894, allocations: 11.9 MB / 421.1 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2791/0.4685, allocations: 44.66 MB / 465.8 MB, free: 99.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/0.4901, allocations: 2.912 MB / 468.7 MB, free: 99.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/0.4941, allocations: 1.299 MB / 470 MB, free: 98.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02272/0.5168, allocations: 6.049 MB / 476 MB, free: 96.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.5168, allocations: 55.91 kB / 476.1 MB, free: 96.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=202): time 9.168e-06/0.5169, allocations: 0 / 476.1 MB, free: 96.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=211): time 0.02448/0.5413, allocations: 10.54 MB / 486.6 MB, free: 91.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.5414, allocations: 145.6 kB / 486.8 MB, free: 91.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00787/0.5493, allocations: 4.613 MB / 491.4 MB, free: 89.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002953/0.5496, allocations: 56.3 kB / 491.4 MB, free: 89.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002566/0.5521, allocations: 4.126 MB / 495.6 MB, free: 86.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009852/0.5531, allocations: 0.8526 MB / 496.4 MB, free: 85.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002989/0.5561, allocations: 1.611 MB / 498 MB, free: 85.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.5561, allocations: 304.7 kB / 498.3 MB, free: 84.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.5596, allocations: 2.247 MB / 0.4888 GB, free: 84.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007486/0.567, allocations: 7.337 MB / 0.496 GB, free: 76.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.5784, allocations: 10.4 MB / 0.5061 GB, free: 67.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000242/0.5787, allocations: 55.72 kB / 0.5062 GB, free: 67.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.01619/0.5949, allocations: 9.603 MB / 0.5156 GB, free: 61.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.5951, allocations: 84.84 kB / 0.5157 GB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000343/0.5955, allocations: 180 kB / 0.5158 GB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.5958, allocations: 236 kB / 0.5161 GB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005374/0.6012, allocations: 1.862 MB / 0.5179 GB, free: 58.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003059/0.6015, allocations: 348.3 kB / 0.5182 GB, free: 58.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005428/0.6069, allocations: 376.4 kB / 0.5186 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009229/0.6078, allocations: 0.5019 MB / 0.5191 GB, free: 57.77 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.003855/0.6117, allocations: 2.658 MB / 0.5217 GB, free: 55.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009935/0.6127, allocations: 432.9 kB / 0.5221 GB, free: 54.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.6158, allocations: 1.883 MB / 0.5239 GB, free: 53.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.616, allocations: 31.8 kB / 0.5239 GB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.616, allocations: 7.938 kB / 0.5239 GB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.616, allocations: 10.83 kB / 0.524 GB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.6277, allocations: 6.412 MB / 0.5302 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.6277, allocations: 12 kB / 0.5302 GB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6288, allocations: 298.1 kB / 0.5305 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001643/0.629, allocations: 43.23 kB / 0.5306 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.6291, allocations: 60.77 kB / 0.5306 GB, free: 47.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007499/0.6299, allocations: 1.262 MB / 0.5318 GB, free: 46.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.6299, allocations: 19.94 kB / 0.5319 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004845/0.6347, allocations: 4.344 MB / 0.5361 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.6362, allocations: 0.5415 MB / 0.5366 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008388/0.6371, allocations: 51.86 kB / 0.5367 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.6387, allocations: 71.36 kB / 0.5368 GB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.639, allocations: 158.4 kB / 0.5369 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.6391, allocations: 87.61 kB / 0.537 GB, free: 41.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004177/0.6433, allocations: 2.592 MB / 0.5395 GB, free: 38.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6433, allocations: 0 / 0.5395 GB, free: 38.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006872/0.6502, allocations: 1.07 MB / 0.5406 GB, free: 37.86 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.0006491/0.6508, allocations: 199.7 kB / 0.5408 GB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007989/0.6588, allocations: 5.014 MB / 0.5456 GB, free: 33.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/0.6588, allocations: 256 / 0.5456 GB, free: 33.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.6606, allocations: 1.153 MB / 0.5468 GB, free: 31.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/0.6645, allocations: 452.2 kB / 0.5472 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.6825, allocations: 10.54 MB / 0.5575 GB, free: 20.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/0.6879, allocations: 3.257 MB / 0.5607 GB, free: 17.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005167/0.6931, allocations: 2.358 MB / 0.563 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.6939, allocations: 288.4 kB / 0.5633 GB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6939, allocations: 0 / 0.5633 GB, free: 14.83 MB / 410.7 MB Notification: Performance of Templates: time 0.05886/0.7528, allocations: 24.48 MB / 0.5872 GB, free: 6.977 MB / 426.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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.SpurGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.923661584965885]