Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110.8 kB / 21.19 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 205.3 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02108/0.3799, allocations: 16.11 MB / 0.5776 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.3944, allocations: 5.113 MB / 0.5826 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00528/0.3996, allocations: 139.4 kB / 0.5827 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.4105, allocations: 4.661 MB / 0.5872 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00949/0.42, allocations: 3.156 MB / 0.5903 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.4229, allocations: 0.9087 MB / 0.5912 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.4364, allocations: 8.433 MB / 0.5994 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008618/0.445, allocations: 5.22 MB / 0.6045 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/0.4513, allocations: 2.979 MB / 0.6075 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007829/0.4591, allocations: 4.303 MB / 0.6117 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002932/0.4621, allocations: 0.6211 MB / 0.6123 GB, free: 284 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.4672, allocations: 1.358 MB / 0.6136 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007462/0.4747, allocations: 3.724 MB / 0.6172 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0084/0.4831, allocations: 3.079 MB / 0.6202 GB, free: 8.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.5018, allocations: 13.58 MB / 0.6335 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5018, allocations: 0 / 0.6335 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5018, allocations: 4 kB / 0.6335 GB, free: 10.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000428/0.5022, allocations: 0 / 0.6335 GB, free: 10.45 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2997 * Number of variables: 2997 Notification: Performance of Generate backend data structure: time 0.02024/0.5225, allocations: 8.896 MB / 0.6422 GB, free: 1.469 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5225, allocations: 8.031 kB / 0.6422 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02139/0.5439, allocations: 5.49 MB / 0.6475 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.5577, allocations: 4.871 MB / 0.6523 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005162/0.5583, allocations: 443.5 kB / 0.6527 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/0.5612, allocations: 0.5739 MB / 0.6533 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03988/0.6011, allocations: 19.89 MB / 0.6727 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002309/0.6013, allocations: 67.5 kB / 0.6728 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.6024, allocations: 271.7 kB / 0.673 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00678/0.6092, allocations: 4.172 MB / 0.6771 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03678/0.6459, allocations: 17.6 MB / 0.6943 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7523/1.398, allocations: 67.69 MB / 0.7604 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01507/1.413, allocations: 6.639 MB / 0.7669 GB, free: 106.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005865/1.419, allocations: 4.844 MB / 0.7716 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/1.42, allocations: 43.34 kB / 0.7717 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.773e-05/1.42, allocations: 76.06 kB / 0.7717 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=429): time 1.306e-05/1.42, allocations: 0 / 0.7717 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=476): time 0.09926/1.519, allocations: 41.89 MB / 0.8126 GB, free: 71.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.519, allocations: 226.4 kB / 0.8129 GB, free: 71.34 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/1.53, allocations: 6.139 MB / 0.8189 GB, free: 65.46 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001332/1.531, allocations: 89.7 kB / 0.8189 GB, free: 65.37 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003597/1.535, allocations: 5.739 MB / 0.8245 GB, free: 60.05 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002974/1.538, allocations: 1.811 MB / 0.8263 GB, free: 58.26 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007033/1.545, allocations: 2.273 MB / 0.8285 GB, free: 55.98 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.545, allocations: 305.1 kB / 0.8288 GB, free: 55.68 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007709/1.552, allocations: 5.027 MB / 0.8337 GB, free: 50.65 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/1.563, allocations: 11.13 MB / 0.8446 GB, free: 36.67 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01744/1.581, allocations: 17.43 MB / 0.8616 GB, free: 16.33 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002717/1.581, allocations: 60 kB / 0.8617 GB, free: 16.27 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.03196/1.613, allocations: 17.82 MB / 0.8791 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004347/1.613, allocations: 96 kB / 0.8792 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006125/1.614, allocations: 208 kB / 0.8794 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007358/1.621, allocations: 2.341 MB / 0.8817 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/1.632, allocations: 2.562 MB / 0.8842 GB, free: 9.207 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02458/1.656, allocations: 16.78 MB / 0.9005 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/1.664, allocations: 0.6516 MB / 0.9012 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/1.667, allocations: 0.6249 MB / 0.9018 GB, free: 6.766 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 955 * Number of states: 0 () * Number of discrete variables: 53 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1359): * Single equations (assignments): 1346 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009178/1.676, allocations: 4.065 MB / 0.9058 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.678, allocations: 0.5782 MB / 0.9063 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02256/1.7, allocations: 10.14 MB / 0.9162 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001143/1.7, allocations: 23.88 kB / 0.9162 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.7, allocations: 6.656 kB / 0.9163 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.702, allocations: 0.5038 MB / 0.9167 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/1.704, allocations: 68 kB / 0.9168 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/1.708, allocations: 299.4 kB / 0.9171 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/1.71, allocations: 298.3 kB / 0.9174 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02281/1.733, allocations: 10.1 MB / 0.9272 GB, free: 12.65 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02452/1.757, allocations: 14.12 MB / 0.941 GB, free: 14.48 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006458/1.764, allocations: 3.606 MB / 0.9446 GB, free: 10.86 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007815/1.771, allocations: 3.53 MB / 0.948 GB, free: 7.359 MB / 0.6388 GB Notification: Performance of Backend: time 5.81e-07/1.771, allocations: 0 / 0.948 GB, free: 7.359 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02056/1.792, allocations: 8.511 MB / 0.9563 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03855/1.83, allocations: 17.56 MB / 0.9735 GB, free: 13.24 MB / 0.67 GB Notification: Performance of Templates: time 0.4448/2.275, allocations: 96.7 MB / 1.068 GB, free: 177.9 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.616350715004955]