Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 171.5 kB / 7.638 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.328/1.328, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001639/0.001639, allocations: 103.5 kB / 218 MB, free: 8.402 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.1835/0.1835, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.798e-05, allocations: 2.188 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 48.73 MB / 398.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5071, allocations: 94.49 MB / 493.2 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.5074, allocations: 83.88 kB / 493.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2488/0.7562, allocations: 103.9 MB / 0.5832 GB, free: 5.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7563, allocations: 0 / 0.5832 GB, free: 5.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003248/0.7566, allocations: 108 kB / 0.5833 GB, free: 5.852 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.0185/0.7751, allocations: 5.255 MB / 0.5885 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7752, allocations: 12.03 kB / 0.5885 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02797/0.8031, allocations: 6.9 MB / 0.5952 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/0.8204, allocations: 6.852 MB / 0.6019 GB, free: 2.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.8207, allocations: 176 kB / 0.6021 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.8227, allocations: 319.8 kB / 0.6024 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01335/0.836, allocations: 7.217 MB / 0.6094 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2817/1.118, allocations: 11.14 MB / 0.6203 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003146/1.118, allocations: 70.44 kB / 0.6204 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/1.119, allocations: 31.47 kB / 0.6204 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/1.121, allocations: 1.125 MB / 0.6215 GB, free: 74.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06309/1.184, allocations: 55.35 MB / 0.6755 GB, free: 41.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/1.189, allocations: 3.393 MB / 0.6789 GB, free: 40.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/1.191, allocations: 2.166 MB / 0.681 GB, free: 40.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/1.191, allocations: 339.5 kB / 0.6813 GB, free: 40.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.191, allocations: 56.22 kB / 0.6813 GB, free: 40.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 5.431e-06/1.191, allocations: 2.531 kB / 0.6814 GB, free: 40.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.03627/1.228, allocations: 19.6 MB / 0.7005 GB, free: 34.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/1.228, allocations: 204.6 kB / 0.7007 GB, free: 33.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/1.234, allocations: 3.665 MB / 0.7043 GB, free: 32.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003472/1.234, allocations: 25.7 kB / 0.7043 GB, free: 32.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/1.236, allocations: 3.817 MB / 0.708 GB, free: 29.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.237, allocations: 0.8368 MB / 0.7088 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/1.237, allocations: 0 / 0.7088 GB, free: 29.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003683/1.238, allocations: 0.5979 MB / 0.7094 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/1.241, allocations: 2.149 MB / 0.7115 GB, free: 27.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/1.246, allocations: 6.221 MB / 0.7176 GB, free: 21.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/1.251, allocations: 3.636 MB / 0.7211 GB, free: 20.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-05/1.251, allocations: 41.91 kB / 0.7212 GB, free: 20.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01316/1.264, allocations: 8.195 MB / 0.7292 GB, free: 17.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.264, allocations: 70.72 kB / 0.7293 GB, free: 17.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.264, allocations: 145.3 kB / 0.7294 GB, free: 17.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.267, allocations: 0.954 MB / 0.7303 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/1.272, allocations: 1.569 MB / 0.7319 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008164/1.28, allocations: 7.26 MB / 0.7389 GB, free: 28.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006183/1.286, allocations: 227.6 kB / 0.7392 GB, free: 28.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.287, allocations: 418.1 kB / 0.7396 GB, free: 28.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (831): * Single equations (assignments): 826 * Array equations: 3 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.289, allocations: 492.2 kB / 0.74 GB, free: 28.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008769/1.289, allocations: 400.5 kB / 0.7404 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/1.295, allocations: 3.441 MB / 0.7438 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.295, allocations: 22.41 kB / 0.7438 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.295, allocations: 11.36 kB / 0.7438 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/1.295, allocations: 17.88 kB / 0.7438 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.31, allocations: 8.483 MB / 0.7521 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.31, allocations: 4 kB / 0.7521 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.312, allocations: 366.8 kB / 0.7525 GB, free: 21.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.314, allocations: 0.6683 MB / 0.7531 GB, free: 21.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.314, allocations: 15.84 kB / 0.7531 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006862/1.321, allocations: 6.207 MB / 0.7592 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/1.321, allocations: 4 kB / 0.7592 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.331, allocations: 6.262 MB / 0.7653 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/1.334, allocations: 0.7135 MB / 0.766 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005954/1.334, allocations: 7.516 kB / 0.766 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.336, allocations: 83.92 kB / 0.7661 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/1.336, allocations: 143.2 kB / 0.7662 GB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.336, allocations: 57.41 kB / 0.7663 GB, free: 8.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00527/1.342, allocations: 2.488 MB / 0.7687 GB, free: 6.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.342, allocations: 0 / 0.7687 GB, free: 6.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007688/1.349, allocations: 1.032 MB / 0.7697 GB, free: 5.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00054/1.35, allocations: 144.1 kB / 0.7699 GB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009792/1.36, allocations: 5.435 MB / 0.7752 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.36, allocations: 0 / 0.7752 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005526/1.365, allocations: 2.121 MB / 0.7772 GB, free: 15.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.368, allocations: 443 kB / 0.7777 GB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.388, allocations: 9.234 MB / 0.7867 GB, free: 6.867 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004713/1.393, allocations: 4.108 MB / 0.7907 GB, free: 3.793 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005621/1.399, allocations: 2.177 MB / 0.7928 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/1.399, allocations: 278.2 kB / 0.7931 GB, free: 2.16 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/1.399, allocations: 0 / 0.7931 GB, free: 2.16 MB / 458.7 MB Notification: Performance of Templates: time 0.3183/1.718, allocations: 36.51 MB / 0.8287 GB, free: 98.23 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)