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.0009262/0.0009266, allocations: 176.2 kB / 16.76 MB, free: 5.027 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.434/1.434, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007462/0.000746, allocations: 101.5 kB / 271.3 MB, free: 8.242 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.3501/0.3501, allocations: 43.55 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003916, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4501, allocations: 110.6 MB / 0.5879 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4504, allocations: 83.95 kB / 0.588 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6162/1.067, allocations: 161.9 MB / 0.7461 GB, free: 79.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.067, allocations: 0 / 0.7461 GB, free: 79.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004755/1.067, allocations: 160.6 kB / 0.7463 GB, free: 79.5 MB / 490.7 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.02597/1.093, allocations: 7.775 MB / 0.7539 GB, free: 75.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.093, allocations: 10.94 kB / 0.7539 GB, free: 75.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03261/1.126, allocations: 8.41 MB / 0.7621 GB, free: 74.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/1.144, allocations: 7.313 MB / 0.7693 GB, free: 71.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006902/1.144, allocations: 0.6224 MB / 0.7699 GB, free: 71.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/1.149, allocations: 0.8226 MB / 0.7707 GB, free: 70.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04802/1.197, allocations: 20.44 MB / 0.7906 GB, free: 55.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006354/1.197, allocations: 87.39 kB / 0.7907 GB, free: 55.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004491/1.202, allocations: 400.6 kB / 0.7911 GB, free: 55.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/1.205, allocations: 2.108 MB / 0.7932 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/1.237, allocations: 17.89 MB / 0.8106 GB, free: 35.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.374/1.611, allocations: 85.08 MB / 0.8937 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.626, allocations: 7.974 MB / 0.9015 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.632, allocations: 5.148 MB / 0.9065 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/1.632, allocations: 61.94 kB / 0.9066 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.632, allocations: 79.06 kB / 0.9067 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=450): time 7.134e-06/1.632, allocations: 0 / 0.9067 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=501): time 0.0987/1.731, allocations: 42.89 MB / 0.9486 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/1.731, allocations: 227.3 kB / 0.9488 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008397/1.739, allocations: 6.457 MB / 0.9551 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008465/1.74, allocations: 99.67 kB / 0.9552 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/1.743, allocations: 5.696 MB / 0.9607 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.745, allocations: 1.817 MB / 0.9625 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006217/1.746, allocations: 221.5 kB / 0.9627 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006674/1.746, allocations: 0.7976 MB / 0.9635 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006477/1.753, allocations: 4.918 MB / 0.9683 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/1.764, allocations: 11.11 MB / 0.9792 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/1.782, allocations: 17.49 MB / 0.9962 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001997/1.783, allocations: 58.31 kB / 0.9963 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.03194/1.815, allocations: 17.18 MB / 1.013 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.815, allocations: 96 kB / 1.013 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003495/1.815, allocations: 212 kB / 1.013 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004999/1.82, allocations: 1.758 MB / 1.015 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/1.83, allocations: 2.634 MB / 1.018 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.847, allocations: 14.05 MB / 1.031 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008876/1.856, allocations: 0.6657 MB / 1.032 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005758/1.862, allocations: 0.8597 MB / 1.033 GB, free: 0 / 0.5261 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.01046/1.872, allocations: 4.209 MB / 1.037 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001986/1.874, allocations: 0.617 MB / 1.038 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/1.891, allocations: 9.727 MB / 1.047 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001333/1.891, allocations: 89.72 kB / 1.047 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.891, allocations: 8 kB / 1.047 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.515e-05/1.892, allocations: 25.19 kB / 1.047 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04436/1.936, allocations: 21.77 MB / 1.068 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.936, allocations: 12 kB / 1.068 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004041/1.94, allocations: 0.7997 MB / 1.069 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2731/2.213, allocations: 1.433 MB / 1.071 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001175/2.214, allocations: 94.59 kB / 1.071 GB, free: 138.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/2.23, allocations: 12.92 MB / 1.083 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/2.23, allocations: 18.84 kB / 1.083 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/2.256, allocations: 15.55 MB / 1.099 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/2.26, allocations: 1.386 MB / 1.1 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002124/2.262, allocations: 83.69 kB / 1.1 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/2.267, allocations: 309.7 kB / 1.1 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.268, allocations: 308.3 kB / 1.101 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006559/2.268, allocations: 130.2 kB / 1.101 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008089/2.277, allocations: 4.007 MB / 1.105 GB, free: 132 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.11e-07/2.277, allocations: 0 / 1.105 GB, free: 132 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01383/2.29, allocations: 2.046 MB / 1.107 GB, free: 132 MB / 0.5573 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.001705/2.292, allocations: 254.6 kB / 1.107 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02365/2.316, allocations: 12.17 MB / 1.119 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/2.316, allocations: 3.906 kB / 1.119 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008835/2.325, allocations: 4.929 MB / 1.124 GB, free: 127 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0171/2.342, allocations: 0.7933 MB / 1.124 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04532/2.387, allocations: 24.06 MB / 1.148 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01331/2.401, allocations: 6.105 MB / 1.154 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01218/2.413, allocations: 4.117 MB / 1.158 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/2.415, allocations: 447.9 kB / 1.158 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/2.415, allocations: 0 / 1.158 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1164/2.532, allocations: 69.84 MB / 1.226 GB, free: 70 MB / 0.5573 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/jenkins1/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