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.001638/0.001637, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001852/0.001852, allocations: 177.3 kB / 15.94 MB, free: 228 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3785/0.3785, allocations: 39.99 MB / 310.4 MB, free: 9.781 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.0005223/0.0005223, allocations: 12 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 57.95 MB / 436.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.2453/0.3727, allocations: 74.8 MB / 0.4996 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04018/0.413, allocations: 17.2 MB / 0.5164 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01597/0.429, allocations: 384.3 kB / 0.5167 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0158/0.4448, allocations: 3.749 MB / 0.5204 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04283/0.4877, allocations: 10.65 MB / 0.5308 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006413/0.4941, allocations: 1.05 MB / 0.5318 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05835/0.5525, allocations: 39.65 MB / 0.5705 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.5649, allocations: 7.929 MB / 0.5783 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.5684, allocations: 1.787 MB / 0.58 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.5718, allocations: 2.364 MB / 0.5823 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000738/0.5725, allocations: 240 kB / 0.5826 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.5747, allocations: 1.007 MB / 0.5836 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.5772, allocations: 2.646 MB / 0.5861 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.5789, allocations: 1.357 MB / 0.5875 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.5894, allocations: 9.523 MB / 0.5968 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5895, allocations: 4 kB / 0.5968 GB, free: 3.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5895, allocations: 0 / 0.5968 GB, free: 3.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000376/0.5899, allocations: 0 / 0.5968 GB, free: 3.668 MB / 462.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.02018/0.61, allocations: 7.438 MB / 0.604 GB, free: 12.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.6101, allocations: 12.03 kB / 0.604 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2368/0.8469, allocations: 21.06 MB / 0.6246 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.863, allocations: 6.095 MB / 0.6306 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.8634, allocations: 389.9 kB / 0.6309 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2481/1.112, allocations: 0.5247 MB / 0.6314 GB, free: 145.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04933/1.161, allocations: 16.08 MB / 0.6472 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006194/1.162, allocations: 69.28 kB / 0.6472 GB, free: 140.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002922/1.165, allocations: 239 kB / 0.6474 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005726/1.17, allocations: 2.911 MB / 0.6503 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03145/1.202, allocations: 14.56 MB / 0.6645 GB, free: 135.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09387/1.296, allocations: 63.08 MB / 0.7261 GB, free: 85.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.314, allocations: 7.613 MB / 0.7335 GB, free: 77.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02769/1.341, allocations: 18.45 MB / 0.7516 GB, free: 59.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/1.341, allocations: 68.52 kB / 0.7516 GB, free: 59.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=310): time 6.022e-06/1.341, allocations: 0 / 0.7516 GB, free: 59.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=394): time 0.1619/1.503, allocations: 62.52 MB / 0.8127 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/1.504, allocations: 321.4 kB / 0.813 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.517, allocations: 6.338 MB / 0.8192 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/1.518, allocations: 89.64 kB / 0.8193 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003829/1.522, allocations: 4.426 MB / 0.8236 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.2459/1.768, allocations: 1.421 MB / 0.825 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/1.769, allocations: 169.1 kB / 0.8251 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0005518/1.77, allocations: 0.6606 MB / 0.8258 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007562/1.777, allocations: 5.008 MB / 0.8307 GB, free: 146.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009835/1.787, allocations: 9.404 MB / 0.8398 GB, free: 139.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.798, allocations: 6.738 MB / 0.8464 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.798, allocations: 43.06 kB / 0.8465 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1094) (initialization): time 0.04735/1.845, allocations: 19.17 MB / 0.8652 GB, free: 131 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/1.845, allocations: 71.08 kB / 0.8653 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004527/1.846, allocations: 156.7 kB / 0.8654 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.865, allocations: 5.567 MB / 0.8708 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0091/1.874, allocations: 2.001 MB / 0.8728 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03869/1.913, allocations: 28.27 MB / 0.9004 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/1.924, allocations: 0.6333 MB / 0.901 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/1.927, allocations: 493.6 kB / 0.9015 GB, free: 114.4 MB / 0.4981 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 (991): * Single equations (assignments): 985 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007827/1.935, allocations: 3.165 MB / 0.9046 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/1.936, allocations: 0.5478 MB / 0.9051 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02389/1.96, allocations: 14.02 MB / 0.9188 GB, free: 97.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-05/1.96, allocations: 40 kB / 0.9188 GB, free: 97.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/1.96, allocations: 16 kB / 0.9189 GB, free: 97.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-05/1.961, allocations: 19.92 kB / 0.9189 GB, free: 97.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04801/2.009, allocations: 24.53 MB / 0.9428 GB, free: 72.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/2.009, allocations: 0 / 0.9428 GB, free: 72.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/2.013, allocations: 0.6883 MB / 0.9435 GB, free: 72.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01414/2.027, allocations: 5.322 MB / 0.9487 GB, free: 66.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001112/2.028, allocations: 67.98 kB / 0.9488 GB, free: 66.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03255/2.06, allocations: 27.64 MB / 0.9758 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.06, allocations: 0 / 0.9758 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03249/2.093, allocations: 20.8 MB / 0.9961 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005572/2.099, allocations: 1.513 MB / 0.9976 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001972/2.101, allocations: 64.36 kB / 0.9976 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005033/2.106, allocations: 385.7 kB / 0.998 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00119/2.107, allocations: 251.5 kB / 0.9982 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005512/2.107, allocations: 99.98 kB / 0.9983 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007384/2.115, allocations: 4.133 MB / 1.002 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/2.115, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01223/2.127, allocations: 1.982 MB / 1.004 GB, free: 9.52 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/2.129, allocations: 232.5 kB / 1.005 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2701/2.399, allocations: 13.1 MB / 1.017 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.399, allocations: 0.625 kB / 1.017 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.412, allocations: 6.454 MB / 1.024 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/2.418, allocations: 0.6956 MB / 1.024 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04627/2.464, allocations: 20.56 MB / 1.044 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01396/2.478, allocations: 5.093 MB / 1.049 GB, free: 129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01332/2.491, allocations: 2.907 MB / 1.052 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003803/2.495, allocations: 405.9 kB / 1.053 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.472e-06/2.495, allocations: 3.938 kB / 1.053 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1674/2.663, allocations: 91.18 MB / 1.142 GB, free: 55.21 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: