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.001843/0.001843, allocations: 108 kB / 16.41 MB, free: 6.492 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.001782/0.001782, allocations: 194.8 kB / 19.36 MB, free: 3.75 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.502/1.502, allocations: 222.9 MB / 245.1 MB, free: 15 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.04788/0.04788, allocations: 9.133 MB / 306.3 MB, free: 3.758 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.003122/0.003122, allocations: 63.91 kB / 423.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1535, allocations: 51.45 MB / 474.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.SpurGear): time 0.01742/0.171, allocations: 12.92 MB / 487.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00913/0.1801, allocations: 3.567 MB / 491.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.1833, allocations: 55.88 kB / 491.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.1862, allocations: 0.7613 MB / 492.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00662/0.1929, allocations: 2.034 MB / 494.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.1938, allocations: 147.8 kB / 494.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006372/0.2002, allocations: 4.104 MB / 498.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.2032, allocations: 1.974 MB / 0.4886 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.2057, allocations: 1.404 MB / 0.49 GB, free: 5.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/0.2087, allocations: 2.024 MB / 0.492 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007673/0.2095, allocations: 316 kB / 0.4923 GB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.2113, allocations: 0.8894 MB / 0.4932 GB, free: 2.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2132, allocations: 1.901 MB / 0.495 GB, free: 312 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.2157, allocations: 2.453 MB / 0.4974 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.2249, allocations: 7.685 MB / 0.5049 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2249, allocations: 0 / 0.5049 GB, free: 6.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2249, allocations: 0 / 0.5049 GB, free: 6.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00021/0.2251, allocations: 0 / 0.5049 GB, free: 6.117 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.2543/0.4795, allocations: 7.194 MB / 0.5119 GB, free: 40.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4795, allocations: 9.062 kB / 0.512 GB, free: 40.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.4926, allocations: 3.297 MB / 0.5152 GB, free: 39.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.4974, allocations: 2.079 MB / 0.5172 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.4977, allocations: 237 kB / 0.5174 GB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.4992, allocations: 308.2 kB / 0.5177 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.5223, allocations: 13.45 MB / 0.5309 GB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.5225, allocations: 57.11 kB / 0.5309 GB, free: 32.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.5236, allocations: 158.9 kB / 0.5311 GB, free: 31.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004335/0.528, allocations: 3.086 MB / 0.5341 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/0.5491, allocations: 11.93 MB / 0.5457 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06852/0.6177, allocations: 47.9 MB / 0.5925 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/0.6308, allocations: 3.781 MB / 0.5962 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.6338, allocations: 1.382 MB / 0.5976 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/0.6506, allocations: 9.226 MB / 0.6066 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.6507, allocations: 43.56 kB / 0.6066 GB, free: 1.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=202): time 3.887e-06/0.6507, allocations: 0 / 0.6066 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=211): time 0.02437/0.6751, allocations: 10.52 MB / 0.6169 GB, free: 7.363 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.6752, allocations: 145.8 kB / 0.617 GB, free: 7.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009659/0.6849, allocations: 5.163 MB / 0.6221 GB, free: 2.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005302/0.6855, allocations: 49.7 kB / 0.6221 GB, free: 1.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004586/0.6901, allocations: 4.095 MB / 0.6261 GB, free: 13.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.6913, allocations: 0.8724 MB / 0.627 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003523/0.6948, allocations: 1.611 MB / 0.6285 GB, free: 11.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.695, allocations: 312.2 kB / 0.6288 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004154/0.6992, allocations: 2.241 MB / 0.631 GB, free: 8.785 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008509/0.7077, allocations: 7.323 MB / 0.6382 GB, free: 14.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01376/0.7215, allocations: 10.39 MB / 0.6483 GB, free: 2.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/0.7217, allocations: 52 kB / 0.6484 GB, free: 1.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.02197/0.7437, allocations: 9.206 MB / 0.6574 GB, free: 8.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.7441, allocations: 84 kB / 0.6574 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003945/0.7445, allocations: 180 kB / 0.6576 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.7449, allocations: 240.8 kB / 0.6578 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006868/0.7518, allocations: 1.844 MB / 0.6596 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/0.7523, allocations: 354.6 kB / 0.66 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/0.759, allocations: 379.5 kB / 0.6603 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/0.7607, allocations: 0.496 MB / 0.6608 GB, free: 5.203 MB / 494.1 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 (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.008172/0.7689, allocations: 2.652 MB / 0.6634 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/0.7704, allocations: 445 kB / 0.6638 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/0.7759, allocations: 1.954 MB / 0.6657 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/0.7761, allocations: 41.06 kB / 0.6658 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/0.7761, allocations: 3.938 kB / 0.6658 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/0.7761, allocations: 7.969 kB / 0.6658 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.7934, allocations: 7.767 MB / 0.6734 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.174e-05/0.7935, allocations: 12.61 kB / 0.6734 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.7948, allocations: 296.3 kB / 0.6737 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/0.795, allocations: 44.84 kB / 0.6737 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.7952, allocations: 51.98 kB / 0.6738 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.7965, allocations: 1.398 MB / 0.6751 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.566e-05/0.7965, allocations: 27.86 kB / 0.6752 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006889/0.8034, allocations: 4.41 MB / 0.6795 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/0.8056, allocations: 0.697 MB / 0.6801 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/0.8068, allocations: 40 kB / 0.6802 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.8089, allocations: 71.94 kB / 0.6803 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.8092, allocations: 152.2 kB / 0.6804 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.8094, allocations: 80.72 kB / 0.6805 GB, free: 464 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007238/0.8166, allocations: 3.211 MB / 0.6836 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8167, allocations: 0 / 0.6836 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008131/0.8248, allocations: 1.101 MB / 0.6847 GB, free: 12.14 MB / 0.5137 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.0007608/0.8256, allocations: 198.5 kB / 0.6849 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.8364, allocations: 5.202 MB / 0.69 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/0.8365, allocations: 0 / 0.69 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.8389, allocations: 1.239 MB / 0.6912 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/0.8444, allocations: 0.559 MB / 0.6917 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/0.8685, allocations: 10.59 MB / 0.7021 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007261/0.8758, allocations: 3.763 MB / 0.7057 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007216/0.883, allocations: 2.448 MB / 0.7081 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.8844, allocations: 315.4 kB / 0.7084 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.8844, allocations: 0 / 0.7084 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of Templates: time 0.3183/1.203, allocations: 32.66 MB / 0.7403 GB, free: 166.5 MB / 0.5294 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: 7.0313611179590225]