Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001032/0.001033, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.95 MB, free: 216 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.516/1.516, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3488/0.3488, allocations: 40 MB / 310.4 MB, free: 10.02 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.0005391/0.0005391, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1217, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.2707/0.3924, allocations: 70.42 MB / 0.4953 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03734/0.4298, allocations: 15.96 MB / 0.5109 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02026/0.4501, allocations: 353.1 kB / 0.5112 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.4629, allocations: 3.595 MB / 0.5147 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03751/0.5005, allocations: 10.14 MB / 0.5246 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.5063, allocations: 0.7995 MB / 0.5254 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04424/0.5506, allocations: 28.04 MB / 0.5528 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.5644, allocations: 7.812 MB / 0.5604 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.5695, allocations: 1.989 MB / 0.5624 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/0.5749, allocations: 2.652 MB / 0.565 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.577, allocations: 295.9 kB / 0.5653 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.5815, allocations: 0.995 MB / 0.5662 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005316/0.5869, allocations: 3.086 MB / 0.5692 GB, free: 8 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003648/0.5905, allocations: 1.649 MB / 0.5708 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.6045, allocations: 10.96 MB / 0.5816 GB, free: 3.359 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6045, allocations: 0 / 0.5816 GB, free: 3.359 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6045, allocations: 0 / 0.5816 GB, free: 3.359 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005744/0.6051, allocations: 0 / 0.5816 GB, free: 3.359 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: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.02016/0.6253, allocations: 7.736 MB / 0.5891 GB, free: 11.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6254, allocations: 12.03 kB / 0.5891 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0545/0.6799, allocations: 11.53 MB / 0.6004 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.6947, allocations: 5.371 MB / 0.6056 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/0.6953, allocations: 459.5 kB / 0.6061 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003316/0.6987, allocations: 0.5816 MB / 0.6066 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/0.7441, allocations: 20.53 MB / 0.6267 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004079/0.7446, allocations: 79.3 kB / 0.6268 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003037/0.7477, allocations: 279.7 kB / 0.627 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4671/1.215, allocations: 4.341 MB / 0.6313 GB, free: 134.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03604/1.251, allocations: 18.13 MB / 0.649 GB, free: 131.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1193/1.37, allocations: 75.22 MB / 0.7224 GB, free: 81.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.386, allocations: 8.134 MB / 0.7304 GB, free: 73.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/1.387, allocations: 66.39 kB / 0.7304 GB, free: 73.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.387, allocations: 73.19 kB / 0.7305 GB, free: 73.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 7.624e-06/1.387, allocations: 4.641 kB / 0.7305 GB, free: 73.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.1089/1.496, allocations: 42.74 MB / 0.7722 GB, free: 30.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.496, allocations: 230.9 kB / 0.7725 GB, free: 30.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.509, allocations: 6.744 MB / 0.779 GB, free: 23.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001604/1.511, allocations: 96.91 kB / 0.7791 GB, free: 23.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004307/1.515, allocations: 5.702 MB / 0.7847 GB, free: 17.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002868/1.518, allocations: 1.805 MB / 0.7865 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008189/1.519, allocations: 220 kB / 0.7867 GB, free: 15.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005335/1.519, allocations: 0.7934 MB / 0.7875 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006141/1.525, allocations: 4.941 MB / 0.7923 GB, free: 9.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/1.538, allocations: 11.07 MB / 0.8031 GB, free: 11.74 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/1.554, allocations: 7.349 MB / 0.8103 GB, free: 4.383 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002908/1.554, allocations: 64 kB / 0.8103 GB, free: 4.32 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.0425/1.597, allocations: 17.27 MB / 0.8272 GB, free: 3.016 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/1.597, allocations: 96 kB / 0.8273 GB, free: 2.922 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000451/1.598, allocations: 220 kB / 0.8275 GB, free: 2.707 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005466/1.603, allocations: 1.854 MB / 0.8293 GB, free: 0.8398 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3235/1.927, allocations: 2.58 MB / 0.8318 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/1.945, allocations: 15.04 MB / 0.8465 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/1.957, allocations: 0.6637 MB / 0.8472 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003827/1.961, allocations: 0.635 MB / 0.8478 GB, free: 143.5 MB / 0.5138 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 (1360): * Single equations (assignments): 1347 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01279/1.974, allocations: 4.186 MB / 0.8519 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003219/1.977, allocations: 0.6144 MB / 0.8525 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/2.001, allocations: 9.836 MB / 0.8621 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001931/2.001, allocations: 87.3 kB / 0.8622 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-05/2.001, allocations: 13.23 kB / 0.8622 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.957e-05/2.001, allocations: 22.02 kB / 0.8622 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05759/2.059, allocations: 21.93 MB / 0.8836 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/2.059, allocations: 8.281 kB / 0.8836 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/2.063, allocations: 0.7882 MB / 0.8844 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004383/2.068, allocations: 1.504 MB / 0.8859 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/2.069, allocations: 94.48 kB / 0.8859 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/2.084, allocations: 14.05 MB / 0.8997 GB, free: 121 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/2.084, allocations: 20.22 kB / 0.8997 GB, free: 121 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/2.107, allocations: 17.52 MB / 0.9168 GB, free: 108.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004825/2.112, allocations: 1.403 MB / 0.9182 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/2.113, allocations: 89.27 kB / 0.9183 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/2.117, allocations: 317.2 kB / 0.9186 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007484/2.118, allocations: 299.2 kB / 0.9188 GB, free: 107 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003209/2.118, allocations: 131.2 kB / 0.919 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006352/2.125, allocations: 4.227 MB / 0.9231 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.7e-07/2.125, allocations: 0 / 0.9231 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0118/2.136, allocations: 2.067 MB / 0.9251 GB, free: 101.2 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/2.138, allocations: 269.3 kB / 0.9254 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01763/2.155, allocations: 12.21 MB / 0.9373 GB, free: 88.79 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/2.155, allocations: 3.938 kB / 0.9373 GB, free: 88.79 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007752/2.163, allocations: 4.969 MB / 0.9422 GB, free: 83.77 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00576/2.169, allocations: 0.7244 MB / 0.9429 GB, free: 83.08 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04629/2.215, allocations: 23.99 MB / 0.9663 GB, free: 58.98 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00885/2.224, allocations: 6.269 MB / 0.9724 GB, free: 52.67 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009815/2.234, allocations: 4.106 MB / 0.9764 GB, free: 48.56 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/2.236, allocations: 447.4 kB / 0.9769 GB, free: 48.12 MB / 0.5138 GB Notification: Performance of SimCode: time 2.474e-06/2.236, allocations: 8 kB / 0.9769 GB, free: 48.11 MB / 0.5138 GB Notification: Performance of Templates: time 0.369/2.605, allocations: 71.08 MB / 1.046 GB, free: 124.7 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) Environment - environmentSimulation: