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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 179 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008595/0.0008595, allocations: 98.44 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3742/0.3742, allocations: 44.14 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004098, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3631, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5033, allocations: 110.7 MB / 0.6189 GB, free: 296 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5036, allocations: 95.92 kB / 0.619 GB, free: 204 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119/1.622, allocations: 276.7 MB / 0.8892 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.438e-06/1.623, allocations: 0 / 0.8892 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001182/1.624, allocations: 275.7 kB / 0.8895 GB, free: 42.56 MB / 0.5105 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.05281/1.677, allocations: 13.34 MB / 0.9025 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.677, allocations: 9 kB / 0.9025 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06076/1.737, allocations: 15.15 MB / 0.9173 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03971/1.777, allocations: 12.82 MB / 0.9298 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001539/1.779, allocations: 1.07 MB / 0.9309 GB, free: 34.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00982/1.789, allocations: 1.42 MB / 0.9322 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09101/1.88, allocations: 35.33 MB / 0.9667 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001284/1.881, allocations: 135.9 kB / 0.9669 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008185/1.889, allocations: 0.6521 MB / 0.9675 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005473/1.895, allocations: 3.596 MB / 0.971 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06718/1.962, allocations: 31.84 MB / 1.002 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5337/2.496, allocations: 137 MB / 1.136 GB, free: 31.47 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03167/2.527, allocations: 15.2 MB / 1.151 GB, free: 29.59 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01339/2.541, allocations: 9.383 MB / 1.16 GB, free: 29.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06967/2.61, allocations: 34.23 MB / 1.193 GB, free: 26.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/2.611, allocations: 100 kB / 1.193 GB, free: 26.86 MB / 0.573 GB Notification: Performance of pre-optimization done (n=705): time 2.506e-05/2.611, allocations: 3.188 kB / 1.193 GB, free: 26.86 MB / 0.573 GB Notification: Performance of matching and sorting (n=787): time 0.2283/2.839, allocations: 80.56 MB / 1.272 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002563/2.839, allocations: 303.9 kB / 1.272 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02536/2.865, allocations: 10.39 MB / 1.283 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.00167/2.866, allocations: 136.2 kB / 1.283 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.008226/2.875, allocations: 9.568 MB / 1.292 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004199/2.879, allocations: 2.851 MB / 1.295 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002554/2.881, allocations: 342.7 kB / 1.295 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.002273/2.884, allocations: 1.079 MB / 1.296 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03965/2.923, allocations: 10 MB / 1.306 GB, free: 0 / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4028/3.326, allocations: 17.4 MB / 1.323 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03612/3.362, allocations: 27.54 MB / 1.35 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005445/3.363, allocations: 93.81 kB / 1.35 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2328) (initialization): time 0.0663/3.429, allocations: 26.99 MB / 1.376 GB, free: 98.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008521/3.43, allocations: 144.2 kB / 1.376 GB, free: 98.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001072/3.431, allocations: 325.7 kB / 1.377 GB, free: 98.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007213/3.439, allocations: 2.359 MB / 1.379 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/3.454, allocations: 4.13 MB / 1.383 GB, free: 97.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/3.475, allocations: 14.39 MB / 1.397 GB, free: 94.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01813/3.493, allocations: 1.054 MB / 1.398 GB, free: 93.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004577/3.497, allocations: 0.9659 MB / 1.399 GB, free: 93.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1479 * Number of states: 0 () * Number of discrete variables: 97 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (2132): * Single equations (assignments): 2115 * 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.02384/3.521, allocations: 7.007 MB / 1.406 GB, free: 90.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00396/3.525, allocations: 0.9779 MB / 1.407 GB, free: 90.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03358/3.559, allocations: 15.31 MB / 1.422 GB, free: 85.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001996/3.559, allocations: 163.6 kB / 1.422 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-05/3.559, allocations: 17 kB / 1.422 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001568/3.559, allocations: 37.41 kB / 1.422 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08127/3.641, allocations: 33.56 MB / 1.455 GB, free: 72.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-05/3.641, allocations: 8 kB / 1.455 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006787/3.647, allocations: 1.305 MB / 1.456 GB, free: 71.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005445/3.653, allocations: 1.775 MB / 1.458 GB, free: 70.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001695/3.655, allocations: 127 kB / 1.458 GB, free: 69.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/3.67, allocations: 12.97 MB / 1.471 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/3.67, allocations: 8 kB / 1.471 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03974/3.71, allocations: 24.13 MB / 1.494 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/3.714, allocations: 0.965 MB / 1.495 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004219/3.719, allocations: 114 kB / 1.495 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007663/3.726, allocations: 0.5099 MB / 1.496 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002286/3.729, allocations: 428.7 kB / 1.496 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001494/3.73, allocations: 178.4 kB / 1.496 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01576/3.746, allocations: 6.362 MB / 1.503 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/3.746, allocations: 0 / 1.503 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02199/3.768, allocations: 3.323 MB / 1.506 GB, free: 27.12 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (611): * Single equations (assignments): 594 * 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.002073/3.77, allocations: 315.7 kB / 1.506 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.4094/4.18, allocations: 21.03 MB / 1.527 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/4.18, allocations: 0 / 1.527 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/4.192, allocations: 7.411 MB / 1.534 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02076/4.213, allocations: 1.331 MB / 1.535 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/4.313, allocations: 39.71 MB / 1.574 GB, free: 97.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03438/4.348, allocations: 9.998 MB / 1.584 GB, free: 95.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02302/4.371, allocations: 6.477 MB / 1.59 GB, free: 95.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005349/4.376, allocations: 0.6982 MB / 1.591 GB, free: 95.85 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/4.376, allocations: 0 / 1.591 GB, free: 95.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.2024/4.579, allocations: 100.2 MB / 1.689 GB, free: 60.74 MB / 0.6042 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches