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.0007975/0.0008026, allocations: 90.52 kB / 15.06 MB, free: 1.094 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.0009051/0.0009052, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3282/0.3282, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0005874/0.0005875, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1098, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2579/0.3678, allocations: 63.7 MB / 497.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02984/0.3976, allocations: 13.41 MB / 0.4991 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0145/0.4122, allocations: 304.2 kB / 0.4994 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.4241, allocations: 3.302 MB / 0.5026 GB, free: 5.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02561/0.4498, allocations: 9.738 MB / 0.5121 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.4544, allocations: 0.8053 MB / 0.5129 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04277/0.4972, allocations: 34.96 MB / 0.547 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.5086, allocations: 6.617 MB / 0.5535 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.5127, allocations: 1.712 MB / 0.5552 GB, free: 204 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/0.5184, allocations: 2.633 MB / 0.5578 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.5203, allocations: 192 kB / 0.5579 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/0.5245, allocations: 0.9753 MB / 0.5589 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.5277, allocations: 2.26 MB / 0.5611 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.5294, allocations: 1.088 MB / 0.5622 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007873/0.5373, allocations: 7.412 MB / 0.5694 GB, free: 1.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5373, allocations: 0 / 0.5694 GB, free: 1.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5373, allocations: 0 / 0.5694 GB, free: 1.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002798/0.5376, allocations: 0 / 0.5694 GB, free: 1.602 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01118/0.5488, allocations: 5.274 MB / 0.5745 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5489, allocations: 8.031 kB / 0.5746 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.5601, allocations: 2.66 MB / 0.5772 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008815/0.5689, allocations: 3.889 MB / 0.5809 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.5692, allocations: 312.1 kB / 0.5812 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.5706, allocations: 423.7 kB / 0.5817 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/0.5942, allocations: 11.98 MB / 0.5934 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002423/0.5945, allocations: 63.42 kB / 0.5934 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/0.5957, allocations: 195.8 kB / 0.5936 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003377/0.5991, allocations: 2.203 MB / 0.5958 GB, free: 5.688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/0.618, allocations: 10.11 MB / 0.6056 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2907/0.9087, allocations: 47.09 MB / 0.6516 GB, free: 117.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/0.9183, allocations: 4.366 MB / 0.6559 GB, free: 116.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.9214, allocations: 2.516 MB / 0.6583 GB, free: 116.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/0.9355, allocations: 9.965 MB / 0.6681 GB, free: 111.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.9356, allocations: 57.83 kB / 0.6681 GB, free: 111.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 1.085e-05/0.9356, allocations: 0 / 0.6681 GB, free: 111.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05857/0.9942, allocations: 21.45 MB / 0.6891 GB, free: 104 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.9943, allocations: 208.7 kB / 0.6893 GB, free: 103.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00781/1.002, allocations: 4.793 MB / 0.694 GB, free: 102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005849/1.003, allocations: 60.89 kB / 0.694 GB, free: 102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.006, allocations: 3.725 MB / 0.6976 GB, free: 99.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.007, allocations: 0.8304 MB / 0.6985 GB, free: 98.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/1.007, allocations: 135.5 kB / 0.6986 GB, free: 98.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003381/1.008, allocations: 0.5923 MB / 0.6992 GB, free: 98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.011, allocations: 2.555 MB / 0.7017 GB, free: 97.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/1.016, allocations: 6.532 MB / 0.708 GB, free: 90.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/1.021, allocations: 3.982 MB / 0.7119 GB, free: 89.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-05/1.021, allocations: 41.66 kB / 0.712 GB, free: 89.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01707/1.038, allocations: 10.2 MB / 0.7219 GB, free: 84.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.038, allocations: 67.94 kB / 0.722 GB, free: 84.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/1.038, allocations: 140.8 kB / 0.7221 GB, free: 84.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/1.042, allocations: 1.639 MB / 0.7237 GB, free: 82.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004763/1.047, allocations: 1.571 MB / 0.7253 GB, free: 81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/1.058, allocations: 9.54 MB / 0.7346 GB, free: 71.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/1.064, allocations: 389.2 kB / 0.735 GB, free: 70.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.065, allocations: 410.6 kB / 0.7353 GB, free: 70.41 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005316/1.07, allocations: 2.569 MB / 0.7379 GB, free: 67.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.072, allocations: 426.5 kB / 0.7383 GB, free: 67.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/1.08, allocations: 4.598 MB / 0.7427 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.08, allocations: 24 kB / 0.7428 GB, free: 62.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/1.08, allocations: 8 kB / 0.7428 GB, free: 62.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/1.08, allocations: 11.95 kB / 0.7428 GB, free: 62.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02253/1.103, allocations: 10.46 MB / 0.753 GB, free: 52.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.103, allocations: 0 / 0.753 GB, free: 52.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/1.104, allocations: 347.5 kB / 0.7533 GB, free: 51.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/1.108, allocations: 1.364 MB / 0.7547 GB, free: 50.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/1.108, allocations: 43.11 kB / 0.7547 GB, free: 50.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009085/1.117, allocations: 8.732 MB / 0.7632 GB, free: 41.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.117, allocations: 7.969 kB / 0.7632 GB, free: 41.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.128, allocations: 7.508 MB / 0.7706 GB, free: 33.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.131, allocations: 0.7845 MB / 0.7713 GB, free: 33.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.132, allocations: 39.98 kB / 0.7714 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/1.134, allocations: 131.8 kB / 0.7715 GB, free: 33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/1.134, allocations: 141.7 kB / 0.7716 GB, free: 32.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.135, allocations: 55.98 kB / 0.7717 GB, free: 32.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005393/1.14, allocations: 3.014 MB / 0.7746 GB, free: 29.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.14, allocations: 0 / 0.7746 GB, free: 29.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007237/1.147, allocations: 1.27 MB / 0.7759 GB, free: 28.53 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006024/1.148, allocations: 171.4 kB / 0.776 GB, free: 28.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01072/1.159, allocations: 6.323 MB / 0.7822 GB, free: 22.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.159, allocations: 0 / 0.7822 GB, free: 22.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.162, allocations: 2.187 MB / 0.7844 GB, free: 19.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.167, allocations: 0.5273 MB / 0.7849 GB, free: 19.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/1.188, allocations: 13.86 MB / 0.7984 GB, free: 5.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005281/1.193, allocations: 3.999 MB / 0.8023 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005641/1.199, allocations: 2.092 MB / 0.8043 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009907/1.2, allocations: 279.3 kB / 0.8046 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/1.2, allocations: 0 / 0.8046 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.2684/1.468, allocations: 44.09 MB / 0.8477 GB, free: 143.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: