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.001128/0.001128, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00148/0.00148, allocations: 168.7 kB / 15.95 MB, free: 204 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.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4197/0.4197, allocations: 40 MB / 310.4 MB, free: 9.668 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.0005988/0.0005989, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 57.98 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3435/0.4965, allocations: 63.71 MB / 0.4888 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0355/0.5321, allocations: 13.4 MB / 0.5019 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0207/0.5528, allocations: 304 kB / 0.5022 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0135/0.5664, allocations: 3.309 MB / 0.5054 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04382/0.6103, allocations: 9.726 MB / 0.5149 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006946/0.6172, allocations: 0.8037 MB / 0.5157 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05144/0.6687, allocations: 34.98 MB / 0.5498 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.6824, allocations: 6.624 MB / 0.5563 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/0.6877, allocations: 1.724 MB / 0.558 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.6932, allocations: 2.652 MB / 0.5606 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.6951, allocations: 192 kB / 0.5608 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004598/0.6997, allocations: 0.9792 MB / 0.5617 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004952/0.7047, allocations: 2.264 MB / 0.5639 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003235/0.708, allocations: 1.084 MB / 0.565 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.7195, allocations: 7.415 MB / 0.5722 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.7195, allocations: 0 / 0.5722 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.7195, allocations: 0 / 0.5722 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004454/0.72, allocations: 4 kB / 0.5722 GB, free: 13.07 MB / 446.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.01574/0.7358, allocations: 5.278 MB / 0.5774 GB, free: 7.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7358, allocations: 12.03 kB / 0.5774 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.748, allocations: 2.66 MB / 0.58 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00965/0.7576, allocations: 3.901 MB / 0.5838 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.7581, allocations: 312.1 kB / 0.5841 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.7603, allocations: 451.6 kB / 0.5845 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02861/0.7889, allocations: 12.22 MB / 0.5965 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/0.7894, allocations: 63.42 kB / 0.5965 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.7911, allocations: 199.8 kB / 0.5967 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003985/0.7951, allocations: 2.199 MB / 0.5989 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/0.8198, allocations: 10.52 MB / 0.6091 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3586/1.178, allocations: 47.56 MB / 0.6556 GB, free: 114.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.189, allocations: 4.588 MB / 0.6601 GB, free: 114.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.192, allocations: 2.646 MB / 0.6627 GB, free: 113.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/1.208, allocations: 10.43 MB / 0.6728 GB, free: 108.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/1.209, allocations: 57.41 kB / 0.6729 GB, free: 108.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.71e-06/1.209, allocations: 0 / 0.6729 GB, free: 108.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.06746/1.276, allocations: 21 MB / 0.6934 GB, free: 100.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.276, allocations: 204.7 kB / 0.6936 GB, free: 100.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.29, allocations: 4.804 MB / 0.6983 GB, free: 98.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006571/1.29, allocations: 57.58 kB / 0.6983 GB, free: 98.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.294, allocations: 3.718 MB / 0.702 GB, free: 95.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.295, allocations: 0.8385 MB / 0.7028 GB, free: 95.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008849/1.296, allocations: 138.8 kB / 0.7029 GB, free: 95.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006723/1.297, allocations: 0.5974 MB / 0.7035 GB, free: 94.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.301, allocations: 2.558 MB / 0.706 GB, free: 93.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/1.308, allocations: 6.534 MB / 0.7124 GB, free: 87.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/1.314, allocations: 3.992 MB / 0.7163 GB, free: 86.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/1.314, allocations: 40.62 kB / 0.7163 GB, free: 86.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01978/1.334, allocations: 10.21 MB / 0.7263 GB, free: 79.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/1.334, allocations: 64 kB / 0.7264 GB, free: 79.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002717/1.334, allocations: 140 kB / 0.7265 GB, free: 79.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/1.339, allocations: 1.639 MB / 0.7281 GB, free: 77.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/1.344, allocations: 1.567 MB / 0.7296 GB, free: 75.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/1.355, allocations: 9.55 MB / 0.7389 GB, free: 65.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00649/1.362, allocations: 395.5 kB / 0.7393 GB, free: 65.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/1.363, allocations: 404.8 kB / 0.7397 GB, free: 65.2 MB / 494.1 MB 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 (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 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005867/1.369, allocations: 2.576 MB / 0.7422 GB, free: 62.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.37, allocations: 422.5 kB / 0.7426 GB, free: 62.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/1.379, allocations: 4.625 MB / 0.7471 GB, free: 57.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/1.379, allocations: 24 kB / 0.7472 GB, free: 57.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/1.379, allocations: 8 kB / 0.7472 GB, free: 57.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/1.379, allocations: 11.92 kB / 0.7472 GB, free: 57.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/1.401, allocations: 10.5 MB / 0.7574 GB, free: 46.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.401, allocations: 0 / 0.7574 GB, free: 46.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.402, allocations: 355.7 kB / 0.7578 GB, free: 46.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003529/1.406, allocations: 1.353 MB / 0.7591 GB, free: 45.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/1.406, allocations: 47.98 kB / 0.7591 GB, free: 45.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009547/1.416, allocations: 8.729 MB / 0.7677 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.416, allocations: 4.062 kB / 0.7677 GB, free: 36.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.427, allocations: 7.548 MB / 0.775 GB, free: 28.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.43, allocations: 0.7883 MB / 0.7758 GB, free: 27.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001506/1.431, allocations: 46.23 kB / 0.7759 GB, free: 27.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.434, allocations: 135.8 kB / 0.776 GB, free: 27.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/1.434, allocations: 137.7 kB / 0.7761 GB, free: 27.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.434, allocations: 58.5 kB / 0.7762 GB, free: 27.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005725/1.44, allocations: 3.017 MB / 0.7791 GB, free: 24.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.44, allocations: 0 / 0.7791 GB, free: 24.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008389/1.448, allocations: 1.263 MB / 0.7804 GB, free: 23.22 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 (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.0007338/1.449, allocations: 170.9 kB / 0.7805 GB, free: 23.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.46, allocations: 6.349 MB / 0.7867 GB, free: 16.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.46, allocations: 4 kB / 0.7867 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.463, allocations: 2.198 MB / 0.7889 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00526/1.469, allocations: 0.523 MB / 0.7894 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/1.494, allocations: 13.87 MB / 0.8029 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009265/1.503, allocations: 4.006 MB / 0.8068 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006673/1.51, allocations: 2.088 MB / 0.8089 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.511, allocations: 279.4 kB / 0.8091 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of SimCode: time 3.166e-06/1.511, allocations: 0 / 0.8091 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.3166/1.828, allocations: 44.04 MB / 0.8521 GB, free: 136.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: