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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.00139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4095/0.4095, allocations: 38 MB / 307.8 MB, free: 9.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 69.19 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1451, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01561/0.1607, allocations: 14.27 MB / 446 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1726, allocations: 4.657 MB / 450.6 MB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.1767, allocations: 95.75 kB / 450.7 MB, free: 3.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2912/0.468, allocations: 4.216 MB / 455 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.4748, allocations: 2.26 MB / 457.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.4773, allocations: 0.9327 MB / 458.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008563/0.4859, allocations: 5.869 MB / 464 MB, free: 35.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006449/0.4923, allocations: 5.291 MB / 469.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.4964, allocations: 2.199 MB / 471.5 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.501, allocations: 2.922 MB / 474.4 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.5023, allocations: 494.8 kB / 474.9 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.5054, allocations: 1.361 MB / 476.3 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.5078, allocations: 2.634 MB / 478.9 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003343/0.5112, allocations: 2.997 MB / 481.9 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.5255, allocations: 9.295 MB / 491.2 MB, free: 26.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5256, allocations: 2.109 kB / 491.2 MB, free: 26.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5256, allocations: 4 kB / 491.2 MB, free: 26.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00055/0.5262, allocations: 0 / 491.2 MB, free: 26.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.0273/0.5535, allocations: 6.338 MB / 497.5 MB, free: 23.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5535, allocations: 16.11 kB / 497.6 MB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.5678, allocations: 2.599 MB / 0.4884 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.5796, allocations: 3.968 MB / 0.4923 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.58, allocations: 314.3 kB / 0.4926 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002598/0.5826, allocations: 418.8 kB / 0.493 GB, free: 20.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03287/0.6155, allocations: 11.99 MB / 0.5047 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003433/0.6159, allocations: 61.27 kB / 0.5048 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/0.6174, allocations: 195.8 kB / 0.505 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005695/0.6232, allocations: 2.21 MB / 0.5071 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/0.6542, allocations: 10.12 MB / 0.517 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07862/0.7329, allocations: 47.09 MB / 0.563 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.7452, allocations: 4.369 MB / 0.5673 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/0.7496, allocations: 2.512 MB / 0.5697 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02149/0.7711, allocations: 9.979 MB / 0.5795 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.7712, allocations: 51.88 kB / 0.5795 GB, free: 280 kB / 446.1 MB Notification: Performance of pre-optimization done (n=191): time 7.043e-06/0.7712, allocations: 4 kB / 0.5795 GB, free: 276 kB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.07508/0.8463, allocations: 21.42 MB / 0.6004 GB, free: 10.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.8465, allocations: 205.2 kB / 0.6006 GB, free: 10.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/0.8577, allocations: 4.826 MB / 0.6053 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008236/0.8586, allocations: 57.7 kB / 0.6054 GB, free: 5.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003774/0.8623, allocations: 3.736 MB / 0.609 GB, free: 1.887 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/0.864, allocations: 0.833 MB / 0.6099 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/0.8666, allocations: 1.396 MB / 0.6112 GB, free: 15.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8667, allocations: 305.1 kB / 0.6115 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/0.871, allocations: 2.567 MB / 0.614 GB, free: 12.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008361/0.8794, allocations: 6.543 MB / 0.6204 GB, free: 4.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3123/1.192, allocations: 9.79 MB / 0.63 GB, free: 135.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.192, allocations: 41.78 kB / 0.63 GB, free: 135.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02062/1.213, allocations: 10.24 MB / 0.64 GB, free: 133.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/1.213, allocations: 65.12 kB / 0.6401 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/1.213, allocations: 140.9 kB / 0.6402 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/1.217, allocations: 1.626 MB / 0.6418 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005518/1.223, allocations: 1.562 MB / 0.6433 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.234, allocations: 10.27 MB / 0.6533 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/1.24, allocations: 381.3 kB / 0.6537 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.242, allocations: 405.7 kB / 0.6541 GB, free: 126.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 830 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006062/1.248, allocations: 2.572 MB / 0.6566 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.249, allocations: 422.3 kB / 0.657 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009388/1.259, allocations: 4.602 MB / 0.6615 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/1.259, allocations: 23.5 kB / 0.6615 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.259, allocations: 7.219 kB / 0.6615 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.259, allocations: 11.19 kB / 0.6615 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.283, allocations: 10.46 MB / 0.6718 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.283, allocations: 1.281 kB / 0.6718 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.285, allocations: 346.1 kB / 0.6721 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00372/1.289, allocations: 1.358 MB / 0.6734 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.289, allocations: 35.56 kB / 0.6734 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009801/1.299, allocations: 9.402 MB / 0.6826 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.299, allocations: 7.141 kB / 0.6826 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.311, allocations: 7.502 MB / 0.69 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.313, allocations: 0.7777 MB / 0.6907 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007217/1.314, allocations: 35.19 kB / 0.6908 GB, free: 110.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.316, allocations: 130.3 kB / 0.6909 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/1.316, allocations: 138.7 kB / 0.691 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.316, allocations: 68.98 kB / 0.6911 GB, free: 110.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005241/1.321, allocations: 3.041 MB / 0.694 GB, free: 107.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.321, allocations: 4 kB / 0.6941 GB, free: 107.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00817/1.33, allocations: 1.261 MB / 0.6953 GB, free: 106.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005672/1.33, allocations: 166.5 kB / 0.6954 GB, free: 106 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0136/1.344, allocations: 7.766 MB / 0.703 GB, free: 98.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.344, allocations: 5.969 kB / 0.703 GB, free: 98.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.347, allocations: 2.182 MB / 0.7052 GB, free: 96.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/1.351, allocations: 0.5611 MB / 0.7057 GB, free: 95.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.371, allocations: 11.84 MB / 0.7173 GB, free: 83.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/1.375, allocations: 4.01 MB / 0.7212 GB, free: 79.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005025/1.38, allocations: 2.088 MB / 0.7232 GB, free: 77.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/1.381, allocations: 291.4 kB / 0.7235 GB, free: 77.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.362e-06/1.381, allocations: 0 / 0.7235 GB, free: 77.25 MB / 494.1 MB Notification: Performance of Templates: time 0.08181/1.462, allocations: 47.57 MB / 0.77 GB, free: 29.78 MB / 494.1 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)