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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2018/0.2018, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 71.83 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1205, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02132/0.1419, allocations: 19.39 MB / 0.5075 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.1572, allocations: 5.427 MB / 0.5128 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.1612, allocations: 119.7 kB / 0.5129 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009269/0.1705, allocations: 4.816 MB / 0.5176 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.1791, allocations: 3.179 MB / 0.5207 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.1818, allocations: 0.9048 MB / 0.5216 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.1936, allocations: 8.219 MB / 0.5296 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2791/0.4728, allocations: 6.515 MB / 0.536 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006654/0.4795, allocations: 3.015 MB / 0.5389 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00898/0.4885, allocations: 4.103 MB / 0.5429 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003097/0.4916, allocations: 0.6443 MB / 0.5436 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005667/0.4973, allocations: 1.472 MB / 0.545 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007159/0.5045, allocations: 3.807 MB / 0.5487 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01014/0.5146, allocations: 4.403 MB / 0.553 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02311/0.5378, allocations: 14.03 MB / 0.5667 GB, free: 13.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5378, allocations: 2.531 kB / 0.5667 GB, free: 13.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5378, allocations: 0 / 0.5667 GB, free: 13.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005918/0.5384, allocations: 0 / 0.5667 GB, free: 13.53 MB / 430.1 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.02525/0.5637, allocations: 9.035 MB / 0.5756 GB, free: 7.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5638, allocations: 15.02 kB / 0.5756 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.585, allocations: 5.464 MB / 0.5809 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.6004, allocations: 5.148 MB / 0.5859 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/0.6011, allocations: 453.3 kB / 0.5864 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/0.6044, allocations: 0.5944 MB / 0.5869 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04091/0.6454, allocations: 20.53 MB / 0.607 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/0.6458, allocations: 73.05 kB / 0.6071 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002711/0.6485, allocations: 279.6 kB / 0.6073 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007415/0.6559, allocations: 4.348 MB / 0.6116 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03713/0.6931, allocations: 18.25 MB / 0.6294 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/0.8033, allocations: 75.16 MB / 0.7028 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/0.8215, allocations: 8.183 MB / 0.7108 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007524/0.8291, allocations: 5.354 MB / 0.716 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.8295, allocations: 62.08 kB / 0.7161 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.007e-05/0.8296, allocations: 79.95 kB / 0.7161 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=450): time 9.137e-06/0.8296, allocations: 0 / 0.7161 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=497): time 0.3818/1.211, allocations: 42.94 MB / 0.7581 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.212, allocations: 227 kB / 0.7583 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01512/1.227, allocations: 6.524 MB / 0.7647 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/1.228, allocations: 89.44 kB / 0.7648 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004488/1.233, allocations: 5.643 MB / 0.7703 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002795/1.235, allocations: 1.808 MB / 0.772 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008382/1.244, allocations: 2.308 MB / 0.7743 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/1.244, allocations: 301.8 kB / 0.7746 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00973/1.254, allocations: 5.206 MB / 0.7797 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/1.266, allocations: 11.39 MB / 0.7908 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/1.287, allocations: 17.94 MB / 0.8083 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000435/1.287, allocations: 61.75 kB / 0.8084 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.03578/1.323, allocations: 18.33 MB / 0.8263 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004373/1.324, allocations: 96 kB / 0.8263 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004694/1.324, allocations: 219.7 kB / 0.8266 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/1.33, allocations: 2.359 MB / 0.8289 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008883/1.339, allocations: 2.641 MB / 0.8314 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.356, allocations: 17.43 MB / 0.8485 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.367, allocations: 0.6755 MB / 0.8491 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002632/1.369, allocations: 0.6384 MB / 0.8497 GB, free: 135.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * 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 (1400): * Single equations (assignments): 1387 * 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.009526/1.379, allocations: 4.186 MB / 0.8538 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.381, allocations: 0.6148 MB / 0.8544 GB, free: 131.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0176/1.399, allocations: 10.59 MB / 0.8648 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.399, allocations: 31.69 kB / 0.8648 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.399, allocations: 0 / 0.8648 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/1.402, allocations: 1.411 MB / 0.8662 GB, free: 119 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/1.404, allocations: 73.33 kB / 0.8662 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/1.408, allocations: 312.9 kB / 0.8665 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009015/1.409, allocations: 300.6 kB / 0.8668 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0165/1.425, allocations: 10.49 MB / 0.8771 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01573/1.441, allocations: 14.75 MB / 0.8915 GB, free: 93.06 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004479/1.446, allocations: 4.136 MB / 0.8955 GB, free: 88.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007329/1.453, allocations: 4.048 MB / 0.8995 GB, free: 84.88 MB / 0.5919 GB Notification: Performance of Backend: time 6.71e-07/1.453, allocations: 0 / 0.8995 GB, free: 84.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01987/1.473, allocations: 9.325 MB / 0.9086 GB, free: 75.59 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03766/1.511, allocations: 17.79 MB / 0.9259 GB, free: 57.78 MB / 0.5919 GB Notification: Performance of Templates: time 0.3989/1.91, allocations: 97.51 MB / 1.021 GB, free: 175.3 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches