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.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3685/0.3685, allocations: 39.94 MB / 309.7 MB, free: 9.25 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.001884/0.001884, allocations: 82.38 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1602, allocations: 56.87 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01908/0.1794, allocations: 14.28 MB / 448.8 MB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.1936, allocations: 4.657 MB / 453.4 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.1972, allocations: 95.69 kB / 453.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3144/0.5117, allocations: 4.215 MB / 457.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.5185, allocations: 2.261 MB / 460 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.521, allocations: 0.9374 MB / 460.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008759/0.5298, allocations: 5.892 MB / 466.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/0.5388, allocations: 5.295 MB / 472.1 MB, free: 33.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.544, allocations: 2.208 MB / 474.3 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005347/0.5494, allocations: 2.94 MB / 477.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002372/0.5518, allocations: 496.1 kB / 477.8 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.5564, allocations: 1.365 MB / 479.1 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004069/0.5606, allocations: 2.628 MB / 481.7 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006473/0.567, allocations: 3.008 MB / 484.8 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01847/0.5855, allocations: 9.309 MB / 494.1 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.5856, allocations: 0 / 494.1 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.5856, allocations: 5.281 kB / 494.1 MB, free: 25.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006415/0.5863, allocations: 0 / 494.1 MB, free: 25.73 MB / 382.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.02683/0.6131, allocations: 6.338 MB / 0.4887 GB, free: 22.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6132, allocations: 17.23 kB / 0.4887 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.6265, allocations: 2.612 MB / 0.4912 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.6375, allocations: 3.973 MB / 0.4951 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.6379, allocations: 316.1 kB / 0.4954 GB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.6399, allocations: 455.2 kB / 0.4959 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/0.6639, allocations: 12.23 MB / 0.5078 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.6642, allocations: 63.42 kB / 0.5079 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005684/0.6647, allocations: 194.6 kB / 0.5081 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003155/0.6679, allocations: 2.201 MB / 0.5102 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.6877, allocations: 10.54 MB / 0.5205 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08002/0.7678, allocations: 47.58 MB / 0.567 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.7804, allocations: 4.609 MB / 0.5715 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/0.7845, allocations: 2.639 MB / 0.574 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/0.8049, allocations: 10.42 MB / 0.5842 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.805, allocations: 55.81 kB / 0.5843 GB, free: 10.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=192): time 7.765e-06/0.8051, allocations: 0 / 0.5843 GB, free: 10.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.06749/0.8726, allocations: 20.99 MB / 0.6048 GB, free: 5.125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.8728, allocations: 205.2 kB / 0.605 GB, free: 4.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/0.8856, allocations: 4.827 MB / 0.6097 GB, free: 52 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008738/0.8866, allocations: 60.02 kB / 0.6097 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004116/0.8907, allocations: 3.716 MB / 0.6134 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001897/0.8926, allocations: 0.8401 MB / 0.6142 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005749/0.8984, allocations: 1.388 MB / 0.6156 GB, free: 10.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8985, allocations: 305.1 kB / 0.6158 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006176/0.9047, allocations: 2.586 MB / 0.6184 GB, free: 7.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3018/1.207, allocations: 6.545 MB / 0.6248 GB, free: 140.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.22, allocations: 9.806 MB / 0.6343 GB, free: 134.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002348/1.22, allocations: 43.03 kB / 0.6344 GB, free: 134.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02304/1.243, allocations: 10.26 MB / 0.6444 GB, free: 130.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.243, allocations: 64.66 kB / 0.6445 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002992/1.243, allocations: 138.2 kB / 0.6446 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/1.248, allocations: 1.623 MB / 0.6462 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/1.253, allocations: 1.566 MB / 0.6477 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.267, allocations: 10.28 MB / 0.6577 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007728/1.275, allocations: 375.7 kB / 0.6581 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/1.277, allocations: 407.1 kB / 0.6585 GB, free: 124.3 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.009725/1.287, allocations: 2.568 MB / 0.661 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/1.288, allocations: 427.6 kB / 0.6614 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.3, allocations: 4.626 MB / 0.6659 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/1.301, allocations: 23.98 kB / 0.6659 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.262e-05/1.301, allocations: 11.03 kB / 0.666 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.301, allocations: 10.86 kB / 0.666 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.328, allocations: 10.5 MB / 0.6762 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/1.328, allocations: 0 / 0.6762 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.33, allocations: 343.7 kB / 0.6765 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004149/1.334, allocations: 1.363 MB / 0.6779 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/1.334, allocations: 35.94 kB / 0.6779 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.345, allocations: 9.394 MB / 0.6871 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.345, allocations: 3.75 kB / 0.6871 GB, free: 112.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.356, allocations: 7.561 MB / 0.6945 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.359, allocations: 0.7802 MB / 0.6952 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.36, allocations: 43.83 kB / 0.6953 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.363, allocations: 135.8 kB / 0.6954 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/1.364, allocations: 129.8 kB / 0.6955 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.364, allocations: 56 kB / 0.6956 GB, free: 105.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006828/1.371, allocations: 3.045 MB / 0.6986 GB, free: 102.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.371, allocations: 0 / 0.6986 GB, free: 102.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009403/1.38, allocations: 1.261 MB / 0.6998 GB, free: 100.9 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.0009029/1.381, allocations: 173.5 kB / 0.6999 GB, free: 100.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01458/1.396, allocations: 7.785 MB / 0.7076 GB, free: 92.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.396, allocations: 6.938 kB / 0.7076 GB, free: 92.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004077/1.4, allocations: 2.191 MB / 0.7097 GB, free: 90.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007969/1.408, allocations: 0.5503 MB / 0.7102 GB, free: 90.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/1.445, allocations: 11.86 MB / 0.7218 GB, free: 78.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01177/1.457, allocations: 4.003 MB / 0.7257 GB, free: 74.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01156/1.468, allocations: 2.09 MB / 0.7278 GB, free: 72.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002365/1.471, allocations: 287.4 kB / 0.728 GB, free: 71.96 MB / 494.1 MB Notification: Performance of SimCode: time 2.695e-06/1.471, allocations: 0 / 0.728 GB, free: 71.96 MB / 494.1 MB Notification: Performance of Templates: time 0.1037/1.575, allocations: 47.53 MB / 0.7745 GB, free: 24.54 MB / 494.1 MB 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)