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.0009569/0.000957, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008365/0.0008366, allocations: 90.28 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2266/0.2266, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.541e-05, allocations: 7.984 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5348, allocations: 109.6 MB / 0.573 GB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.5351, allocations: 84.17 kB / 0.5731 GB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6794/1.215, allocations: 160.7 MB / 0.73 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/1.215, allocations: 0 / 0.73 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006519/1.215, allocations: 159.5 kB / 0.7302 GB, free: 94.66 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.02834/1.244, allocations: 7.509 MB / 0.7375 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/1.244, allocations: 11.5 kB / 0.7375 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03987/1.284, allocations: 10.06 MB / 0.7473 GB, free: 91.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.306, allocations: 8.422 MB / 0.7555 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/1.306, allocations: 272 kB / 0.7558 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005106/1.311, allocations: 491.3 kB / 0.7563 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02568/1.337, allocations: 13.11 MB / 0.7691 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04945/1.387, allocations: 18.8 MB / 0.7874 GB, free: 85.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008379/1.387, allocations: 91.09 kB / 0.7875 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005086/1.393, allocations: 47.8 kB / 0.7876 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003105/1.396, allocations: 2.107 MB / 0.7896 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09285/1.489, allocations: 81.12 MB / 0.8688 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/1.497, allocations: 8.077 MB / 0.8767 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005185/1.502, allocations: 4.985 MB / 0.8816 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/1.502, allocations: 66.17 kB / 0.8817 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.502, allocations: 73.55 kB / 0.8817 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=452): time 7.394e-06/1.502, allocations: 0 / 0.8817 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=499): time 0.3345/1.837, allocations: 36.84 MB / 0.9177 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.837, allocations: 230.9 kB / 0.9179 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.849, allocations: 5.164 MB / 0.923 GB, free: 97.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.85, allocations: 25.7 kB / 0.923 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004281/1.855, allocations: 5.844 MB / 0.9287 GB, free: 94.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00237/1.857, allocations: 1.768 MB / 0.9304 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009333/1.858, allocations: 0 / 0.9304 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000691/1.859, allocations: 0.8232 MB / 0.9312 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005996/1.865, allocations: 4.65 MB / 0.9358 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009876/1.875, allocations: 11.16 MB / 0.9467 GB, free: 84.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.885, allocations: 7.23 MB / 0.9537 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/1.885, allocations: 62.91 kB / 0.9538 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1560) (initialization): time 0.02978/1.915, allocations: 15.84 MB / 0.9693 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.915, allocations: 101.5 kB / 0.9694 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/1.915, allocations: 233.8 kB / 0.9696 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/1.919, allocations: 1.712 MB / 0.9713 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009582/1.929, allocations: 2.731 MB / 0.9739 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/1.942, allocations: 13.16 MB / 0.9868 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.953, allocations: 472.4 kB / 0.9872 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002306/1.955, allocations: 0.6727 MB / 0.9879 GB, free: 75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1051 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1436): * Single equations (assignments): 1423 * 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.001781/1.957, allocations: 0.6818 MB / 0.9885 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.958, allocations: 0.5942 MB / 0.9891 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.971, allocations: 9.121 MB / 0.998 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.685e-05/1.971, allocations: 95.31 kB / 0.9981 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.971, allocations: 14.03 kB / 0.9981 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/1.971, allocations: 20.2 kB / 0.9982 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03454/2.006, allocations: 19.7 MB / 1.017 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/2.006, allocations: 7.688 kB / 1.017 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/2.01, allocations: 0.7917 MB / 1.018 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/2.013, allocations: 1.346 MB / 1.019 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007611/2.014, allocations: 25.52 kB / 1.02 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/2.026, allocations: 12.12 MB / 1.031 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/2.026, allocations: 19.94 kB / 1.031 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/2.045, allocations: 16.58 MB / 1.048 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004047/2.049, allocations: 1.332 MB / 1.049 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00217/2.051, allocations: 23.33 kB / 1.049 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004917/2.056, allocations: 239.9 kB / 1.049 GB, free: 35.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.057, allocations: 299.7 kB / 1.049 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004738/2.057, allocations: 131.5 kB / 1.05 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007019/2.064, allocations: 3.437 MB / 1.053 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/2.064, allocations: 0 / 1.053 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01264/2.077, allocations: 1.752 MB / 1.055 GB, free: 30.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (383): * Single equations (assignments): 370 * 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.001438/2.079, allocations: 177.3 kB / 1.055 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0176/2.096, allocations: 11.46 MB / 1.066 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.587e-05/2.096, allocations: 0 / 1.066 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/2.103, allocations: 4.669 MB / 1.071 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004721/2.107, allocations: 0.5495 MB / 1.071 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/2.145, allocations: 17.19 MB / 1.088 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01247/2.157, allocations: 6.269 MB / 1.094 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.3096/2.467, allocations: 5.021 MB / 1.099 GB, free: 97.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/2.47, allocations: 435.6 kB / 1.099 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/2.47, allocations: 0 / 1.099 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.1048/2.574, allocations: 61.7 MB / 1.16 GB, free: 94.81 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