Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009422/0.009423, allocations: 102 kB / 15.73 MB, free: 6.477 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.001649/0.001649, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.638/1.638, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3481/0.3481, allocations: 39.93 MB / 309.8 MB, free: 9.297 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.2. 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.001433/0.001433, allocations: 71.89 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3219, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01627/0.3382, allocations: 17.49 MB / 0.4982 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3519, allocations: 5.442 MB / 0.5035 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.3572, allocations: 122.3 kB / 0.5036 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.3674, allocations: 5.289 MB / 0.5088 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009893/0.3774, allocations: 2.771 MB / 0.5115 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004189/0.3816, allocations: 1.21 MB / 0.5127 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01482/0.3964, allocations: 7.817 MB / 0.5203 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.4094, allocations: 7.017 MB / 0.5272 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0072/0.4167, allocations: 2.808 MB / 0.5299 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006886/0.4236, allocations: 3.739 MB / 0.5336 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.4263, allocations: 0.6094 MB / 0.5342 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005739/0.432, allocations: 1.491 MB / 0.5356 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005874/0.438, allocations: 3.367 MB / 0.5389 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01082/0.4488, allocations: 3.757 MB / 0.5426 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.4665, allocations: 11.68 MB / 0.554 GB, free: 5.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.4666, allocations: 4 kB / 0.554 GB, free: 5.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4666, allocations: 0 / 0.554 GB, free: 5.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004714/0.4671, allocations: 0 / 0.554 GB, free: 5.496 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.02419/0.4913, allocations: 8.174 MB / 0.562 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4914, allocations: 11.89 kB / 0.562 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03937/0.5307, allocations: 4.142 MB / 0.566 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.5467, allocations: 5.251 MB / 0.5711 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006449/0.5475, allocations: 386.3 kB / 0.5715 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003562/0.5511, allocations: 0.5349 MB / 0.572 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03553/0.5866, allocations: 15.85 MB / 0.5875 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003483/0.587, allocations: 71.36 kB / 0.5876 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/0.5887, allocations: 239.8 kB / 0.5878 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005879/0.5946, allocations: 2.907 MB / 0.5906 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/0.6268, allocations: 14.28 MB / 0.6046 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.38/1.007, allocations: 62.64 MB / 0.6658 GB, free: 87.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/1.027, allocations: 7.3 MB / 0.6729 GB, free: 85.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007401/1.034, allocations: 5.553 MB / 0.6783 GB, free: 83.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02859/1.063, allocations: 18.37 MB / 0.6962 GB, free: 73.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.063, allocations: 67.58 kB / 0.6963 GB, free: 73.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=310): time 7.053e-06/1.063, allocations: 3.438 kB / 0.6963 GB, free: 73.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=394): time 0.164/1.227, allocations: 60.39 MB / 0.7553 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/1.227, allocations: 333.3 kB / 0.7556 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/1.238, allocations: 5.896 MB / 0.7614 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001565/1.239, allocations: 85.7 kB / 0.7614 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002926/1.242, allocations: 4.33 MB / 0.7657 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003293/1.245, allocations: 1.442 MB / 0.7671 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003703/1.249, allocations: 1.832 MB / 0.7689 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/1.249, allocations: 305.1 kB / 0.7692 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006739/1.256, allocations: 5.186 MB / 0.7742 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.268, allocations: 9.636 MB / 0.7836 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02244/1.291, allocations: 15.72 MB / 0.799 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.291, allocations: 44 kB / 0.799 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.04752/1.338, allocations: 19.6 MB / 0.8182 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/1.338, allocations: 72 kB / 0.8182 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002899/1.339, allocations: 148 kB / 0.8184 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/1.356, allocations: 5.449 MB / 0.8237 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00883/1.365, allocations: 2.078 MB / 0.8257 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04665/1.411, allocations: 29.19 MB / 0.8542 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.422, allocations: 0.6319 MB / 0.8549 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002393/1.424, allocations: 0.4961 MB / 0.8553 GB, free: 9.086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 57 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (14,41,44.4%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009186/1.433, allocations: 3.16 MB / 0.8584 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/1.436, allocations: 0.54 MB / 0.859 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3408/1.777, allocations: 13.98 MB / 0.8726 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.524e-05/1.777, allocations: 40.41 kB / 0.8727 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.131e-05/1.777, allocations: 16.88 kB / 0.8727 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.064e-05/1.777, allocations: 19.61 kB / 0.8727 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05048/1.827, allocations: 24.07 MB / 0.8962 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/1.827, allocations: 0.8125 kB / 0.8962 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/1.832, allocations: 0.6833 MB / 0.8969 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/1.846, allocations: 5.225 MB / 0.902 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/1.847, allocations: 67.83 kB / 0.902 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03432/1.882, allocations: 28.51 MB / 0.9299 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.882, allocations: 0 / 0.9299 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03522/1.917, allocations: 20.69 MB / 0.9501 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004151/1.921, allocations: 1.502 MB / 0.9515 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.923, allocations: 66.44 kB / 0.9516 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004676/1.928, allocations: 375.4 kB / 0.952 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/1.929, allocations: 249.8 kB / 0.9522 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/1.929, allocations: 103.3 kB / 0.9523 GB, free: 146 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005514/1.935, allocations: 3.773 MB / 0.956 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.182e-06/1.935, allocations: 3.156 kB / 0.956 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01262/1.947, allocations: 2.008 MB / 0.958 GB, free: 140.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (305): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/1.949, allocations: 217.9 kB / 0.9582 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03201/1.981, allocations: 13.39 MB / 0.9712 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.981, allocations: 0 / 0.9712 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/1.998, allocations: 6.471 MB / 0.9776 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009927/2.008, allocations: 0.7442 MB / 0.9783 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04897/2.057, allocations: 17.96 MB / 0.9958 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/2.067, allocations: 4.95 MB / 1.001 GB, free: 96.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01168/2.079, allocations: 2.899 MB / 1.003 GB, free: 93.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003102/2.082, allocations: 402.6 kB / 1.004 GB, free: 93.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/2.082, allocations: 8 kB / 1.004 GB, free: 93.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.4632/2.545, allocations: 93.13 MB / 1.095 GB, free: 182.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)