Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005321/0.005321, allocations: 165.1 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.273/1.273, allocations: 170.8 MB / 186.6 MB, free: 1.145 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001605/0.001605, allocations: 110.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3172/0.3172, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003561, allocations: 12 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4946, allocations: 96.06 MB / 0.4957 GB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4949, allocations: 85.33 kB / 0.4958 GB, free: 7.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243/1.738, allocations: 283.8 MB / 0.773 GB, free: 38.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.738, allocations: 0 / 0.773 GB, free: 38.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008331/1.739, allocations: 279.4 kB / 0.7733 GB, free: 38.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5455 * Number of variables: 5455 Notification: Performance of Generate backend data structure: time 0.05308/1.792, allocations: 14.1 MB / 0.787 GB, free: 32.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.792, allocations: 13.56 kB / 0.787 GB, free: 32.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07253/1.865, allocations: 18.44 MB / 0.8051 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04027/1.905, allocations: 14.9 MB / 0.8196 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001406/1.907, allocations: 1.099 MB / 0.8207 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008747/1.916, allocations: 1.455 MB / 0.8221 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09901/2.015, allocations: 35.82 MB / 0.8571 GB, free: 23.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001417/2.016, allocations: 136.5 kB / 0.8572 GB, free: 23.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01097/2.027, allocations: 0.6667 MB / 0.8579 GB, free: 22.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006277/2.033, allocations: 3.721 MB / 0.8615 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07899/2.112, allocations: 32.51 MB / 0.8932 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5204/2.633, allocations: 139.2 MB / 1.029 GB, free: 18.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/2.665, allocations: 15.26 MB / 1.044 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06687/2.732, allocations: 34.75 MB / 1.078 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/2.732, allocations: 100.9 kB / 1.078 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=745): time 1.449e-05/2.732, allocations: 1.781 kB / 1.078 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of matching and sorting (n=827): time 0.5051/3.237, allocations: 80.76 MB / 1.157 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/3.237, allocations: 309.9 kB / 1.157 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02065/3.258, allocations: 9.37 MB / 1.166 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001792/3.26, allocations: 137.4 kB / 1.167 GB, free: 87.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007577/3.267, allocations: 9.815 MB / 1.176 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004267/3.271, allocations: 2.986 MB / 1.179 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/3.274, allocations: 356.1 kB / 1.179 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.002297/3.277, allocations: 1.104 MB / 1.18 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.014/3.291, allocations: 8.211 MB / 1.189 GB, free: 78.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01938/3.31, allocations: 17.77 MB / 1.206 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/3.328, allocations: 12.07 MB / 1.218 GB, free: 58.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005319/3.329, allocations: 92 kB / 1.218 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2399) (initialization): time 0.05847/3.387, allocations: 27.67 MB / 1.245 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000565/3.388, allocations: 152 kB / 1.245 GB, free: 34.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006995/3.389, allocations: 328 kB / 1.245 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007342/3.396, allocations: 2.41 MB / 1.248 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/3.412, allocations: 4.271 MB / 1.252 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/3.43, allocations: 14.84 MB / 1.266 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/3.446, allocations: 1.088 MB / 1.267 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004874/3.45, allocations: 0.9948 MB / 1.268 GB, free: 13.71 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * 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 (2203): * Single equations (assignments): 2186 * 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.3084/3.759, allocations: 9.009 MB / 1.277 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003055/3.762, allocations: 1.011 MB / 1.278 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03496/3.797, allocations: 15.8 MB / 1.293 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002444/3.797, allocations: 163.7 kB / 1.294 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-05/3.797, allocations: 15.56 kB / 1.294 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001718/3.797, allocations: 37.25 kB / 1.294 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07808/3.876, allocations: 34.77 MB / 1.328 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.911e-05/3.876, allocations: 6.469 kB / 1.328 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007991/3.884, allocations: 1.394 MB / 1.329 GB, free: 79.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006076/3.89, allocations: 1.775 MB / 1.331 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001874/3.892, allocations: 131.6 kB / 1.331 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/3.909, allocations: 13.37 MB / 1.344 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/3.909, allocations: 6.062 kB / 1.344 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04418/3.953, allocations: 26.7 MB / 1.37 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00937/3.963, allocations: 2.243 MB / 1.372 GB, free: 62.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004218/3.967, allocations: 137.8 kB / 1.372 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00845/3.975, allocations: 0.53 MB / 1.373 GB, free: 62.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/3.978, allocations: 436 kB / 1.373 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001537/3.979, allocations: 196.6 kB / 1.373 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01444/3.994, allocations: 6.502 MB / 1.38 GB, free: 60.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/3.994, allocations: 5.172 kB / 1.38 GB, free: 60.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01975/4.013, allocations: 3.418 MB / 1.383 GB, free: 59.93 MB / 0.4948 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 (653): * Single equations (assignments): 636 * 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.002336/4.016, allocations: 318.1 kB / 1.383 GB, free: 59.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03312/4.049, allocations: 19.7 MB / 1.403 GB, free: 44.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/4.049, allocations: 4 kB / 1.403 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01484/4.064, allocations: 7.745 MB / 1.41 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008005/4.072, allocations: 1.262 MB / 1.411 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08639/4.158, allocations: 40.95 MB / 1.451 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3482/4.507, allocations: 11.71 MB / 1.463 GB, free: 82.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02285/4.529, allocations: 6.659 MB / 1.469 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004806/4.534, allocations: 0.7226 MB / 1.47 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/4.534, allocations: 0 / 1.47 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.1991/4.733, allocations: 102 MB / 1.57 GB, free: 64.19 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1)