Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.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.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01114/0.01114, allocations: 101.2 kB / 15.73 MB, free: 6.012 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.001438/0.001438, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.719/1.719, allocations: 205.1 MB / 222.6 MB, free: 4.461 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.3489/0.3489, allocations: 38 MB / 307.9 MB, free: 10.12 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.001458/0.001458, allocations: 71.84 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3795, allocations: 56.47 MB / 489.5 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01995/0.3995, allocations: 19.37 MB / 0.4969 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01695/0.4165, allocations: 5.426 MB / 0.5022 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005985/0.4225, allocations: 125 kB / 0.5023 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009629/0.4322, allocations: 4.811 MB / 0.507 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.443, allocations: 3.282 MB / 0.5102 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.4463, allocations: 0.9035 MB / 0.5111 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0168/0.4631, allocations: 8.22 MB / 0.5192 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.4746, allocations: 6.515 MB / 0.5255 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009192/0.4839, allocations: 3.014 MB / 0.5285 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007586/0.4915, allocations: 4.1 MB / 0.5325 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003204/0.4948, allocations: 0.6445 MB / 0.5331 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005365/0.5001, allocations: 1.475 MB / 0.5345 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005938/0.5061, allocations: 3.803 MB / 0.5382 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.5171, allocations: 4.408 MB / 0.5425 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02595/0.5431, allocations: 14.02 MB / 0.5562 GB, free: 3.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.5432, allocations: 8 kB / 0.5563 GB, free: 3.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5432, allocations: 0 / 0.5563 GB, free: 3.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008415/0.5441, allocations: 0 / 0.5563 GB, free: 3.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03164/0.5757, allocations: 9.034 MB / 0.5651 GB, free: 10.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.5758, allocations: 11.89 kB / 0.5651 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02172/0.5975, allocations: 5.468 MB / 0.5704 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.6121, allocations: 5.148 MB / 0.5755 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006945/0.6129, allocations: 459.9 kB / 0.5759 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003643/0.6165, allocations: 0.5935 MB / 0.5765 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0467/0.6633, allocations: 20.53 MB / 0.5965 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004141/0.6637, allocations: 67.39 kB / 0.5966 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/0.6664, allocations: 287.7 kB / 0.5969 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007232/0.6737, allocations: 4.353 MB / 0.6011 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/0.7173, allocations: 18.25 MB / 0.6189 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6439/1.361, allocations: 75.15 MB / 0.6923 GB, free: 67.46 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/1.38, allocations: 8.176 MB / 0.7003 GB, free: 63.99 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007064/1.387, allocations: 5.354 MB / 0.7055 GB, free: 61.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/1.387, allocations: 71.62 kB / 0.7056 GB, free: 61.79 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.488e-05/1.387, allocations: 76.41 kB / 0.7057 GB, free: 61.72 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=450): time 7.755e-06/1.387, allocations: 0 / 0.7057 GB, free: 61.72 MB / 0.4982 GB Notification: Performance of matching and sorting (n=497): time 0.1057/1.493, allocations: 42.94 MB / 0.7476 GB, free: 29.95 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.493, allocations: 234.9 kB / 0.7478 GB, free: 29.68 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.506, allocations: 6.513 MB / 0.7542 GB, free: 23.16 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/1.507, allocations: 93.61 kB / 0.7543 GB, free: 23.07 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003185/1.51, allocations: 5.648 MB / 0.7598 GB, free: 17.42 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/1.513, allocations: 1.804 MB / 0.7616 GB, free: 15.63 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003405/1.516, allocations: 2.305 MB / 0.7638 GB, free: 13.32 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/1.516, allocations: 313.1 kB / 0.7641 GB, free: 13.01 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007183/1.523, allocations: 5.199 MB / 0.7692 GB, free: 7.809 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.536, allocations: 11.39 MB / 0.7803 GB, free: 9.438 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02766/1.564, allocations: 17.93 MB / 0.7978 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000362/1.564, allocations: 68 kB / 0.7979 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.04418/1.609, allocations: 18.34 MB / 0.8158 GB, free: 2.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003461/1.609, allocations: 97.88 kB / 0.8159 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004852/1.609, allocations: 212 kB / 0.8161 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007275/1.617, allocations: 2.349 MB / 0.8184 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/1.628, allocations: 2.647 MB / 0.821 GB, free: 12.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/1.652, allocations: 17.44 MB / 0.838 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.662, allocations: 0.6748 MB / 0.8387 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002773/1.665, allocations: 0.6352 MB / 0.8393 GB, free: 9.438 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1400): * Single equations (assignments): 1387 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0105/1.675, allocations: 4.192 MB / 0.8434 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/1.678, allocations: 0.6054 MB / 0.844 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02278/1.7, allocations: 10.59 MB / 0.8543 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001336/1.701, allocations: 91.27 kB / 0.8544 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/1.701, allocations: 8 kB / 0.8544 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/1.701, allocations: 23.92 kB / 0.8544 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3452/2.046, allocations: 22.58 MB / 0.8765 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/2.046, allocations: 9.625 kB / 0.8765 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004599/2.051, allocations: 0.7845 MB / 0.8773 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/2.057, allocations: 2.025 MB / 0.8792 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009964/2.058, allocations: 95.92 kB / 0.8793 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/2.076, allocations: 16.19 MB / 0.8951 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/2.076, allocations: 16.28 kB / 0.8951 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03324/2.109, allocations: 16.68 MB / 0.9114 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005052/2.114, allocations: 1.415 MB / 0.9128 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002489/2.117, allocations: 93.27 kB / 0.9129 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005752/2.123, allocations: 328.9 kB / 0.9132 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002258/2.125, allocations: 293.4 kB / 0.9135 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001126/2.126, allocations: 134 kB / 0.9136 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008998/2.135, allocations: 4.055 MB / 0.9176 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/2.135, allocations: 0 / 0.9176 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01494/2.15, allocations: 2.102 MB / 0.9196 GB, free: 173.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (381): * Single equations (assignments): 368 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,37,77.8%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001926/2.152, allocations: 250.4 kB / 0.9199 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02193/2.174, allocations: 12.77 MB / 0.9324 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/2.174, allocations: 4 kB / 0.9324 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007966/2.182, allocations: 5.1 MB / 0.9373 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008833/2.191, allocations: 0.7934 MB / 0.9381 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04608/2.237, allocations: 20.72 MB / 0.9583 GB, free: 135.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.249, allocations: 6.101 MB / 0.9643 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01055/2.259, allocations: 4.094 MB / 0.9683 GB, free: 125.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/2.262, allocations: 447.4 kB / 0.9687 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.814e-06/2.262, allocations: 0 / 0.9687 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1268/2.389, allocations: 73.09 MB / 1.04 GB, free: 52.08 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1)