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.0009782/0.0009784, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.524/1.524, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001709/0.001709, allocations: 104.5 kB / 252.6 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2094/0.2094, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.214e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6245, allocations: 103.2 MB / 0.5453 GB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6249, allocations: 86.06 kB / 0.5454 GB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9919/1.617, allocations: 284.9 MB / 0.8236 GB, free: 13.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.617, allocations: 0 / 0.8236 GB, free: 13.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006913/1.618, allocations: 276 kB / 0.8239 GB, free: 13.32 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.04566/1.663, allocations: 13.2 MB / 0.8368 GB, free: 28 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.663, allocations: 8.031 kB / 0.8368 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7032/2.367, allocations: 18.52 MB / 0.8549 GB, free: 46.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04114/2.408, allocations: 14.88 MB / 0.8694 GB, free: 45.81 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002069/2.41, allocations: 1.101 MB / 0.8705 GB, free: 45.78 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01158/2.421, allocations: 1.467 MB / 0.8719 GB, free: 45.76 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09516/2.517, allocations: 36.22 MB / 0.9073 GB, free: 40.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008617/2.518, allocations: 134.1 kB / 0.9074 GB, free: 40.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007218/2.525, allocations: 0.6706 MB / 0.9081 GB, free: 40.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005215/2.53, allocations: 3.716 MB / 0.9117 GB, free: 40.06 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06567/2.596, allocations: 32.53 MB / 0.9435 GB, free: 33.89 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8993/3.495, allocations: 141 MB / 1.081 GB, free: 21.24 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03469/3.53, allocations: 15.62 MB / 1.096 GB, free: 19.35 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/3.543, allocations: 9.567 MB / 1.106 GB, free: 19.28 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0684/3.611, allocations: 35.74 MB / 1.141 GB, free: 16.71 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.574e-05/3.611, allocations: 99.91 kB / 1.141 GB, free: 16.67 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=747): time 1.142e-05/3.611, allocations: 0 / 1.141 GB, free: 16.67 MB / 0.5263 GB Notification: Performance of matching and sorting (n=829): time 0.2027/3.814, allocations: 69.92 MB / 1.209 GB, free: 0.8008 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002279/3.814, allocations: 311.3 kB / 1.209 GB, free: 452 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02597/3.84, allocations: 9.4 MB / 1.219 GB, free: 8.719 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.001894/3.842, allocations: 141 kB / 1.219 GB, free: 8.578 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.009903/3.852, allocations: 9.829 MB / 1.228 GB, free: 15.8 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.005408/3.858, allocations: 2.992 MB / 1.231 GB, free: 13.15 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003308/3.861, allocations: 359 kB / 1.232 GB, free: 12.8 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.002367/3.863, allocations: 1.099 MB / 1.233 GB, free: 11.92 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01769/3.881, allocations: 8.119 MB / 1.241 GB, free: 4.578 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04109/3.922, allocations: 18.81 MB / 1.259 GB, free: 2.535 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4008/4.323, allocations: 12.23 MB / 1.271 GB, free: 128.8 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005812/4.324, allocations: 94.81 kB / 1.271 GB, free: 128.8 MB / 0.5888 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.05871/4.382, allocations: 27.48 MB / 1.298 GB, free: 127.4 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003838/4.383, allocations: 145.7 kB / 1.298 GB, free: 127.4 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009546/4.384, allocations: 333.8 kB / 1.298 GB, free: 127.4 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007227/4.391, allocations: 2.397 MB / 1.301 GB, free: 127.3 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/4.408, allocations: 4.282 MB / 1.305 GB, free: 127 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/4.426, allocations: 14.36 MB / 1.319 GB, free: 124.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/4.444, allocations: 1.095 MB / 1.32 GB, free: 124 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005144/4.449, allocations: 1.001 MB / 1.321 GB, free: 124 MB / 0.5888 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 () * 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.006375/4.456, allocations: 1.418 MB / 1.322 GB, free: 123.6 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002683/4.458, allocations: 1.013 MB / 1.323 GB, free: 123.6 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/4.488, allocations: 15.79 MB / 1.339 GB, free: 122.8 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002299/4.489, allocations: 172 kB / 1.339 GB, free: 122.8 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.362e-05/4.489, allocations: 10.47 kB / 1.339 GB, free: 122.8 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001814/4.489, allocations: 41.75 kB / 1.339 GB, free: 122.8 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07874/4.567, allocations: 34.7 MB / 1.373 GB, free: 110.5 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/4.568, allocations: 7.688 kB / 1.373 GB, free: 110.5 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007311/4.575, allocations: 1.399 MB / 1.374 GB, free: 110.4 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00529/4.58, allocations: 1.78 MB / 1.376 GB, free: 110 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001981/4.582, allocations: 132.8 kB / 1.376 GB, free: 109.9 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/4.599, allocations: 12.91 MB / 1.389 GB, free: 103.2 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/4.599, allocations: 13.81 kB / 1.389 GB, free: 103.2 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04312/4.642, allocations: 26.45 MB / 1.414 GB, free: 81.92 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007884/4.65, allocations: 2.245 MB / 1.417 GB, free: 79.84 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003992/4.654, allocations: 129.3 kB / 1.417 GB, free: 79.72 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007742/4.662, allocations: 0.535 MB / 1.417 GB, free: 79.39 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002108/4.664, allocations: 439.1 kB / 1.418 GB, free: 79.11 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/4.665, allocations: 194.4 kB / 1.418 GB, free: 78.93 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.01712/4.682, allocations: 6.41 MB / 1.424 GB, free: 73.33 MB / 0.5888 GB Notification: Performance of sort global known variables: time 3.2e-07/4.682, allocations: 0 / 1.424 GB, free: 73.33 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.02144/4.704, allocations: 3.442 MB / 1.427 GB, free: 69.9 MB / 0.5888 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 () * 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.002331/4.706, allocations: 303.2 kB / 1.428 GB, free: 69.61 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.0317/4.738, allocations: 19.51 MB / 1.447 GB, free: 51.74 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/4.738, allocations: 10.69 kB / 1.447 GB, free: 51.73 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.01268/4.751, allocations: 7.647 MB / 1.454 GB, free: 44.77 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009603/4.76, allocations: 1.252 MB / 1.456 GB, free: 43.71 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4775/5.238, allocations: 29.32 MB / 1.484 GB, free: 120 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03228/5.27, allocations: 10.58 MB / 1.494 GB, free: 118.9 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.02622/5.296, allocations: 6.668 MB / 1.501 GB, free: 118.8 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007003/5.303, allocations: 0.7227 MB / 1.502 GB, free: 118.8 MB / 0.5888 GB Notification: Performance of SimCode: time 2.865e-06/5.304, allocations: 0 / 1.502 GB, free: 118.8 MB / 0.5888 GB Notification: Performance of Templates: time 0.2243/5.528, allocations: 102.9 MB / 1.602 GB, free: 90.23 MB / 0.5888 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)