Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 180.4 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 91.53 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1791/0.1791, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.351e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4973, allocations: 111.5 MB / 0.6106 GB, free: 9.816 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4975, allocations: 83.7 kB / 0.6107 GB, free: 9.738 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6425/1.14, allocations: 162.3 MB / 0.7692 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.525e-06/1.14, allocations: 4 kB / 0.7692 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003774/1.14, allocations: 160.3 kB / 0.7693 GB, free: 107.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3026 * Number of variables: 3026 Notification: Performance of Generate backend data structure: time 0.02321/1.164, allocations: 7.351 MB / 0.7765 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.164, allocations: 9.594 kB / 0.7765 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/1.201, allocations: 10.01 MB / 0.7863 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.222, allocations: 8.018 MB / 0.7941 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/1.223, allocations: 0.6081 MB / 0.7947 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004574/1.227, allocations: 0.808 MB / 0.7955 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.266, allocations: 19.9 MB / 0.815 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003802/1.267, allocations: 95.11 kB / 0.8151 GB, free: 88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002797/1.27, allocations: 378.5 kB / 0.8154 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/1.272, allocations: 2.051 MB / 0.8174 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0327/1.305, allocations: 17.36 MB / 0.8344 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3806/1.685, allocations: 83.54 MB / 0.9159 GB, free: 99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/1.702, allocations: 7.739 MB / 0.9235 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00682/1.709, allocations: 4.912 MB / 0.9283 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/1.709, allocations: 70.92 kB / 0.9284 GB, free: 97.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.709, allocations: 71.5 kB / 0.9284 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=429): time 7.104e-06/1.709, allocations: 0 / 0.9284 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.07735/1.786, allocations: 34.57 MB / 0.9622 GB, free: 92.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/1.787, allocations: 228.2 kB / 0.9624 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008107/1.795, allocations: 5.588 MB / 0.9679 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000825/1.796, allocations: 90.8 kB / 0.968 GB, free: 92.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002918/1.798, allocations: 5.579 MB / 0.9734 GB, free: 88.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002077/1.801, allocations: 1.732 MB / 0.9751 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006149/1.801, allocations: 215.1 kB / 0.9753 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005372/1.802, allocations: 0.7798 MB / 0.9761 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005761/1.808, allocations: 4.603 MB / 0.9806 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008177/1.816, allocations: 10.64 MB / 0.991 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009533/1.825, allocations: 7.047 MB / 0.9978 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002602/1.826, allocations: 58.12 kB / 0.9979 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.02801/1.854, allocations: 16.4 MB / 1.014 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/1.854, allocations: 99.45 kB / 1.014 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002454/1.854, allocations: 212.2 kB / 1.014 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003777/1.858, allocations: 1.709 MB / 1.016 GB, free: 67.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008183/1.866, allocations: 2.516 MB / 1.018 GB, free: 67.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.879, allocations: 14.01 MB / 1.032 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00908/1.888, allocations: 0.6395 MB / 1.033 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002552/1.891, allocations: 0.6194 MB / 1.033 GB, free: 54.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 962 * Number of states: 0 () * Number of discrete variables: 53 (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.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1324): * Single equations (assignments): 1311 * 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.003381/1.894, allocations: 0.9142 MB / 1.034 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/1.895, allocations: 0.6031 MB / 1.035 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.909, allocations: 9.109 MB / 1.044 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/1.909, allocations: 88.62 kB / 1.044 GB, free: 45.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.909, allocations: 13.94 kB / 1.044 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/1.909, allocations: 20.86 kB / 1.044 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/1.941, allocations: 20.7 MB / 1.064 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.941, allocations: 8.938 kB / 1.064 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/1.944, allocations: 0.7514 MB / 1.065 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/1.948, allocations: 1.357 MB / 1.066 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000491/1.948, allocations: 93.09 kB / 1.066 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/1.959, allocations: 12.87 MB / 1.079 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.068e-06/1.959, allocations: 19.44 kB / 1.079 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02184/1.981, allocations: 16.65 MB / 1.095 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.983, allocations: 0.6186 MB / 1.096 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.984, allocations: 84 kB / 1.096 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.988, allocations: 296.5 kB / 1.096 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007069/1.988, allocations: 281.8 kB / 1.096 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003212/1.989, allocations: 126.2 kB / 1.096 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006426/1.995, allocations: 3.873 MB / 1.1 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.11e-07/1.995, allocations: 8 kB / 1.1 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009785/2.005, allocations: 1.972 MB / 1.102 GB, free: 9.332 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (359): * Single equations (assignments): 346 * 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.0007842/2.006, allocations: 242.5 kB / 1.102 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0165/2.022, allocations: 11.49 MB / 1.113 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.022, allocations: 4 kB / 1.113 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2627/2.285, allocations: 4.735 MB / 1.118 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/2.29, allocations: 0.7294 MB / 1.119 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03449/2.324, allocations: 16.79 MB / 1.135 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009957/2.334, allocations: 6.118 MB / 1.141 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01043/2.345, allocations: 4.011 MB / 1.145 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/2.347, allocations: 436.9 kB / 1.146 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/2.347, allocations: 0 / 1.146 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.1038/2.451, allocations: 67.27 MB / 1.211 GB, free: 112 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches