Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01017/0.01017, allocations: 98.06 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.685/1.685, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3657/0.3657, allocations: 39.95 MB / 309.8 MB, free: 9.242 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.2. 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.001947/0.001947, allocations: 71.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4089, allocations: 56.88 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01576/0.4247, allocations: 14.27 MB / 0.4951 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4384, allocations: 4.658 MB / 0.4996 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004904/0.4434, allocations: 96.09 kB / 0.4997 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00779/0.4512, allocations: 4.223 MB / 0.5038 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007696/0.4589, allocations: 2.262 MB / 0.506 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.4615, allocations: 0.9411 MB / 0.5069 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01171/0.4732, allocations: 5.885 MB / 0.5127 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00952/0.4828, allocations: 5.307 MB / 0.5179 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/0.4884, allocations: 2.208 MB / 0.52 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005265/0.4937, allocations: 2.933 MB / 0.5229 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002123/0.4959, allocations: 496 kB / 0.5234 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.5017, allocations: 1.366 MB / 0.5247 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005329/0.5071, allocations: 2.642 MB / 0.5273 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006341/0.5135, allocations: 3.003 MB / 0.5302 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.5291, allocations: 9.602 MB / 0.5396 GB, free: 4.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.5292, allocations: 0 / 0.5396 GB, free: 4.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5292, allocations: 0 / 0.5396 GB, free: 4.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004015/0.5296, allocations: 0 / 0.5396 GB, free: 4.262 MB / 414.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.02155/0.5512, allocations: 6.505 MB / 0.5459 GB, free: 13.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.5512, allocations: 11.89 kB / 0.546 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.5636, allocations: 2.653 MB / 0.5485 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009427/0.5731, allocations: 4.053 MB / 0.5525 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.5735, allocations: 320.5 kB / 0.5528 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/0.5754, allocations: 443.9 kB / 0.5532 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/0.6015, allocations: 12.24 MB / 0.5652 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.6017, allocations: 59.52 kB / 0.5652 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007344/0.6024, allocations: 199.8 kB / 0.5654 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.6063, allocations: 2.206 MB / 0.5676 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.629, allocations: 10.54 MB / 0.5779 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.067/0.696, allocations: 47.44 MB / 0.6242 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.7077, allocations: 4.591 MB / 0.6287 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/0.7116, allocations: 2.651 MB / 0.6313 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3553/1.067, allocations: 10.45 MB / 0.6415 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/1.067, allocations: 58.2 kB / 0.6415 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 4.669e-06/1.067, allocations: 1.156 kB / 0.6415 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.06064/1.128, allocations: 21.29 MB / 0.6623 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/1.128, allocations: 212 kB / 0.6625 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008989/1.137, allocations: 4.83 MB / 0.6673 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00059/1.137, allocations: 61.45 kB / 0.6673 GB, free: 113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002649/1.14, allocations: 3.867 MB / 0.6711 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.141, allocations: 0.8661 MB / 0.6719 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/1.143, allocations: 1.402 MB / 0.6733 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/1.143, allocations: 301.1 kB / 0.6736 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.147, allocations: 2.581 MB / 0.6761 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/1.152, allocations: 6.554 MB / 0.6825 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009306/1.161, allocations: 9.803 MB / 0.6921 GB, free: 90.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.161, allocations: 40 kB / 0.6921 GB, free: 90.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01905/1.18, allocations: 10.28 MB / 0.7022 GB, free: 80.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/1.18, allocations: 69 kB / 0.7022 GB, free: 80.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/1.18, allocations: 136.1 kB / 0.7024 GB, free: 79.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/1.184, allocations: 1.623 MB / 0.7039 GB, free: 78.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/1.189, allocations: 1.566 MB / 0.7055 GB, free: 76.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.199, allocations: 10.26 MB / 0.7155 GB, free: 66.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00615/1.206, allocations: 395.3 kB / 0.7159 GB, free: 65.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.207, allocations: 407.7 kB / 0.7163 GB, free: 65.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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.005548/1.212, allocations: 2.576 MB / 0.7188 GB, free: 62.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.214, allocations: 445 kB / 0.7192 GB, free: 62.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/1.223, allocations: 4.629 MB / 0.7237 GB, free: 57.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.223, allocations: 24 kB / 0.7237 GB, free: 57.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.223, allocations: 8 kB / 0.7238 GB, free: 57.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/1.223, allocations: 11.95 kB / 0.7238 GB, free: 57.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.248, allocations: 10.44 MB / 0.734 GB, free: 47.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.248, allocations: 0 / 0.734 GB, free: 47.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/1.25, allocations: 343.5 kB / 0.7343 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003882/1.254, allocations: 1.363 MB / 0.7356 GB, free: 45.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003525/1.254, allocations: 36 kB / 0.7356 GB, free: 45.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009978/1.264, allocations: 9.397 MB / 0.7448 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.264, allocations: 3.938 kB / 0.7448 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.277, allocations: 7.585 MB / 0.7522 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/1.279, allocations: 0.7948 MB / 0.753 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.281, allocations: 39.92 kB / 0.7531 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.284, allocations: 135.8 kB / 0.7532 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/1.284, allocations: 137.2 kB / 0.7533 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.285, allocations: 55.98 kB / 0.7534 GB, free: 27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00605/1.291, allocations: 3.041 MB / 0.7563 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.291, allocations: 0 / 0.7563 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007345/1.298, allocations: 1.266 MB / 0.7576 GB, free: 22.7 MB / 0.4981 GB 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.00049/1.299, allocations: 179.8 kB / 0.7577 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00906/1.308, allocations: 6.392 MB / 0.764 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.308, allocations: 1.812 kB / 0.764 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.311, allocations: 2.199 MB / 0.7661 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.314, allocations: 0.5588 MB / 0.7667 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.333, allocations: 11.91 MB / 0.7783 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/1.338, allocations: 4.007 MB / 0.7822 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005076/1.343, allocations: 2.083 MB / 0.7843 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/1.344, allocations: 287.4 kB / 0.7845 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/1.344, allocations: 4 kB / 0.7845 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of Templates: time 0.08341/1.427, allocations: 43.96 MB / 0.8275 GB, free: 15.11 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)