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.001254/0.001254, allocations: 108 kB / 15.61 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 194 kB / 16.53 MB, free: 6.66 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.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.4432/0.4432, allocations: 39.94 MB / 309.7 MB, free: 9.27 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.001501/0.001502, allocations: 79.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1448, allocations: 56.87 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01862/0.1635, allocations: 17.51 MB / 452 MB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2872/0.4507, allocations: 5.406 MB / 457.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004675/0.4555, allocations: 125 kB / 457.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009477/0.465, allocations: 5.299 MB / 462.8 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009141/0.4742, allocations: 2.684 MB / 465.5 MB, free: 35.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.4777, allocations: 1.208 MB / 466.7 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.4885, allocations: 7.813 MB / 474.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009447/0.498, allocations: 7.022 MB / 481.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.5036, allocations: 2.797 MB / 484.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008683/0.5123, allocations: 3.729 MB / 488.1 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003646/0.516, allocations: 0.6108 MB / 488.7 MB, free: 27.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.5223, allocations: 1.489 MB / 490.2 MB, free: 27.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008371/0.5307, allocations: 3.346 MB / 493.5 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01375/0.5445, allocations: 3.764 MB / 497.3 MB, free: 23.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02463/0.5691, allocations: 11.37 MB / 0.4967 GB, free: 17.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.5692, allocations: 9.016 kB / 0.4968 GB, free: 17.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5692, allocations: 0 / 0.4968 GB, free: 17.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007325/0.57, allocations: 0 / 0.4968 GB, free: 17.71 MB / 382.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.03407/0.6041, allocations: 8.163 MB / 0.5047 GB, free: 12.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.6041, allocations: 18.58 kB / 0.5047 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03957/0.6437, allocations: 4.143 MB / 0.5088 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.6591, allocations: 5.149 MB / 0.5138 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.6595, allocations: 386.5 kB / 0.5142 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/0.6632, allocations: 0.5264 MB / 0.5147 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/0.7027, allocations: 15.85 MB / 0.5302 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/0.703, allocations: 67.42 kB / 0.5302 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000972/0.704, allocations: 239.8 kB / 0.5305 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/0.7095, allocations: 2.907 MB / 0.5333 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03334/0.7429, allocations: 14.29 MB / 0.5473 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.8433, allocations: 62.96 MB / 0.6087 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/0.863, allocations: 7.276 MB / 0.6159 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00773/0.8708, allocations: 5.555 MB / 0.6213 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3063/1.177, allocations: 18.36 MB / 0.6392 GB, free: 125.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/1.177, allocations: 71.66 kB / 0.6393 GB, free: 125.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=310): time 6.843e-06/1.177, allocations: 0 / 0.6393 GB, free: 125.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=394): time 0.1699/1.347, allocations: 60.4 MB / 0.6983 GB, free: 95.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.347, allocations: 327.3 kB / 0.6986 GB, free: 95.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007863/1.355, allocations: 5.895 MB / 0.7043 GB, free: 89.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001381/1.357, allocations: 85.7 kB / 0.7044 GB, free: 89.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.359, allocations: 4.34 MB / 0.7087 GB, free: 84.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/1.361, allocations: 1.433 MB / 0.7101 GB, free: 83.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/1.363, allocations: 1.834 MB / 0.7118 GB, free: 81.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.224e-05/1.363, allocations: 305.1 kB / 0.7121 GB, free: 81.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006127/1.369, allocations: 5.186 MB / 0.7172 GB, free: 76.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008254/1.378, allocations: 9.633 MB / 0.7266 GB, free: 64.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/1.395, allocations: 15.73 MB / 0.742 GB, free: 47.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.395, allocations: 44 kB / 0.742 GB, free: 47.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03778/1.433, allocations: 19.61 MB / 0.7612 GB, free: 28.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.433, allocations: 68 kB / 0.7612 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002697/1.433, allocations: 152 kB / 0.7614 GB, free: 27.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01527/1.448, allocations: 5.465 MB / 0.7667 GB, free: 22.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008342/1.457, allocations: 2.07 MB / 0.7687 GB, free: 20.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0396/1.496, allocations: 29.2 MB / 0.7972 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/1.508, allocations: 0.6319 MB / 0.7979 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00304/1.511, allocations: 0.4938 MB / 0.7983 GB, free: 5.617 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 (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.01099/1.522, allocations: 3.164 MB / 0.8014 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002602/1.524, allocations: 0.5374 MB / 0.802 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3318/1.856, allocations: 13.97 MB / 0.8156 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/1.856, allocations: 41.88 kB / 0.8156 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.514e-05/1.857, allocations: 22.88 kB / 0.8157 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-05/1.857, allocations: 16.59 kB / 0.8157 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04945/1.906, allocations: 24.24 MB / 0.8394 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-05/1.906, allocations: 6.469 kB / 0.8394 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004606/1.911, allocations: 0.6785 MB / 0.84 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01957/1.93, allocations: 5.227 MB / 0.8451 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001756/1.932, allocations: 69.52 kB / 0.8452 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04013/1.972, allocations: 28.48 MB / 0.873 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.972, allocations: 3 kB / 0.873 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03795/2.01, allocations: 20.68 MB / 0.8932 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005797/2.016, allocations: 1.493 MB / 0.8947 GB, free: 124.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002718/2.019, allocations: 64 kB / 0.8947 GB, free: 124.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006772/2.026, allocations: 376.4 kB / 0.8951 GB, free: 124.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002031/2.028, allocations: 250.8 kB / 0.8953 GB, free: 124.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005868/2.028, allocations: 99.98 kB / 0.8954 GB, free: 124.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.009436/2.038, allocations: 3.777 MB / 0.8991 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.12e-07/2.038, allocations: 0.7656 kB / 0.8991 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01661/2.055, allocations: 2.005 MB / 0.9011 GB, free: 118.4 MB / 0.5137 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.003202/2.058, allocations: 216.6 kB / 0.9013 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.03656/2.094, allocations: 20.96 MB / 0.9217 GB, free: 97.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.094, allocations: 4 kB / 0.9217 GB, free: 97.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/2.107, allocations: 6.45 MB / 0.928 GB, free: 90.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/2.115, allocations: 0.753 MB / 0.9288 GB, free: 90.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03391/2.149, allocations: 18.14 MB / 0.9465 GB, free: 72.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006565/2.156, allocations: 4.954 MB / 0.9513 GB, free: 67.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007591/2.163, allocations: 2.891 MB / 0.9542 GB, free: 64.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/2.165, allocations: 395.3 kB / 0.9545 GB, free: 63.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.223e-06/2.165, allocations: 4 kB / 0.9545 GB, free: 63.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.3893/2.554, allocations: 97.16 MB / 1.049 GB, free: 140.8 MB / 0.5137 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)