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.001421/0.001421, allocations: 174.2 kB / 7.649 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.41/1.41, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001761/0.001761, allocations: 111.4 kB / 247.4 MB, free: 6.211 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.201/0.201, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.423e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4803, allocations: 102.6 MB / 0.5378 GB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4806, allocations: 77.95 kB / 0.5379 GB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9201/1.401, allocations: 278.1 MB / 0.8095 GB, free: 32.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.401, allocations: 0 / 0.8095 GB, free: 32.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009886/1.402, allocations: 280 kB / 0.8098 GB, free: 32.11 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.0476/1.449, allocations: 13.18 MB / 0.8227 GB, free: 18.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.449, allocations: 12.03 kB / 0.8227 GB, free: 18.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07016/1.52, allocations: 18.53 MB / 0.8408 GB, free: 244 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03859/1.558, allocations: 14.88 MB / 0.8553 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009973/1.559, allocations: 484 kB / 0.8558 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3107/1.87, allocations: 0.8544 MB / 0.8566 GB, free: 57.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04346/1.913, allocations: 24.23 MB / 0.8803 GB, free: 57.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06941/1.983, allocations: 32.99 MB / 0.9125 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000827/1.984, allocations: 129.3 kB / 0.9126 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006329/1.99, allocations: 66.47 kB / 0.9127 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004626/1.995, allocations: 3.719 MB / 0.9163 GB, free: 52.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/2.188, allocations: 135.6 MB / 1.049 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3455/2.533, allocations: 16.24 MB / 1.065 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01504/2.548, allocations: 9.4 MB / 1.074 GB, free: 95.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/2.55, allocations: 1.309 MB / 1.075 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.716e-05/2.55, allocations: 111 kB / 1.075 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=810): time 1.268e-05/2.55, allocations: 0 / 1.075 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=883): time 0.1695/2.72, allocations: 78.85 MB / 1.152 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/2.72, allocations: 324.4 kB / 1.152 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/2.737, allocations: 8.31 MB / 1.161 GB, free: 80.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002075/2.739, allocations: 29.05 kB / 1.161 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007491/2.746, allocations: 9.886 MB / 1.17 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004823/2.751, allocations: 3.078 MB / 1.173 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/2.754, allocations: 3.906 kB / 1.173 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001408/2.755, allocations: 1.145 MB / 1.174 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/2.767, allocations: 7.956 MB / 1.182 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01989/2.787, allocations: 18.11 MB / 1.2 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/2.806, allocations: 12.1 MB / 1.212 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004556/2.806, allocations: 105 kB / 1.212 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2534) (initialization): time 0.05262/2.859, allocations: 25.99 MB / 1.237 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/2.859, allocations: 156.2 kB / 1.237 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006246/2.86, allocations: 360 kB / 1.238 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006365/2.866, allocations: 2.402 MB / 1.24 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/2.883, allocations: 4.534 MB / 1.244 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3739/3.257, allocations: 13.7 MB / 1.258 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01925/3.276, allocations: 0.757 MB / 1.259 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0055/3.282, allocations: 1.063 MB / 1.26 GB, free: 72.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1631 * 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 (2338): * Single equations (assignments): 2321 * 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.008064/3.29, allocations: 1.011 MB / 1.261 GB, free: 72.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00309/3.293, allocations: 0.9907 MB / 1.261 GB, free: 72.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0328/3.326, allocations: 16.83 MB / 1.278 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002155/3.326, allocations: 175.1 kB / 1.278 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/3.326, allocations: 13.59 kB / 1.278 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/3.326, allocations: 41.67 kB / 1.278 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07168/3.398, allocations: 35.22 MB / 1.313 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.415e-05/3.398, allocations: 12.84 kB / 1.313 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008206/3.406, allocations: 1.49 MB / 1.314 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005759/3.412, allocations: 1.754 MB / 1.316 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002117/3.414, allocations: 41.94 kB / 1.316 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/3.429, allocations: 12.13 MB / 1.328 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-05/3.429, allocations: 20.34 kB / 1.328 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03948/3.468, allocations: 28.9 MB / 1.356 GB, free: 51.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008783/3.477, allocations: 2.254 MB / 1.358 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003839/3.481, allocations: 22.88 kB / 1.358 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007952/3.489, allocations: 437.4 kB / 1.358 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002294/3.491, allocations: 498.8 kB / 1.359 GB, free: 50.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008983/3.492, allocations: 228.3 kB / 1.359 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01304/3.505, allocations: 5.533 MB / 1.365 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/3.505, allocations: 3.094 kB / 1.365 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.023/3.528, allocations: 2.989 MB / 1.368 GB, free: 48.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (705): * Single equations (assignments): 688 * 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.002731/3.531, allocations: 213.7 kB / 1.368 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03229/3.563, allocations: 19.21 MB / 1.386 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/3.563, allocations: 4 kB / 1.386 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/3.577, allocations: 7.937 MB / 1.394 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01063/3.588, allocations: 0.9381 MB / 1.395 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07791/3.666, allocations: 29.87 MB / 1.424 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03265/3.698, allocations: 10.88 MB / 1.435 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02707/3.725, allocations: 7.2 MB / 1.442 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005861/3.731, allocations: 0.7254 MB / 1.443 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/3.731, allocations: 0 / 1.443 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of Templates: time 0.5176/4.249, allocations: 88.64 MB / 1.529 GB, free: 78.85 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)