Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 112.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, 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.399/1.399, 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.2191/0.2191, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 62.43 MB / 0.5317 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.03229/0.3515, allocations: 30.82 MB / 0.5618 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.3694, allocations: 7.654 MB / 0.5692 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005806/0.3753, allocations: 223.4 kB / 0.5695 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01673/0.3921, allocations: 9.127 MB / 0.5784 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.4043, allocations: 4.928 MB / 0.5832 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.4082, allocations: 1.529 MB / 0.5847 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01903/0.4273, allocations: 15.27 MB / 0.5996 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01561/0.4429, allocations: 12.02 MB / 0.6113 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008993/0.452, allocations: 5.351 MB / 0.6166 GB, free: 10.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.4623, allocations: 7.166 MB / 0.6235 GB, free: 3.211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003945/0.4663, allocations: 1.145 MB / 0.6247 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/0.4725, allocations: 1.912 MB / 0.6265 GB, free: 156 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008412/0.4809, allocations: 6.651 MB / 0.633 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.012/0.493, allocations: 7.515 MB / 0.6404 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02779/0.5208, allocations: 23.5 MB / 0.6633 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5208, allocations: 0 / 0.6633 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5208, allocations: 0 / 0.6633 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.000697/0.5215, allocations: 0 / 0.6633 GB, free: 10.34 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5230 * Number of variables: 5230 Notification: Performance of Generate backend data structure: time 0.03258/0.5541, allocations: 15.25 MB / 0.6782 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5542, allocations: 17.09 kB / 0.6782 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03647/0.5907, allocations: 9.309 MB / 0.6873 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/0.6109, allocations: 8.945 MB / 0.6961 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009452/0.6119, allocations: 0.7737 MB / 0.6968 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004286/0.6162, allocations: 1.066 MB / 0.6979 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5384/1.155, allocations: 35.54 MB / 0.7326 GB, free: 139.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005646/1.155, allocations: 110 kB / 0.7327 GB, free: 139.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003492/1.159, allocations: 483.4 kB / 0.7331 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01142/1.17, allocations: 7.443 MB / 0.7404 GB, free: 137.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05306/1.223, allocations: 32.2 MB / 0.7718 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1502/1.373, allocations: 127 MB / 0.8959 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0358/1.409, allocations: 15.58 MB / 0.9111 GB, free: 15.7 MB / 0.6076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01364/1.423, allocations: 9.778 MB / 0.9207 GB, free: 5.887 MB / 0.6076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06459/1.488, allocations: 35.25 MB / 0.9551 GB, free: 2.457 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.93e-05/1.488, allocations: 98.86 kB / 0.9552 GB, free: 2.348 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=705): time 1.347e-05/1.488, allocations: 0 / 0.9552 GB, free: 2.348 MB / 0.6388 GB Notification: Performance of matching and sorting (n=787): time 0.6895/2.177, allocations: 83.64 MB / 1.037 GB, free: 196.6 MB / 0.6546 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/2.177, allocations: 304.3 kB / 1.037 GB, free: 196.2 MB / 0.6546 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/2.189, allocations: 10.36 MB / 1.047 GB, free: 185.8 MB / 0.6546 GB Notification: Performance of collectPreVariables (initialization): time 0.001381/2.19, allocations: 133.5 kB / 1.047 GB, free: 185.7 MB / 0.6546 GB Notification: Performance of collectInitialEqns (initialization): time 0.004221/2.195, allocations: 9.385 MB / 1.057 GB, free: 176.3 MB / 0.6546 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/2.198, allocations: 2.849 MB / 1.059 GB, free: 173.5 MB / 0.6546 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004863/2.203, allocations: 3.652 MB / 1.063 GB, free: 169.8 MB / 0.6546 GB Notification: Performance of setup shared object (initialization): time 4.041e-05/2.203, allocations: 310.8 kB / 1.063 GB, free: 169.5 MB / 0.6546 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/2.213, allocations: 8.585 MB / 1.072 GB, free: 160.9 MB / 0.6546 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.015/2.228, allocations: 17.94 MB / 1.089 GB, free: 138.5 MB / 0.6546 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02633/2.254, allocations: 28.45 MB / 1.117 GB, free: 105.5 MB / 0.6546 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/2.254, allocations: 92 kB / 1.117 GB, free: 105.4 MB / 0.6546 GB Notification: Performance of matching and sorting (n=2392) (initialization): time 0.0464/2.301, allocations: 29.39 MB / 1.146 GB, free: 76.01 MB / 0.6546 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/2.301, allocations: 140 kB / 1.146 GB, free: 75.87 MB / 0.6546 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000255/2.301, allocations: 320 kB / 1.146 GB, free: 75.56 MB / 0.6546 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008751/2.31, allocations: 3.673 MB / 1.15 GB, free: 71.88 MB / 0.6546 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0133/2.323, allocations: 4.258 MB / 1.154 GB, free: 67.61 MB / 0.6546 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/2.344, allocations: 19.89 MB / 1.173 GB, free: 47.44 MB / 0.6546 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/2.356, allocations: 1.092 MB / 1.174 GB, free: 46.34 MB / 0.6546 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.359, allocations: 0.9757 MB / 1.175 GB, free: 45.37 MB / 0.6546 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1463 * Number of states: 0 () * Number of discrete variables: 97 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.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 (2196): * Single equations (assignments): 2179 * 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.0101/2.369, allocations: 6.941 MB / 1.182 GB, free: 38.42 MB / 0.6546 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.371, allocations: 0.9679 MB / 1.183 GB, free: 37.44 MB / 0.6546 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02624/2.397, allocations: 17.23 MB / 1.2 GB, free: 20.12 MB / 0.6546 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001211/2.397, allocations: 31.88 kB / 1.2 GB, free: 20.09 MB / 0.6546 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/2.397, allocations: 4 kB / 1.2 GB, free: 20.09 MB / 0.6546 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/2.399, allocations: 0.9492 MB / 1.201 GB, free: 19.11 MB / 0.6546 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/2.401, allocations: 107.4 kB / 1.201 GB, free: 19 MB / 0.6546 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004519/2.406, allocations: 0.5459 MB / 1.201 GB, free: 18.46 MB / 0.6546 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/2.407, allocations: 448.3 kB / 1.202 GB, free: 18.02 MB / 0.6546 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2811/2.688, allocations: 17.25 MB / 1.219 GB, free: 195.9 MB / 0.6546 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02942/2.717, allocations: 24.2 MB / 1.242 GB, free: 187.7 MB / 0.6546 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0071/2.724, allocations: 6.887 MB / 1.249 GB, free: 185.1 MB / 0.6546 GB Notification: Performance of sorting global known variables: time 0.007298/2.732, allocations: 6.412 MB / 1.255 GB, free: 183.1 MB / 0.6546 GB Notification: Performance of Backend: time 3.6e-07/2.732, allocations: 0 / 1.255 GB, free: 183.1 MB / 0.6546 GB Notification: Performance of simCode: created initialization part: time 0.02184/2.754, allocations: 14.5 MB / 1.27 GB, free: 177.9 MB / 0.6546 GB Notification: Performance of SimCode: time 0.04463/2.798, allocations: 29.51 MB / 1.298 GB, free: 154.7 MB / 0.6546 GB Notification: Performance of Templates: time 0.2114/3.01, allocations: 155.4 MB / 1.45 GB, free: 2.543 MB / 0.6546 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches