Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001138/0.001138, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01822/0.3193, allocations: 18.57 MB / 0.5498 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3303, allocations: 5.32 MB / 0.555 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.3336, allocations: 115.7 kB / 0.5551 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008334/0.342, allocations: 4.766 MB / 0.5598 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007582/0.3496, allocations: 3.042 MB / 0.5627 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.352, allocations: 0.9126 MB / 0.5636 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.3634, allocations: 8.412 MB / 0.5719 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006562/0.3699, allocations: 6.414 MB / 0.5781 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.3751, allocations: 2.924 MB / 0.581 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005479/0.3806, allocations: 3.956 MB / 0.5848 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.3821, allocations: 0.6211 MB / 0.5854 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.3851, allocations: 1.448 MB / 0.5869 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.3885, allocations: 3.643 MB / 0.5904 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004256/0.3927, allocations: 4.217 MB / 0.5945 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.4103, allocations: 13.43 MB / 0.6076 GB, free: 3.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4103, allocations: 3.938 kB / 0.6077 GB, free: 3.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4103, allocations: 4 kB / 0.6077 GB, free: 3.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004641/0.4108, allocations: 0 / 0.6077 GB, free: 3.625 MB / 462.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.02249/0.4333, allocations: 8.732 MB / 0.6162 GB, free: 10.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4334, allocations: 12.03 kB / 0.6162 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/0.4544, allocations: 5.429 MB / 0.6215 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.467, allocations: 4.918 MB / 0.6263 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/0.4675, allocations: 439.5 kB / 0.6267 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/0.4701, allocations: 0.5739 MB / 0.6273 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/0.5065, allocations: 19.84 MB / 0.6467 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003316/0.5069, allocations: 71.39 kB / 0.6467 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002075/0.509, allocations: 271.7 kB / 0.647 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006571/0.5156, allocations: 4.172 MB / 0.6511 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/0.5503, allocations: 17.65 MB / 0.6683 GB, free: 4.309 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6135/1.164, allocations: 73.17 MB / 0.7397 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/1.179, allocations: 7.938 MB / 0.7475 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/1.185, allocations: 5.181 MB / 0.7526 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/1.185, allocations: 59.89 kB / 0.7526 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/1.185, allocations: 78.34 kB / 0.7527 GB, free: 112.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=429): time 7.314e-06/1.185, allocations: 0 / 0.7527 GB, free: 112.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=476): time 0.09046/1.276, allocations: 41.72 MB / 0.7934 GB, free: 82.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/1.276, allocations: 222.8 kB / 0.7936 GB, free: 82.42 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006715/1.283, allocations: 6.382 MB / 0.7999 GB, free: 76.03 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000853/1.283, allocations: 93.38 kB / 0.8 GB, free: 75.94 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/1.286, allocations: 5.48 MB / 0.8053 GB, free: 70.46 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/1.287, allocations: 1.743 MB / 0.807 GB, free: 68.73 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.29, allocations: 2.252 MB / 0.8092 GB, free: 66.47 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/1.29, allocations: 301.1 kB / 0.8095 GB, free: 66.18 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005541/1.295, allocations: 5.027 MB / 0.8144 GB, free: 61.14 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007542/1.303, allocations: 11.08 MB / 0.8252 GB, free: 47.23 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.319, allocations: 17.44 MB / 0.8423 GB, free: 26.92 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/1.319, allocations: 60 kB / 0.8423 GB, free: 26.86 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 0.02803/1.347, allocations: 17.85 MB / 0.8598 GB, free: 8.969 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.347, allocations: 99.98 kB / 0.8599 GB, free: 8.871 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.348, allocations: 208 kB / 0.8601 GB, free: 8.668 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005227/1.353, allocations: 2.35 MB / 0.8623 GB, free: 6.309 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007936/1.361, allocations: 2.558 MB / 0.8648 GB, free: 3.746 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/1.38, allocations: 17.41 MB / 0.8818 GB, free: 1.789 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008518/1.388, allocations: 0.6589 MB / 0.8825 GB, free: 1.133 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002229/1.391, allocations: 0.621 MB / 0.8831 GB, free: 0.5117 MB / 0.5763 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.007745/1.398, allocations: 4.065 MB / 0.8871 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.4, allocations: 0.59 MB / 0.8876 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/1.418, allocations: 10.21 MB / 0.8976 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/1.418, allocations: 26.73 kB / 0.8976 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.418, allocations: 0 / 0.8976 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.419, allocations: 0.6064 MB / 0.8982 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/1.421, allocations: 67.91 kB / 0.8983 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.424, allocations: 307.5 kB / 0.8986 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007767/1.424, allocations: 274.5 kB / 0.8989 GB, free: 280 kB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01772/1.442, allocations: 10.14 MB / 0.9088 GB, free: 6.172 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01806/1.46, allocations: 14.13 MB / 0.9226 GB, free: 7.98 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005264/1.466, allocations: 3.95 MB / 0.9264 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006806/1.472, allocations: 3.97 MB / 0.9303 GB, free: 60 kB / 0.6232 GB Notification: Performance of Backend: time 6.71e-07/1.472, allocations: 0 / 0.9303 GB, free: 60 kB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01721/1.49, allocations: 9.05 MB / 0.9391 GB, free: 7.023 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03187/1.522, allocations: 17.28 MB / 0.956 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of Templates: time 0.4265/1.948, allocations: 94.02 MB / 1.048 GB, free: 201 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches