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.000956/0.000956, allocations: 165.9 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.383/1.383, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001754/0.001754, allocations: 111.5 kB / 218 MB, free: 8.355 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.1815/0.1815, allocations: 37.98 MB / 295.1 MB, free: 9.512 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.76e-05, allocations: 6.875 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.72 MB / 398.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5061, allocations: 95.3 MB / 494 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.5064, allocations: 81.02 kB / 494.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9595/1.466, allocations: 277.4 MB / 0.7534 GB, free: 22.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.466, allocations: 4 kB / 0.7534 GB, free: 22.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001227/1.467, allocations: 276 kB / 0.7537 GB, free: 22.39 MB / 426.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.04791/1.515, allocations: 13.17 MB / 0.7665 GB, free: 9.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/1.515, allocations: 8.031 kB / 0.7666 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07645/1.592, allocations: 18.46 MB / 0.7846 GB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3056/1.897, allocations: 14.83 MB / 0.7991 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009475/1.898, allocations: 482.8 kB / 0.7995 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008638/1.907, allocations: 0.8496 MB / 0.8004 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04382/1.951, allocations: 23.57 MB / 0.8234 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07285/2.024, allocations: 32.63 MB / 0.8552 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007744/2.024, allocations: 132.5 kB / 0.8554 GB, free: 38.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006609/2.031, allocations: 60.97 kB / 0.8554 GB, free: 38.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004797/2.036, allocations: 3.711 MB / 0.859 GB, free: 37.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5147/2.551, allocations: 134.4 MB / 0.9903 GB, free: 30.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/2.568, allocations: 14.32 MB / 1.004 GB, free: 27.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01286/2.581, allocations: 9.187 MB / 1.013 GB, free: 27.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/2.582, allocations: 1.301 MB / 1.014 GB, free: 26.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/2.583, allocations: 108.5 kB / 1.015 GB, free: 26.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=808): time 2.92e-05/2.583, allocations: 2.031 kB / 1.015 GB, free: 26.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=882): time 0.1512/2.734, allocations: 77.09 MB / 1.09 GB, free: 6.867 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.734, allocations: 313 kB / 1.09 GB, free: 6.504 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/2.748, allocations: 8.313 MB / 1.098 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/2.75, allocations: 25.7 kB / 1.098 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00796/2.758, allocations: 9.887 MB / 1.108 GB, free: 6.699 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004496/2.762, allocations: 3.082 MB / 1.111 GB, free: 3.914 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/2.763, allocations: 4 kB / 1.111 GB, free: 3.91 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001139/2.765, allocations: 1.147 MB / 1.112 GB, free: 2.992 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03207/2.797, allocations: 9.532 MB / 1.121 GB, free: 0 / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02217/2.819, allocations: 18.08 MB / 1.139 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/2.837, allocations: 12.03 MB / 1.151 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003291/2.837, allocations: 104 kB / 1.151 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2533) (initialization): time 0.3335/3.171, allocations: 26.13 MB / 1.176 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002893/3.171, allocations: 158.4 kB / 1.177 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006926/3.172, allocations: 358.8 kB / 1.177 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007182/3.179, allocations: 2.408 MB / 1.179 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0186/3.198, allocations: 4.523 MB / 1.184 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/3.214, allocations: 13.71 MB / 1.197 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/3.229, allocations: 0.7543 MB / 1.198 GB, free: 120.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003807/3.233, allocations: 1.067 MB / 1.199 GB, free: 120.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1634 * 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 (2337): * Single equations (assignments): 2320 * 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.003167/3.236, allocations: 1.015 MB / 1.2 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/3.238, allocations: 0.9891 MB / 1.201 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0262/3.264, allocations: 16.7 MB / 1.217 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001823/3.264, allocations: 170 kB / 1.217 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/3.264, allocations: 14.91 kB / 1.217 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/3.264, allocations: 37.97 kB / 1.217 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06501/3.329, allocations: 35.08 MB / 1.252 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/3.329, allocations: 15.66 kB / 1.252 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00788/3.337, allocations: 1.486 MB / 1.253 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005328/3.343, allocations: 1.759 MB / 1.255 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002019/3.345, allocations: 34.53 kB / 1.255 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/3.36, allocations: 12.14 MB / 1.267 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/3.36, allocations: 23.88 kB / 1.267 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03535/3.395, allocations: 28.8 MB / 1.295 GB, free: 95.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007345/3.403, allocations: 2.247 MB / 1.297 GB, free: 94.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003612/3.406, allocations: 20.89 kB / 1.297 GB, free: 94.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007321/3.414, allocations: 440 kB / 1.297 GB, free: 94.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/3.416, allocations: 498.4 kB / 1.298 GB, free: 94.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009708/3.417, allocations: 218.8 kB / 1.298 GB, free: 94.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01021/3.427, allocations: 5.541 MB / 1.304 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.81e-07/3.427, allocations: 0 / 1.304 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01668/3.444, allocations: 2.984 MB / 1.306 GB, free: 88.73 MB / 0.5417 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 (704): * Single equations (assignments): 687 * 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.001301/3.445, allocations: 215.2 kB / 1.307 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02781/3.473, allocations: 19.12 MB / 1.325 GB, free: 71.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/3.473, allocations: 4 kB / 1.325 GB, free: 71.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/3.485, allocations: 7.91 MB / 1.333 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007101/3.492, allocations: 0.9398 MB / 1.334 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3649/3.857, allocations: 29.81 MB / 1.363 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03188/3.889, allocations: 10.57 MB / 1.373 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02363/3.913, allocations: 7.193 MB / 1.38 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004294/3.917, allocations: 0.7256 MB / 1.381 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of SimCode: time 8.81e-07/3.917, allocations: 0 / 1.381 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.1836/4.101, allocations: 88.05 MB / 1.467 GB, free: 105.4 MB / 0.5417 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)