Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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 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 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) 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.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.6 kB / 18.46 MB, free: 4.617 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.001265/0.001265, allocations: 187.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3408, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.03155/0.3724, allocations: 31.12 MB / 0.55 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02271/0.3952, allocations: 7.697 MB / 0.5575 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/0.4059, allocations: 219.4 kB / 0.5577 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01943/0.4253, allocations: 9.178 MB / 0.5667 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.4403, allocations: 5.183 MB / 0.5717 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.4444, allocations: 1.537 MB / 0.5732 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02224/0.4667, allocations: 15.22 MB / 0.5881 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.4869, allocations: 12.06 MB / 0.5999 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.4979, allocations: 5.397 MB / 0.6051 GB, free: 4.141 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/0.5113, allocations: 7.228 MB / 0.6122 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004775/0.5161, allocations: 1.152 MB / 0.6133 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006383/0.5225, allocations: 1.936 MB / 0.6152 GB, free: 9.801 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009738/0.5322, allocations: 6.753 MB / 0.6218 GB, free: 3.031 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01723/0.5495, allocations: 7.643 MB / 0.6293 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0339/0.5834, allocations: 23.87 MB / 0.6526 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5835, allocations: 0 / 0.6526 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5835, allocations: 0 / 0.6526 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0009335/0.5844, allocations: 0 / 0.6526 GB, free: 3.387 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5288 * Number of variables: 5288 Notification: Performance of Generate backend data structure: time 0.0474/0.6318, allocations: 15.42 MB / 0.6676 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.6319, allocations: 12.03 kB / 0.6677 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04147/0.6734, allocations: 9.371 MB / 0.6768 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02374/0.6972, allocations: 9.094 MB / 0.6857 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001034/0.6983, allocations: 0.77 MB / 0.6864 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005453/0.7037, allocations: 1.073 MB / 0.6875 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5577/1.261, allocations: 35.93 MB / 0.7226 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007701/1.262, allocations: 109 kB / 0.7227 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004133/1.266, allocations: 483.5 kB / 0.7231 GB, free: 146 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01435/1.281, allocations: 7.562 MB / 0.7305 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05944/1.34, allocations: 32.51 MB / 0.7623 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/1.492, allocations: 127.8 MB / 0.8871 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03538/1.527, allocations: 15.59 MB / 0.9023 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01386/1.541, allocations: 9.781 MB / 0.9119 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07486/1.616, allocations: 35.27 MB / 0.9463 GB, free: 44 kB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/1.616, allocations: 99 kB / 0.9464 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=705): time 1.137e-05/1.616, allocations: 0 / 0.9464 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of matching and sorting (n=787): time 0.8067/2.423, allocations: 83.74 MB / 1.028 GB, free: 187.3 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/2.423, allocations: 304.3 kB / 1.029 GB, free: 186.9 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/2.436, allocations: 10.4 MB / 1.039 GB, free: 176.5 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.001604/2.438, allocations: 141.5 kB / 1.039 GB, free: 176.4 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.00461/2.442, allocations: 9.459 MB / 1.048 GB, free: 166.9 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.00347/2.446, allocations: 2.858 MB / 1.051 GB, free: 164.1 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005515/2.451, allocations: 3.667 MB / 1.054 GB, free: 160.4 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/2.451, allocations: 309.1 kB / 1.055 GB, free: 160.1 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/2.462, allocations: 8.589 MB / 1.063 GB, free: 151.5 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01489/2.476, allocations: 17.99 MB / 1.081 GB, free: 129 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/2.505, allocations: 28.51 MB / 1.109 GB, free: 95.95 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/2.505, allocations: 92 kB / 1.109 GB, free: 95.86 MB / 0.6389 GB Notification: Performance of matching and sorting (n=2398) (initialization): time 0.05191/2.557, allocations: 29.44 MB / 1.137 GB, free: 66.38 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/2.557, allocations: 144 kB / 1.137 GB, free: 66.24 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003197/2.558, allocations: 320 kB / 1.138 GB, free: 65.93 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/2.567, allocations: 3.67 MB / 1.141 GB, free: 62.25 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0139/2.581, allocations: 4.273 MB / 1.146 GB, free: 57.97 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/2.603, allocations: 19.9 MB / 1.165 GB, free: 37.79 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/2.617, allocations: 1.092 MB / 1.166 GB, free: 36.69 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004331/2.621, allocations: 0.9799 MB / 1.167 GB, free: 35.71 MB / 0.6389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1469 * Number of states: 0 () * Number of discrete variables: 97 (torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2202): * Single equations (assignments): 2185 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,36,77.8%), (3,36,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01412/2.635, allocations: 6.993 MB / 1.174 GB, free: 28.7 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002096/2.637, allocations: 0.9717 MB / 1.175 GB, free: 27.72 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/2.663, allocations: 17.24 MB / 1.192 GB, free: 10.4 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/2.663, allocations: 35.81 kB / 1.192 GB, free: 10.37 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/2.663, allocations: 4 kB / 1.192 GB, free: 10.36 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/2.666, allocations: 0.9492 MB / 1.193 GB, free: 9.383 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002782/2.669, allocations: 111.4 kB / 1.193 GB, free: 9.277 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005461/2.675, allocations: 0.5418 MB / 1.193 GB, free: 8.738 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/2.676, allocations: 444.5 kB / 1.194 GB, free: 8.301 MB / 0.6389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4537/3.13, allocations: 17.25 MB / 1.21 GB, free: 187.7 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03084/3.161, allocations: 24.2 MB / 1.234 GB, free: 178.8 MB / 0.6389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00879/3.169, allocations: 6.886 MB / 1.241 GB, free: 176.2 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.01119/3.181, allocations: 6.438 MB / 1.247 GB, free: 174.2 MB / 0.6389 GB Notification: Performance of Backend: time 2.805e-06/3.181, allocations: 0 / 1.247 GB, free: 174.2 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.03148/3.212, allocations: 14.53 MB / 1.261 GB, free: 167.3 MB / 0.6389 GB Notification: Performance of SimCode: time 0.05557/3.268, allocations: 29.73 MB / 1.29 GB, free: 140.4 MB / 0.6389 GB Notification: Performance of Templates: time 0.2284/3.496, allocations: 155.2 MB / 1.442 GB, free: 3.738 MB / 0.6545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches