Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002496, allocations: 180.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2293/0.2293, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003471, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.5988, allocations: 110.4 MB / 0.5866 GB, free: 5.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5991, allocations: 81.73 kB / 0.5867 GB, free: 5.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6743/1.273, allocations: 164.1 MB / 0.7469 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.066e-06/1.274, allocations: 0 / 0.7469 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005334/1.274, allocations: 160.2 kB / 0.747 GB, free: 96.97 MB / 0.4948 GB 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.03782/1.312, allocations: 8.007 MB / 0.7549 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.312, allocations: 7.344 kB / 0.7549 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03871/1.351, allocations: 10.05 MB / 0.7647 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/1.375, allocations: 8.46 MB / 0.773 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006965/1.376, allocations: 0.6244 MB / 0.7736 GB, free: 92.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005322/1.381, allocations: 0.8169 MB / 0.7744 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05325/1.434, allocations: 20.54 MB / 0.7944 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005136/1.435, allocations: 98.64 kB / 0.7945 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003839/1.439, allocations: 398.7 kB / 0.7949 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/1.442, allocations: 2.106 MB / 0.797 GB, free: 86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03534/1.477, allocations: 18.08 MB / 0.8146 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/1.58, allocations: 85.16 MB / 0.8978 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3687/1.949, allocations: 8.047 MB / 0.9056 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004799/1.949, allocations: 67.25 kB / 0.9057 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/1.95, allocations: 78.78 kB / 0.9058 GB, free: 101 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=450): time 9.498e-06/1.95, allocations: 0.9844 kB / 0.9058 GB, free: 101 MB / 0.5105 GB Notification: Performance of matching and sorting (n=501): time 0.1055/2.055, allocations: 44.11 MB / 0.9489 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/2.055, allocations: 232.4 kB / 0.9491 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/2.067, allocations: 5.753 MB / 0.9547 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001402/2.069, allocations: 94.2 kB / 0.9548 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004992/2.074, allocations: 5.696 MB / 0.9603 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003401/2.077, allocations: 1.817 MB / 0.9621 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/2.078, allocations: 221.6 kB / 0.9623 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008184/2.079, allocations: 0.8014 MB / 0.9631 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007001/2.086, allocations: 4.921 MB / 0.9679 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/2.098, allocations: 11.07 MB / 0.9787 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.111, allocations: 7.35 MB / 0.9859 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002764/2.111, allocations: 62.41 kB / 0.986 GB, free: 75.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.04023/2.151, allocations: 17.18 MB / 1.003 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000424/2.152, allocations: 95.22 kB / 1.003 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006324/2.152, allocations: 217.5 kB / 1.003 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004964/2.157, allocations: 1.722 MB / 1.005 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.168, allocations: 2.604 MB / 1.007 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/2.185, allocations: 14.38 MB / 1.021 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/2.198, allocations: 0.6663 MB / 1.022 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00334/2.201, allocations: 0.6328 MB / 1.023 GB, free: 54.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * 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 (1366): * Single equations (assignments): 1353 * 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.01435/2.216, allocations: 4.197 MB / 1.027 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/2.219, allocations: 0.6131 MB / 1.027 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/2.237, allocations: 9.731 MB / 1.037 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001706/2.237, allocations: 88.23 kB / 1.037 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.814e-05/2.237, allocations: 8 kB / 1.037 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/2.237, allocations: 29.28 kB / 1.037 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/2.29, allocations: 21.72 MB / 1.058 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/2.29, allocations: 12.94 kB / 1.058 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003942/2.294, allocations: 0.7998 MB / 1.059 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003657/2.297, allocations: 1.35 MB / 1.06 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009355/2.298, allocations: 96.92 kB / 1.06 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/2.312, allocations: 13.25 MB / 1.073 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/2.312, allocations: 23.25 kB / 1.073 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/2.341, allocations: 17.33 MB / 1.09 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006665/2.347, allocations: 1.394 MB / 1.092 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002957/2.35, allocations: 85.73 kB / 1.092 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005249/2.356, allocations: 306.9 kB / 1.092 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001666/2.357, allocations: 301.2 kB / 1.092 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/2.359, allocations: 132.5 kB / 1.092 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01075/2.369, allocations: 4.007 MB / 1.096 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/2.369, allocations: 0 / 1.096 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01832/2.388, allocations: 2.631 MB / 1.099 GB, free: 4.191 MB / 0.5261 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 (385): * Single equations (assignments): 372 * 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.3427/2.73, allocations: 254.7 kB / 1.099 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02736/2.758, allocations: 12.17 MB / 1.111 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.758, allocations: 2.438 kB / 1.111 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008956/2.767, allocations: 4.932 MB / 1.116 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/2.773, allocations: 0.7276 MB / 1.116 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04879/2.822, allocations: 23.98 MB / 1.14 GB, free: 93.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/2.835, allocations: 6.286 MB / 1.146 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01213/2.848, allocations: 4.112 MB / 1.15 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/2.85, allocations: 454.6 kB / 1.15 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/2.85, allocations: 0 / 1.15 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.1394/2.989, allocations: 69.62 MB / 1.218 GB, free: 67.53 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches