Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007041/0.007045, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001496/0.001497, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3639/0.3639, allocations: 38 MB / 307.9 MB, free: 10.16 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.001509/0.001509, allocations: 71.84 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3645, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01603/0.3806, allocations: 14.27 MB / 0.4919 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3934, allocations: 4.664 MB / 0.4965 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004247/0.3977, allocations: 96.38 kB / 0.4966 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007816/0.4056, allocations: 4.214 MB / 0.5007 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.4131, allocations: 2.27 MB / 0.5029 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.4155, allocations: 0.9307 MB / 0.5038 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009228/0.4248, allocations: 5.868 MB / 0.5095 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008674/0.4335, allocations: 5.281 MB / 0.5147 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005572/0.4391, allocations: 2.208 MB / 0.5169 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/0.4452, allocations: 2.926 MB / 0.5197 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.447, allocations: 492 kB / 0.5202 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.4516, allocations: 1.369 MB / 0.5215 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004506/0.4561, allocations: 2.65 MB / 0.5241 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00638/0.4625, allocations: 2.995 MB / 0.527 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.4778, allocations: 9.562 MB / 0.5364 GB, free: 7.602 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4779, allocations: 0 / 0.5364 GB, free: 7.602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4779, allocations: 0 / 0.5364 GB, free: 7.602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004341/0.4783, allocations: 0 / 0.5364 GB, free: 7.602 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01856/0.4969, allocations: 6.338 MB / 0.5426 GB, free: 1.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.497, allocations: 15.89 kB / 0.5426 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.5099, allocations: 2.602 MB / 0.5451 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.5215, allocations: 4.027 MB / 0.5491 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.5219, allocations: 316.5 kB / 0.5494 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.5238, allocations: 427.9 kB / 0.5498 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/0.5552, allocations: 11.98 MB / 0.5615 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003848/0.5557, allocations: 59.44 kB / 0.5615 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/0.5576, allocations: 199.8 kB / 0.5617 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004392/0.562, allocations: 2.199 MB / 0.5639 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.5856, allocations: 10.13 MB / 0.5737 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07142/0.657, allocations: 46.88 MB / 0.6195 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.6687, allocations: 4.352 MB / 0.6238 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/0.6726, allocations: 2.518 MB / 0.6262 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3401/1.013, allocations: 9.975 MB / 0.636 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.013, allocations: 55.73 kB / 0.636 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=191): time 4.368e-06/1.013, allocations: 1.281 kB / 0.636 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.06321/1.076, allocations: 21.42 MB / 0.657 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/1.076, allocations: 200.5 kB / 0.6571 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007185/1.083, allocations: 4.822 MB / 0.6619 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/1.084, allocations: 64.31 kB / 0.6619 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.086, allocations: 3.724 MB / 0.6656 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009278/1.087, allocations: 0.8375 MB / 0.6664 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/1.089, allocations: 1.397 MB / 0.6677 GB, free: 112 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.193e-05/1.089, allocations: 305.1 kB / 0.668 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/1.093, allocations: 2.569 MB / 0.6705 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006036/1.099, allocations: 6.551 MB / 0.6769 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/1.108, allocations: 9.797 MB / 0.6865 GB, free: 96.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001678/1.109, allocations: 39.34 kB / 0.6865 GB, free: 96.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01477/1.123, allocations: 10.24 MB / 0.6965 GB, free: 88.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/1.123, allocations: 72.25 kB / 0.6966 GB, free: 88.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/1.124, allocations: 136 kB / 0.6967 GB, free: 88.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/1.127, allocations: 1.615 MB / 0.6983 GB, free: 86.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/1.132, allocations: 1.575 MB / 0.6998 GB, free: 85.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.142, allocations: 10.25 MB / 0.7099 GB, free: 74.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.149, allocations: 379.4 kB / 0.7102 GB, free: 74.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.15, allocations: 415.9 kB / 0.7106 GB, free: 73.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (835): * Single equations (assignments): 830 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004896/1.155, allocations: 2.573 MB / 0.7131 GB, free: 71.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.157, allocations: 422.5 kB / 0.7135 GB, free: 70.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008236/1.165, allocations: 4.602 MB / 0.718 GB, free: 66.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.165, allocations: 31.92 kB / 0.7181 GB, free: 66.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.165, allocations: 4 kB / 0.7181 GB, free: 66.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/1.165, allocations: 11.97 kB / 0.7181 GB, free: 66.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/1.187, allocations: 10.39 MB / 0.7282 GB, free: 55.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.187, allocations: 0 / 0.7282 GB, free: 55.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.189, allocations: 347.5 kB / 0.7285 GB, free: 55.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/1.193, allocations: 1.352 MB / 0.7299 GB, free: 53.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/1.193, allocations: 39.98 kB / 0.7299 GB, free: 53.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009875/1.203, allocations: 9.399 MB / 0.7391 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.203, allocations: 0 / 0.7391 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.214, allocations: 7.508 MB / 0.7464 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/1.217, allocations: 0.7806 MB / 0.7472 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.219, allocations: 36 kB / 0.7472 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.221, allocations: 135.8 kB / 0.7473 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/1.222, allocations: 129.8 kB / 0.7475 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/1.222, allocations: 52 kB / 0.7475 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00758/1.23, allocations: 3.049 MB / 0.7505 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.23, allocations: 0 / 0.7505 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008503/1.239, allocations: 1.267 MB / 0.7517 GB, free: 31.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.0008849/1.239, allocations: 173 kB / 0.7519 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.25, allocations: 6.361 MB / 0.7581 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.25, allocations: 4 kB / 0.7581 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/1.254, allocations: 2.178 MB / 0.7602 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.259, allocations: 0.5618 MB / 0.7608 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.282, allocations: 11.71 MB / 0.7722 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006571/1.289, allocations: 4.014 MB / 0.7761 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005293/1.294, allocations: 2.087 MB / 0.7782 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.295, allocations: 287.4 kB / 0.7785 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/1.295, allocations: 3.938 kB / 0.7785 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.09292/1.388, allocations: 44.02 MB / 0.8214 GB, free: 7.914 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)