Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009518/0.0009517, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4263/0.4263, allocations: 39.99 MB / 310.4 MB, free: 9.922 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.0005751/0.0005752, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.152, allocations: 57.96 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.3472/0.4993, allocations: 79.35 MB / 0.5041 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04819/0.5475, allocations: 16.41 MB / 0.5201 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0224/0.57, allocations: 386.9 kB / 0.5204 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0187/0.5887, allocations: 4.116 MB / 0.5245 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0432/0.632, allocations: 12.05 MB / 0.5362 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006793/0.6388, allocations: 1.047 MB / 0.5373 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.07406/0.7129, allocations: 51.17 MB / 0.5872 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.7286, allocations: 7.986 MB / 0.595 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00595/0.7347, allocations: 2.195 MB / 0.5972 GB, free: 3.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.742, allocations: 3.377 MB / 0.6005 GB, free: 312 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.7436, allocations: 243.9 kB / 0.6007 GB, free: 68 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.7469, allocations: 1.014 MB / 0.6017 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003592/0.7505, allocations: 2.887 MB / 0.6045 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.7528, allocations: 1.341 MB / 0.6058 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.7648, allocations: 9.044 MB / 0.6147 GB, free: 1.738 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.7649, allocations: 0 / 0.6147 GB, free: 1.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.686e-06/0.7649, allocations: 0 / 0.6147 GB, free: 1.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000555/0.7655, allocations: 0 / 0.6147 GB, free: 1.738 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.01978/0.7853, allocations: 6.818 MB / 0.6213 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.7853, allocations: 8.031 kB / 0.6213 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03137/0.8167, allocations: 4.239 MB / 0.6255 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.8294, allocations: 5.047 MB / 0.6304 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.8298, allocations: 385.9 kB / 0.6308 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/0.8321, allocations: 0.5269 MB / 0.6313 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.286/1.118, allocations: 15.84 MB / 0.6467 GB, free: 141.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002434/1.118, allocations: 70.97 kB / 0.6468 GB, free: 141.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008697/1.119, allocations: 238.3 kB / 0.647 GB, free: 141.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004459/1.124, allocations: 2.905 MB / 0.6499 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/1.157, allocations: 14.27 MB / 0.6638 GB, free: 136.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08719/1.245, allocations: 62.81 MB / 0.7251 GB, free: 87.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.261, allocations: 7.284 MB / 0.7323 GB, free: 79.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005835/1.267, allocations: 5.558 MB / 0.7377 GB, free: 74.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02242/1.289, allocations: 18.34 MB / 0.7556 GB, free: 55.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/1.289, allocations: 73.17 kB / 0.7557 GB, free: 55.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=310): time 7.725e-06/1.289, allocations: 0 / 0.7557 GB, free: 55.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=394): time 0.1417/1.431, allocations: 60.36 MB / 0.8146 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/1.431, allocations: 329.3 kB / 0.8149 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009486/1.441, allocations: 5.862 MB / 0.8206 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.442, allocations: 81.7 kB / 0.8207 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003647/1.446, allocations: 4.339 MB / 0.825 GB, free: 368 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.2408/1.686, allocations: 1.429 MB / 0.8264 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.688, allocations: 178.6 kB / 0.8265 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0004345/1.688, allocations: 0.6788 MB / 0.8272 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007819/1.696, allocations: 5.161 MB / 0.8322 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.707, allocations: 9.612 MB / 0.8416 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.719, allocations: 6.919 MB / 0.8484 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.719, allocations: 43.91 kB / 0.8484 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.04598/1.765, allocations: 19.55 MB / 0.8675 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/1.765, allocations: 72.56 kB / 0.8676 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002811/1.766, allocations: 154.4 kB / 0.8677 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/1.782, allocations: 5.466 MB / 0.8731 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009608/1.792, allocations: 2.085 MB / 0.8751 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04364/1.836, allocations: 27.42 MB / 0.9019 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/1.848, allocations: 0.6468 MB / 0.9025 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/1.851, allocations: 0.4909 MB / 0.903 GB, free: 114.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 57 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1042 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,43.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01238/1.863, allocations: 3.171 MB / 0.9061 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003343/1.866, allocations: 0.5361 MB / 0.9066 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03622/1.903, allocations: 13.99 MB / 0.9203 GB, free: 97.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/1.903, allocations: 43.94 kB / 0.9203 GB, free: 97.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/1.903, allocations: 16 kB / 0.9203 GB, free: 97.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001805/1.903, allocations: 15.94 kB / 0.9204 GB, free: 97.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05015/1.953, allocations: 24.23 MB / 0.944 GB, free: 73.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/1.954, allocations: 0 / 0.944 GB, free: 73.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003917/1.957, allocations: 0.6971 MB / 0.9447 GB, free: 72.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0135/1.971, allocations: 5.215 MB / 0.9498 GB, free: 67.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002249/1.973, allocations: 72.22 kB / 0.9499 GB, free: 67.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03498/2.008, allocations: 26.63 MB / 0.9759 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.008, allocations: 7.953 kB / 0.9759 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03229/2.041, allocations: 20.68 MB / 0.9961 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00581/2.047, allocations: 1.497 MB / 0.9975 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/2.048, allocations: 67.44 kB / 0.9976 GB, free: 17.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004547/2.053, allocations: 383.4 kB / 0.998 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009262/2.054, allocations: 250.8 kB / 0.9982 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003484/2.054, allocations: 99.98 kB / 0.9983 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006268/2.061, allocations: 3.746 MB / 1.002 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/2.061, allocations: 0 / 1.002 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01046/2.071, allocations: 2.009 MB / 1.004 GB, free: 11.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (305): * Single equations (assignments): 299 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/2.072, allocations: 210.7 kB / 1.004 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2484/2.321, allocations: 13.48 MB / 1.017 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.321, allocations: 3.344 kB / 1.017 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01855/2.339, allocations: 6.433 MB / 1.024 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007736/2.347, allocations: 0.7183 MB / 1.024 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04687/2.394, allocations: 20.75 MB / 1.045 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/2.406, allocations: 4.952 MB / 1.049 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01604/2.422, allocations: 2.898 MB / 1.052 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004065/2.426, allocations: 395.6 kB / 1.053 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.425e-06/2.426, allocations: 0 / 1.053 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1662/2.592, allocations: 89.15 MB / 1.14 GB, free: 57.99 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1) Environment - environmentSimulation: