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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001683/0.001684, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.678/1.678, allocations: 205.1 MB / 222 MB, free: 4.73 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.3635/0.3635, allocations: 37.98 MB / 307.3 MB, free: 10.15 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.001468/0.001468, allocations: 59.92 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1533, allocations: 56.48 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3727/0.5261, allocations: 70.21 MB / 0.4895 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04607/0.5722, allocations: 14.05 MB / 0.5032 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02655/0.5989, allocations: 306.1 kB / 0.5035 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008561/0.6075, allocations: 4.232 MB / 0.5076 GB, free: 428 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008631/0.6162, allocations: 2.123 MB / 0.5097 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.6193, allocations: 0.8603 MB / 0.5105 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0204/0.6397, allocations: 8.504 MB / 0.5188 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.6502, allocations: 5.174 MB / 0.5239 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006618/0.6568, allocations: 1.943 MB / 0.5258 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/0.6648, allocations: 3.109 MB / 0.5288 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001443/0.6663, allocations: 342.1 kB / 0.5292 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.6704, allocations: 1.279 MB / 0.5304 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.674, allocations: 2.521 MB / 0.5329 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005653/0.6797, allocations: 2.862 MB / 0.5357 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.6923, allocations: 9.175 MB / 0.5446 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.6924, allocations: 0 / 0.5446 GB, free: 8.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6924, allocations: 0 / 0.5446 GB, free: 8.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000457/0.6929, allocations: 0 / 0.5446 GB, free: 8.824 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.02315/0.7161, allocations: 6.342 MB / 0.5508 GB, free: 2.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.122e-05/0.7162, allocations: 12.03 kB / 0.5508 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.7299, allocations: 2.598 MB / 0.5534 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.7429, allocations: 3.961 MB / 0.5572 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/0.7435, allocations: 316.5 kB / 0.5575 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002891/0.7464, allocations: 428 kB / 0.5579 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03444/0.7809, allocations: 11.99 MB / 0.5697 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005264/0.7815, allocations: 59.52 kB / 0.5697 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/0.7843, allocations: 191.8 kB / 0.5699 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004607/0.7889, allocations: 2.21 MB / 0.572 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/0.8171, allocations: 10.13 MB / 0.5819 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09117/0.9083, allocations: 47.11 MB / 0.6279 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2931/1.202, allocations: 4.352 MB / 0.6322 GB, free: 146.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/1.205, allocations: 2.523 MB / 0.6347 GB, free: 146.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/1.219, allocations: 9.971 MB / 0.6444 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.219, allocations: 58.59 kB / 0.6444 GB, free: 141.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 5.25e-06/1.219, allocations: 3.406 kB / 0.6445 GB, free: 141.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05635/1.276, allocations: 21.42 MB / 0.6654 GB, free: 134 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.276, allocations: 204 kB / 0.6656 GB, free: 133.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.287, allocations: 4.83 MB / 0.6703 GB, free: 132 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000875/1.288, allocations: 57.02 kB / 0.6703 GB, free: 132 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.291, allocations: 3.723 MB / 0.674 GB, free: 129.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001545/1.293, allocations: 0.8354 MB / 0.6748 GB, free: 128.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/1.295, allocations: 1.395 MB / 0.6761 GB, free: 127.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.295, allocations: 305.8 kB / 0.6764 GB, free: 127.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00484/1.3, allocations: 2.568 MB / 0.6789 GB, free: 126.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00671/1.307, allocations: 6.556 MB / 0.6854 GB, free: 120.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.318, allocations: 9.794 MB / 0.6949 GB, free: 112.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/1.318, allocations: 37.22 kB / 0.6949 GB, free: 112.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0219/1.34, allocations: 10.24 MB / 0.705 GB, free: 106.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/1.34, allocations: 64.22 kB / 0.705 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002224/1.341, allocations: 140 kB / 0.7051 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004248/1.345, allocations: 1.622 MB / 0.7067 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005259/1.35, allocations: 1.569 MB / 0.7083 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.361, allocations: 9.546 MB / 0.7176 GB, free: 94.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008199/1.369, allocations: 379.5 kB / 0.7179 GB, free: 94.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/1.371, allocations: 408.4 kB / 0.7183 GB, free: 93.64 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.007104/1.378, allocations: 2.58 MB / 0.7209 GB, free: 91.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.38, allocations: 422.5 kB / 0.7213 GB, free: 90.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009908/1.39, allocations: 4.598 MB / 0.7257 GB, free: 86.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/1.39, allocations: 27.94 kB / 0.7258 GB, free: 86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-05/1.39, allocations: 15.88 kB / 0.7258 GB, free: 85.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/1.39, allocations: 11.95 kB / 0.7258 GB, free: 85.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.414, allocations: 10.44 MB / 0.736 GB, free: 75.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/1.414, allocations: 7.938 kB / 0.736 GB, free: 75.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.416, allocations: 343.5 kB / 0.7363 GB, free: 75.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/1.419, allocations: 1.355 MB / 0.7376 GB, free: 73.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/1.42, allocations: 43.81 kB / 0.7377 GB, free: 73.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009662/1.429, allocations: 8.733 MB / 0.7462 GB, free: 64.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.429, allocations: 4 kB / 0.7462 GB, free: 64.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.441, allocations: 7.512 MB / 0.7536 GB, free: 57.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002741/1.444, allocations: 0.7844 MB / 0.7543 GB, free: 56.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.446, allocations: 42.86 kB / 0.7544 GB, free: 56.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.449, allocations: 135.3 kB / 0.7545 GB, free: 56.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000621/1.45, allocations: 133.8 kB / 0.7546 GB, free: 56.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/1.45, allocations: 55.98 kB / 0.7547 GB, free: 56.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006067/1.456, allocations: 3.045 MB / 0.7577 GB, free: 53.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.456, allocations: 0 / 0.7577 GB, free: 53.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009859/1.466, allocations: 1.271 MB / 0.7589 GB, free: 51.74 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.001083/1.467, allocations: 170.4 kB / 0.7591 GB, free: 51.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01207/1.479, allocations: 6.335 MB / 0.7652 GB, free: 45.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.479, allocations: 0 / 0.7652 GB, free: 45.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/1.483, allocations: 2.183 MB / 0.7674 GB, free: 43.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008539/1.492, allocations: 0.5219 MB / 0.7679 GB, free: 42.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.52, allocations: 14.38 MB / 0.7819 GB, free: 28.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008242/1.528, allocations: 4.003 MB / 0.7858 GB, free: 24.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006463/1.535, allocations: 2.091 MB / 0.7879 GB, free: 22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.536, allocations: 287.4 kB / 0.7882 GB, free: 21.72 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.536, allocations: 0 / 0.7882 GB, free: 21.72 MB / 494.1 MB Notification: Performance of Templates: time 0.3325/1.869, allocations: 45.72 MB / 0.8328 GB, free: 136.4 MB / 0.4981 GB 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)