Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009186/0.0009186, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.2 MB / 218.9 MB, free: 9.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007671/0.0007672, allocations: 88.45 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3166/0.3166, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.515e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4504, allocations: 109.5 MB / 0.5797 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4507, allocations: 83.08 kB / 0.5798 GB, free: 12.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8384/1.289, allocations: 286 MB / 0.8591 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/1.289, allocations: 0 / 0.8591 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006094/1.29, allocations: 287.9 kB / 0.8594 GB, free: 21.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.03618/1.326, allocations: 13.2 MB / 0.8723 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.326, allocations: 8.031 kB / 0.8723 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07055/1.397, allocations: 18.53 MB / 0.8904 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.556/1.953, allocations: 14.9 MB / 0.9049 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/1.954, allocations: 1.103 MB / 0.906 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008345/1.962, allocations: 1.46 MB / 0.9074 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07905/2.041, allocations: 36.24 MB / 0.9428 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009222/2.042, allocations: 129 kB / 0.9429 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009182/2.052, allocations: 0.6684 MB / 0.9436 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006163/2.058, allocations: 3.716 MB / 0.9472 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05991/2.118, allocations: 32.54 MB / 0.979 GB, free: 38.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7024/2.82, allocations: 140.8 MB / 1.116 GB, free: 95.72 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03089/2.851, allocations: 15.61 MB / 1.132 GB, free: 93.84 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/2.862, allocations: 9.571 MB / 1.141 GB, free: 93.77 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05954/2.922, allocations: 35.73 MB / 1.176 GB, free: 91.38 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/2.922, allocations: 105.1 kB / 1.176 GB, free: 91.33 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=747): time 1.038e-05/2.922, allocations: 0 / 1.176 GB, free: 91.33 MB / 0.5732 GB Notification: Performance of matching and sorting (n=829): time 0.1673/3.089, allocations: 69.93 MB / 1.244 GB, free: 72.27 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/3.089, allocations: 310.8 kB / 1.245 GB, free: 71.92 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/3.104, allocations: 9.3 MB / 1.254 GB, free: 63.89 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 0.001635/3.105, allocations: 137.1 kB / 1.254 GB, free: 63.76 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.006172/3.111, allocations: 9.84 MB / 1.263 GB, free: 54.98 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.003849/3.115, allocations: 2.988 MB / 1.266 GB, free: 52.33 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/3.117, allocations: 360.8 kB / 1.267 GB, free: 51.98 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0009609/3.118, allocations: 1.103 MB / 1.268 GB, free: 51.09 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/3.129, allocations: 8.124 MB / 1.276 GB, free: 43.75 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/3.145, allocations: 17.69 MB / 1.293 GB, free: 22.9 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/3.16, allocations: 12.08 MB / 1.305 GB, free: 13.09 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/3.161, allocations: 100 kB / 1.305 GB, free: 13 MB / 0.5732 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.3425/3.503, allocations: 27.93 MB / 1.332 GB, free: 80.43 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/3.503, allocations: 147.9 kB / 1.332 GB, free: 80.43 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004482/3.504, allocations: 331.9 kB / 1.333 GB, free: 80.43 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/3.51, allocations: 2.402 MB / 1.335 GB, free: 80.4 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/3.524, allocations: 4.288 MB / 1.339 GB, free: 80.4 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/3.539, allocations: 14.37 MB / 1.353 GB, free: 77.7 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/3.553, allocations: 1.096 MB / 1.354 GB, free: 77.7 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003263/3.557, allocations: 1 MB / 1.355 GB, free: 77.7 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2208): * Single equations (assignments): 2191 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002986/3.56, allocations: 1.427 MB / 1.357 GB, free: 77.57 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/3.561, allocations: 1.011 MB / 1.358 GB, free: 77.57 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/3.586, allocations: 15.8 MB / 1.373 GB, free: 77.18 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001577/3.586, allocations: 163.5 kB / 1.373 GB, free: 77.18 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.25e-05/3.586, allocations: 14.84 kB / 1.373 GB, free: 77.18 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-05/3.586, allocations: 33.47 kB / 1.373 GB, free: 77.18 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05841/3.644, allocations: 34.72 MB / 1.407 GB, free: 73.53 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/3.644, allocations: 6.312 kB / 1.407 GB, free: 73.53 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006737/3.651, allocations: 1.395 MB / 1.409 GB, free: 73.44 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005043/3.656, allocations: 1.78 MB / 1.41 GB, free: 73.07 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001768/3.658, allocations: 133.8 kB / 1.41 GB, free: 72.98 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/3.673, allocations: 12.91 MB / 1.423 GB, free: 66.27 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/3.673, allocations: 6.031 kB / 1.423 GB, free: 66.27 MB / 0.5732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03285/3.706, allocations: 26.46 MB / 1.449 GB, free: 55.41 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005705/3.711, allocations: 2.256 MB / 1.451 GB, free: 54.55 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002472/3.714, allocations: 122.6 kB / 1.451 GB, free: 54.47 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006561/3.721, allocations: 0.5401 MB / 1.452 GB, free: 54.38 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00173/3.722, allocations: 438.4 kB / 1.452 GB, free: 54.31 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000574/3.723, allocations: 191.9 kB / 1.452 GB, free: 54.27 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.01125/3.734, allocations: 6.422 MB / 1.459 GB, free: 52.13 MB / 0.5732 GB Notification: Performance of sort global known variables: time 3e-07/3.734, allocations: 2.656 kB / 1.459 GB, free: 52.13 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.01532/3.75, allocations: 3.445 MB / 1.462 GB, free: 51.75 MB / 0.5732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (655): * Single equations (assignments): 638 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/3.751, allocations: 312.1 kB / 1.462 GB, free: 51.51 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.02615/3.777, allocations: 19.53 MB / 1.481 GB, free: 35.66 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/3.777, allocations: 0 / 1.481 GB, free: 35.66 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.01032/3.788, allocations: 7.639 MB / 1.489 GB, free: 28.71 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/3.793, allocations: 1.262 MB / 1.49 GB, free: 27.67 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04962/3.843, allocations: 29.35 MB / 1.519 GB, free: 1.434 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01705/3.86, allocations: 10.59 MB / 1.529 GB, free: 9.82 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.01625/3.876, allocations: 6.932 MB / 1.536 GB, free: 6.098 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3073/4.184, allocations: 0.7231 MB / 1.536 GB, free: 85.09 MB / 0.5888 GB Notification: Performance of SimCode: time 1.092e-06/4.184, allocations: 0 / 1.536 GB, free: 85.09 MB / 0.5888 GB Notification: Performance of Templates: time 0.1882/4.372, allocations: 103 MB / 1.637 GB, free: 77.14 MB / 0.5888 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches