Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00618/0.00618, allocations: 101.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.6 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3302/0.3302, allocations: 37.99 MB / 307.9 MB, free: 10.42 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.89 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.01495/0.294, allocations: 14.2 MB / 0.4919 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.3039, allocations: 4.634 MB / 0.4964 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/0.3083, allocations: 92.88 kB / 0.4965 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008914/0.3173, allocations: 4.229 MB / 0.5006 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.3241, allocations: 2.317 MB / 0.5029 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3265, allocations: 0.9187 MB / 0.5038 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008504/0.335, allocations: 5.86 MB / 0.5095 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007348/0.3424, allocations: 5.24 MB / 0.5146 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.3472, allocations: 2.2 MB / 0.5167 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.3523, allocations: 2.946 MB / 0.5196 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.354, allocations: 492 kB / 0.5201 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.3575, allocations: 1.366 MB / 0.5214 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.3607, allocations: 2.661 MB / 0.524 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00385/0.3646, allocations: 2.995 MB / 0.527 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3754, allocations: 9.543 MB / 0.5363 GB, free: 7.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3754, allocations: 0 / 0.5363 GB, free: 7.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3754, allocations: 0 / 0.5363 GB, free: 7.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003191/0.3758, allocations: 0 / 0.5363 GB, free: 7.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01425/0.39, allocations: 6.33 MB / 0.5425 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3901, allocations: 15.89 kB / 0.5425 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4012, allocations: 2.602 MB / 0.545 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008697/0.41, allocations: 4.051 MB / 0.549 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.4102, allocations: 312.4 kB / 0.5493 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.4115, allocations: 423.8 kB / 0.5497 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4315, allocations: 11.97 MB / 0.5614 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.4316, allocations: 59.56 kB / 0.5614 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004986/0.4321, allocations: 195.8 kB / 0.5616 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003338/0.4355, allocations: 2.199 MB / 0.5638 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.4538, allocations: 10.13 MB / 0.5736 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05677/0.5106, allocations: 46.92 MB / 0.6195 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.5208, allocations: 4.372 MB / 0.6237 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.5243, allocations: 2.522 MB / 0.6262 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2358/0.7601, allocations: 9.969 MB / 0.6359 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.7602, allocations: 57.48 kB / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=190): time 5.651e-06/0.7602, allocations: 0 / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.05749/0.8177, allocations: 20.8 MB / 0.6563 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.8178, allocations: 209 kB / 0.6565 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007383/0.8252, allocations: 4.819 MB / 0.6612 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005124/0.8258, allocations: 59.2 kB / 0.6613 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002175/0.8279, allocations: 3.715 MB / 0.6649 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008138/0.8288, allocations: 0.8092 MB / 0.6657 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/0.8306, allocations: 1.379 MB / 0.667 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.8307, allocations: 309.1 kB / 0.6673 GB, free: 112 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.8344, allocations: 2.555 MB / 0.6698 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005632/0.84, allocations: 6.511 MB / 0.6762 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009098/0.8491, allocations: 9.737 MB / 0.6857 GB, free: 96.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.8493, allocations: 41.22 kB / 0.6857 GB, free: 96.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01551/0.8648, allocations: 10.18 MB / 0.6957 GB, free: 89.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.8649, allocations: 64 kB / 0.6957 GB, free: 89.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.865, allocations: 144 kB / 0.6959 GB, free: 89.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/0.8688, allocations: 1.612 MB / 0.6974 GB, free: 87.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/0.8729, allocations: 1.548 MB / 0.6989 GB, free: 85.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.8828, allocations: 10.01 MB / 0.7087 GB, free: 75.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005403/0.8882, allocations: 387.3 kB / 0.7091 GB, free: 75.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007868/0.8891, allocations: 403.4 kB / 0.7095 GB, free: 74.85 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 823 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003653/0.8927, allocations: 2.568 MB / 0.712 GB, free: 72.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008823/0.8936, allocations: 422.6 kB / 0.7124 GB, free: 71.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/0.9006, allocations: 4.542 MB / 0.7168 GB, free: 67.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.9007, allocations: 24 kB / 0.7168 GB, free: 67.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.9007, allocations: 11.94 kB / 0.7169 GB, free: 67.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.9007, allocations: 11.97 kB / 0.7169 GB, free: 67.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.9163, allocations: 10.27 MB / 0.7269 GB, free: 56.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.9163, allocations: 0 / 0.7269 GB, free: 56.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.9179, allocations: 331.5 kB / 0.7272 GB, free: 56.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/0.9214, allocations: 1.355 MB / 0.7285 GB, free: 55.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.9215, allocations: 39.92 kB / 0.7286 GB, free: 55.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009745/0.9313, allocations: 9.385 MB / 0.7377 GB, free: 45.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9313, allocations: 7.984 kB / 0.7377 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.9415, allocations: 7.472 MB / 0.745 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/0.9438, allocations: 0.7728 MB / 0.7458 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007753/0.9446, allocations: 36 kB / 0.7458 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/0.9463, allocations: 135.8 kB / 0.746 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/0.9467, allocations: 125.1 kB / 0.7461 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.9468, allocations: 56 kB / 0.7461 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003956/0.9508, allocations: 3.041 MB / 0.7491 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9508, allocations: 0 / 0.7491 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006805/0.9576, allocations: 1.253 MB / 0.7503 GB, free: 32.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * 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): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004364/0.9581, allocations: 172.2 kB / 0.7505 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009205/0.9673, allocations: 6.312 MB / 0.7566 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.9673, allocations: 0 / 0.7566 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/0.9705, allocations: 2.156 MB / 0.7588 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.9741, allocations: 0.5437 MB / 0.7593 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.9922, allocations: 11.65 MB / 0.7707 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/0.9963, allocations: 4.003 MB / 0.7746 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004837/1.001, allocations: 2.079 MB / 0.7766 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009753/1.002, allocations: 283.4 kB / 0.7769 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/1.002, allocations: 3.938 kB / 0.7769 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of Templates: time 0.0871/1.089, allocations: 43.75 MB / 0.8196 GB, free: 9.695 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)