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.0009504/0.0009503, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008884/0.008884, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.754/1.754, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.4077/0.4077, allocations: 40 MB / 310.7 MB, free: 9.59 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.0009716/0.0009716, allocations: 20 kB / 379.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1927, allocations: 57.95 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3469/0.5396, allocations: 68.52 MB / 0.4941 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.5726, allocations: 13.98 MB / 0.5077 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01932/0.592, allocations: 304.4 kB / 0.508 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.5944, allocations: 0.5133 MB / 0.5085 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.6036, allocations: 2.133 MB / 0.5106 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.6065, allocations: 0.8566 MB / 0.5114 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0173/0.6238, allocations: 8.528 MB / 0.5198 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.6402, allocations: 7.427 MB / 0.527 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.6452, allocations: 1.596 MB / 0.5286 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00551/0.6507, allocations: 2.67 MB / 0.5312 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.6523, allocations: 192.4 kB / 0.5314 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.6561, allocations: 1.131 MB / 0.5325 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.6601, allocations: 2.306 MB / 0.5347 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00723/0.6674, allocations: 2.622 MB / 0.5373 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.6828, allocations: 8.887 MB / 0.546 GB, free: 8.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6829, allocations: 4 kB / 0.546 GB, free: 8.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6829, allocations: 0 / 0.546 GB, free: 8.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004146/0.6833, allocations: 0 / 0.546 GB, free: 8.219 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.01429/0.6976, allocations: 5.208 MB / 0.551 GB, free: 2.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6977, allocations: 12.03 kB / 0.5511 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.7109, allocations: 2.669 MB / 0.5537 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009028/0.7199, allocations: 3.965 MB / 0.5575 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.7203, allocations: 316.5 kB / 0.5578 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.7222, allocations: 451.9 kB / 0.5583 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.7498, allocations: 12.26 MB / 0.5702 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002714/0.7501, allocations: 59.52 kB / 0.5703 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.7516, allocations: 191.8 kB / 0.5705 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004071/0.7557, allocations: 2.199 MB / 0.5726 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.779, allocations: 10.57 MB / 0.583 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06982/0.8489, allocations: 47.6 MB / 0.6294 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2795/1.128, allocations: 4.597 MB / 0.6339 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/1.132, allocations: 2.651 MB / 0.6365 GB, free: 141.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/1.146, allocations: 10.43 MB / 0.6467 GB, free: 136.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.146, allocations: 53 kB / 0.6468 GB, free: 136.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 4.529e-06/1.146, allocations: 0 / 0.6468 GB, free: 136.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05642/1.202, allocations: 21.02 MB / 0.6673 GB, free: 129.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.202, allocations: 205 kB / 0.6675 GB, free: 129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008737/1.211, allocations: 4.828 MB / 0.6722 GB, free: 127.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005032/1.212, allocations: 57.45 kB / 0.6722 GB, free: 127.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.214, allocations: 3.722 MB / 0.6759 GB, free: 124.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.216, allocations: 0.8295 MB / 0.6767 GB, free: 123.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009608/1.217, allocations: 0.5918 MB / 0.6773 GB, free: 123.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.217, allocations: 310 kB / 0.6776 GB, free: 123.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00459/1.221, allocations: 2.584 MB / 0.6801 GB, free: 122.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006611/1.228, allocations: 6.559 MB / 0.6865 GB, free: 116.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.239, allocations: 9.823 MB / 0.6961 GB, free: 108.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001852/1.239, allocations: 37.66 kB / 0.6961 GB, free: 108.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01984/1.259, allocations: 10.28 MB / 0.7062 GB, free: 102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/1.259, allocations: 64 kB / 0.7062 GB, free: 101.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002861/1.259, allocations: 140 kB / 0.7064 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/1.264, allocations: 1.619 MB / 0.7079 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/1.269, allocations: 1.564 MB / 0.7095 GB, free: 99.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.279, allocations: 9.571 MB / 0.7188 GB, free: 90.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00958/1.289, allocations: 391.3 kB / 0.7192 GB, free: 89.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/1.291, allocations: 408 kB / 0.7196 GB, free: 89.26 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 (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.006612/1.298, allocations: 2.575 MB / 0.7221 GB, free: 86.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.299, allocations: 418.6 kB / 0.7225 GB, free: 86.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009407/1.309, allocations: 4.633 MB / 0.727 GB, free: 81.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-05/1.309, allocations: 24 kB / 0.727 GB, free: 81.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-05/1.309, allocations: 8 kB / 0.727 GB, free: 81.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/1.309, allocations: 7.969 kB / 0.727 GB, free: 81.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.332, allocations: 10.52 MB / 0.7373 GB, free: 71.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/1.332, allocations: 0 / 0.7373 GB, free: 71.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.333, allocations: 347.5 kB / 0.7377 GB, free: 70.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/1.337, allocations: 1.359 MB / 0.739 GB, free: 69.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.338, allocations: 43.98 kB / 0.739 GB, free: 69.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009675/1.347, allocations: 8.734 MB / 0.7475 GB, free: 60.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.347, allocations: 4.062 kB / 0.7476 GB, free: 60.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.359, allocations: 7.579 MB / 0.755 GB, free: 52.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/1.362, allocations: 0.7914 MB / 0.7557 GB, free: 51.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.364, allocations: 35.05 kB / 0.7558 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.367, allocations: 139.8 kB / 0.7559 GB, free: 51.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000645/1.367, allocations: 129.8 kB / 0.756 GB, free: 51.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.368, allocations: 63.22 kB / 0.7561 GB, free: 51.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006311/1.374, allocations: 3.045 MB / 0.7591 GB, free: 48.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.455e-06/1.374, allocations: 0 / 0.7591 GB, free: 48.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01008/1.384, allocations: 1.264 MB / 0.7603 GB, free: 47.2 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.001199/1.385, allocations: 176.7 kB / 0.7605 GB, free: 47.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01108/1.396, allocations: 6.381 MB / 0.7667 GB, free: 40.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.397, allocations: 0 / 0.7667 GB, free: 40.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.4, allocations: 2.207 MB / 0.7688 GB, free: 38.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/1.406, allocations: 0.5271 MB / 0.7694 GB, free: 37.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.428, allocations: 14.48 MB / 0.7835 GB, free: 23.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006222/1.434, allocations: 3.999 MB / 0.7874 GB, free: 19.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005663/1.44, allocations: 2.089 MB / 0.7894 GB, free: 17.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.441, allocations: 283.4 kB / 0.7897 GB, free: 16.99 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/1.441, allocations: 0 / 0.7897 GB, free: 16.99 MB / 494.1 MB Notification: Performance of Templates: time 0.3465/1.788, allocations: 44.94 MB / 0.8336 GB, free: 132.4 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: