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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 103.7 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04829/0.04829, allocations: 9.261 MB / 311.9 MB, free: 0.7812 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001932/0.001932, allocations: 67.89 kB / 434.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 54.27 MB / 488.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.01499/0.1239, allocations: 12.98 MB / 0.49 GB, free: 10.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.1324, allocations: 3.59 MB / 0.4935 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1348, allocations: 59.88 kB / 0.4936 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1373, allocations: 0.7807 MB / 0.4944 GB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.1437, allocations: 2.089 MB / 0.4964 GB, free: 3.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1447, allocations: 151.8 kB / 0.4965 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007372/0.1521, allocations: 4.099 MB / 0.5005 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/0.1558, allocations: 1.783 MB / 0.5023 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.1586, allocations: 1.404 MB / 0.5037 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.1626, allocations: 2.218 MB / 0.5058 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.1642, allocations: 316 kB / 0.5061 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.1675, allocations: 0.9206 MB / 0.507 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003002/0.1705, allocations: 1.947 MB / 0.5089 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004663/0.1752, allocations: 2.461 MB / 0.5113 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2408/0.416, allocations: 7.689 MB / 0.5188 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.416, allocations: 1.219 kB / 0.5188 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.416, allocations: 0 / 0.5188 GB, free: 14.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003695/0.4164, allocations: 0 / 0.5188 GB, free: 14.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1948 * Number of variables: 1948 Notification: Performance of Generate backend data structure: time 0.03164/0.448, allocations: 7.197 MB / 0.5259 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.4481, allocations: 10.98 kB / 0.5259 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.4618, allocations: 3.291 MB / 0.5291 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005934/0.4677, allocations: 2.083 MB / 0.5311 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.468, allocations: 231.9 kB / 0.5313 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/0.4702, allocations: 315.2 kB / 0.5316 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/0.499, allocations: 13.44 MB / 0.5448 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.4992, allocations: 61.98 kB / 0.5448 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/0.5006, allocations: 157.9 kB / 0.545 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005065/0.5056, allocations: 3.092 MB / 0.548 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02789/0.5335, allocations: 11.93 MB / 0.5597 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08017/0.6137, allocations: 47.89 MB / 0.6064 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.629, allocations: 3.667 MB / 0.61 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.6322, allocations: 1.287 MB / 0.6113 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/0.6508, allocations: 9.22 MB / 0.6203 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.6508, allocations: 59.25 kB / 0.6203 GB, free: 8.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=202): time 8.035e-06/0.6508, allocations: 5.75 kB / 0.6203 GB, free: 8.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=211): time 0.02656/0.6774, allocations: 10.5 MB / 0.6306 GB, free: 14.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6775, allocations: 145.8 kB / 0.6307 GB, free: 14.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/0.6891, allocations: 5.163 MB / 0.6358 GB, free: 9.059 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004223/0.6895, allocations: 48.75 kB / 0.6358 GB, free: 9.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003827/0.6933, allocations: 4.102 MB / 0.6398 GB, free: 4.938 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.6945, allocations: 0.8682 MB / 0.6407 GB, free: 4.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004389/0.6989, allocations: 1.618 MB / 0.6422 GB, free: 2.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.699, allocations: 301.1 kB / 0.6425 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/0.704, allocations: 2.25 MB / 0.6447 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/0.7156, allocations: 7.321 MB / 0.6519 GB, free: 6.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/0.7317, allocations: 10.39 MB / 0.662 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002886/0.732, allocations: 52 kB / 0.6621 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.02133/0.7533, allocations: 9.207 MB / 0.6711 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.7536, allocations: 84 kB / 0.6711 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003388/0.7539, allocations: 180 kB / 0.6713 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.7542, allocations: 240.8 kB / 0.6715 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/0.7607, allocations: 1.844 MB / 0.6733 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004159/0.7611, allocations: 362.5 kB / 0.6737 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/0.7687, allocations: 370.9 kB / 0.674 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/0.7705, allocations: 0.4922 MB / 0.6745 GB, free: 13.05 MB / 0.5137 GB 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 (994): * Single equations (assignments): 987 * 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.006727/0.7772, allocations: 2.654 MB / 0.6771 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/0.7784, allocations: 445 kB / 0.6775 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/0.7836, allocations: 1.966 MB / 0.6795 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001488/0.7837, allocations: 47.91 kB / 0.6795 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.7838, allocations: 0 / 0.6795 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.366e-05/0.7838, allocations: 7.969 kB / 0.6795 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02152/0.8053, allocations: 7.751 MB / 0.6871 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.8053, allocations: 12 kB / 0.6871 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.8067, allocations: 303.5 kB / 0.6874 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.8069, allocations: 40.84 kB / 0.6874 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/0.8072, allocations: 54.41 kB / 0.6875 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.8084, allocations: 1.398 MB / 0.6888 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.139e-05/0.8085, allocations: 23.88 kB / 0.6889 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/0.8157, allocations: 4.407 MB / 0.6932 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/0.8179, allocations: 0.6932 MB / 0.6938 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/0.8192, allocations: 43.98 kB / 0.6939 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/0.8216, allocations: 71.94 kB / 0.694 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.8219, allocations: 150.5 kB / 0.6941 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.8221, allocations: 87.97 kB / 0.6942 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008553/0.8307, allocations: 3.208 MB / 0.6973 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8307, allocations: 0 / 0.6973 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0086/0.8393, allocations: 1.1 MB / 0.6984 GB, free: 4.043 MB / 0.5294 GB 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.0008347/0.8401, allocations: 201.9 kB / 0.6986 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.8517, allocations: 5 MB / 0.7035 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/0.8518, allocations: 0 / 0.7035 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.8544, allocations: 1.162 MB / 0.7046 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007166/0.8616, allocations: 0.5754 MB / 0.7052 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/0.8903, allocations: 10.57 MB / 0.7155 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2642/1.155, allocations: 3.766 MB / 0.7192 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008481/1.163, allocations: 2.449 MB / 0.7216 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.164, allocations: 314.4 kB / 0.7219 GB, free: 187.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/1.164, allocations: 1.562 kB / 0.7219 GB, free: 187.5 MB / 0.545 GB Notification: Performance of Templates: time 0.06833/1.232, allocations: 33.3 MB / 0.7544 GB, free: 170.9 MB / 0.545 GB " [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.947805066592991]