Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008014/0.008014, allocations: 174.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.498/1.498, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002064/0.002064, allocations: 116.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1757/0.1757, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 11.59 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 54.87 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5173, allocations: 103.3 MB / 0.5511 GB, free: 25.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5176, allocations: 83.48 kB / 0.5512 GB, free: 25.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9649/1.482, allocations: 284.6 MB / 0.8291 GB, free: 46.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.483, allocations: 0 / 0.8291 GB, free: 46.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009902/1.484, allocations: 291.1 kB / 0.8294 GB, free: 46.34 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05099/1.535, allocations: 14.1 MB / 0.8432 GB, free: 32.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.535, allocations: 12.03 kB / 0.8432 GB, free: 32.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07204/1.607, allocations: 18.51 MB / 0.8612 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04007/1.647, allocations: 14.93 MB / 0.8758 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001705/1.649, allocations: 1.107 MB / 0.8769 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01097/1.66, allocations: 1.472 MB / 0.8783 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3821/2.042, allocations: 36.55 MB / 0.914 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008566/2.043, allocations: 133.8 kB / 0.9142 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006844/2.049, allocations: 0.6661 MB / 0.9148 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004923/2.054, allocations: 3.714 MB / 0.9184 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06607/2.121, allocations: 33.12 MB / 0.9508 GB, free: 48.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4925/2.613, allocations: 140.6 MB / 1.088 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03591/2.649, allocations: 15.78 MB / 1.104 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06499/2.714, allocations: 35.75 MB / 1.138 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.515e-05/2.714, allocations: 99.28 kB / 1.139 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=747): time 1.048e-05/2.714, allocations: 0.5625 kB / 1.139 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=829): time 0.2397/2.954, allocations: 83.21 MB / 1.22 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/2.954, allocations: 319.2 kB / 1.22 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02289/2.977, allocations: 9.364 MB / 1.229 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0024/2.98, allocations: 144.4 kB / 1.229 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009519/2.989, allocations: 9.815 MB / 1.239 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00609/2.995, allocations: 2.99 MB / 1.242 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004597/3, allocations: 358.5 kB / 1.242 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.003668/3.004, allocations: 1.104 MB / 1.243 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01601/3.02, allocations: 8.326 MB / 1.251 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02341/3.043, allocations: 17.88 MB / 1.269 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02482/3.068, allocations: 12.18 MB / 1.281 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005567/3.069, allocations: 96 kB / 1.281 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.3801/3.449, allocations: 27.9 MB / 1.308 GB, free: 96.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/3.449, allocations: 148.4 kB / 1.308 GB, free: 96.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006869/3.45, allocations: 328.8 kB / 1.309 GB, free: 96.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/3.457, allocations: 2.405 MB / 1.311 GB, free: 96.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/3.474, allocations: 4.282 MB / 1.315 GB, free: 96.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/3.493, allocations: 14.85 MB / 1.33 GB, free: 93.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/3.512, allocations: 1.094 MB / 1.331 GB, free: 93.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005616/3.518, allocations: 0.9916 MB / 1.332 GB, free: 93.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1510 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2205): * Single equations (assignments): 2188 * Array equations: 15 * 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%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02295/3.541, allocations: 7.178 MB / 1.339 GB, free: 92.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006186/3.547, allocations: 1.009 MB / 1.34 GB, free: 92.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03425/3.581, allocations: 16.06 MB / 1.355 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002195/3.581, allocations: 168.8 kB / 1.355 GB, free: 88.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/3.581, allocations: 14.91 kB / 1.355 GB, free: 88.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002207/3.582, allocations: 36.58 kB / 1.356 GB, free: 88.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08181/3.663, allocations: 34.98 MB / 1.39 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.436e-05/3.664, allocations: 6.531 kB / 1.39 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00801/3.672, allocations: 1.399 MB / 1.391 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00599/3.678, allocations: 1.782 MB / 1.393 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001644/3.679, allocations: 134 kB / 1.393 GB, free: 75.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/3.696, allocations: 13.35 MB / 1.406 GB, free: 65.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/3.696, allocations: 15.89 kB / 1.406 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0445/3.741, allocations: 26.85 MB / 1.432 GB, free: 41.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009839/3.751, allocations: 2.254 MB / 1.434 GB, free: 39.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005197/3.756, allocations: 120 kB / 1.434 GB, free: 39.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008815/3.765, allocations: 0.5374 MB / 1.435 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002619/3.768, allocations: 449.7 kB / 1.435 GB, free: 38.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00197/3.77, allocations: 195.1 kB / 1.436 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01662/3.786, allocations: 6.496 MB / 1.442 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.41e-07/3.786, allocations: 0 / 1.442 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02467/3.811, allocations: 3.436 MB / 1.445 GB, free: 29.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/3.813, allocations: 318.2 kB / 1.446 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03754/3.851, allocations: 19.88 MB / 1.465 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/3.851, allocations: 4.938 kB / 1.465 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01682/3.868, allocations: 7.781 MB / 1.473 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/3.878, allocations: 1.253 MB / 1.474 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4297/4.308, allocations: 42.03 MB / 1.515 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02966/4.338, allocations: 10.57 MB / 1.525 GB, free: 80.69 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02517/4.363, allocations: 6.669 MB / 1.532 GB, free: 80.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006076/4.369, allocations: 0.7227 MB / 1.532 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.874e-06/4.369, allocations: 0 / 1.532 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of Templates: time 0.2223/4.592, allocations: 102.9 MB / 1.633 GB, free: 38.64 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1)