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.0009305/0.0009303, allocations: 175.7 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008704, allocations: 92.45 kB / 281.6 MB, free: 5.281 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.1832/0.1832, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.068e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5225, allocations: 109.9 MB / 0.602 GB, free: 2.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5229, allocations: 83.95 kB / 0.6021 GB, free: 2.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8964/1.419, allocations: 274.4 MB / 0.87 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/1.419, allocations: 0 / 0.87 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001119/1.42, allocations: 280 kB / 0.8703 GB, free: 5.789 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: 5288 * Number of variables: 5288 Notification: Performance of Generate backend data structure: time 0.04395/1.464, allocations: 12.86 MB / 0.8829 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.464, allocations: 8.031 kB / 0.8829 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4008/1.865, allocations: 18.45 MB / 0.9009 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03804/1.903, allocations: 14.08 MB / 0.9146 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007012/1.904, allocations: 466.7 kB / 0.9151 GB, free: 54.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006876/1.911, allocations: 0.828 MB / 0.9159 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0394/1.95, allocations: 23.58 MB / 0.9389 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07319/2.024, allocations: 32.14 MB / 0.9703 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008829/2.025, allocations: 130.4 kB / 0.9704 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007401/2.032, allocations: 62.78 kB / 0.9705 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004841/2.037, allocations: 3.597 MB / 0.974 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/2.209, allocations: 132.7 MB / 1.104 GB, free: 5.047 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.397/2.606, allocations: 15.44 MB / 1.119 GB, free: 106.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01345/2.62, allocations: 9.077 MB / 1.128 GB, free: 106.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/2.622, allocations: 1.293 MB / 1.129 GB, free: 105.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.826e-05/2.622, allocations: 108.3 kB / 1.129 GB, free: 105.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=768): time 1.241e-05/2.622, allocations: 0 / 1.129 GB, free: 105.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=843): time 0.1487/2.77, allocations: 75.93 MB / 1.203 GB, free: 96.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/2.771, allocations: 306.9 kB / 1.203 GB, free: 96.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01732/2.788, allocations: 8.122 MB / 1.211 GB, free: 93.37 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001994/2.79, allocations: 28.77 kB / 1.211 GB, free: 93.34 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00765/2.798, allocations: 9.63 MB / 1.221 GB, free: 86.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004409/2.802, allocations: 2.947 MB / 1.224 GB, free: 83.87 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/2.804, allocations: 0 / 1.224 GB, free: 83.87 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001942/2.806, allocations: 1.123 MB / 1.225 GB, free: 83.22 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0124/2.819, allocations: 7.641 MB / 1.232 GB, free: 80.53 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01852/2.837, allocations: 17.54 MB / 1.249 GB, free: 63.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/2.855, allocations: 11.65 MB / 1.261 GB, free: 54.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004829/2.856, allocations: 100 kB / 1.261 GB, free: 54.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=2451) (initialization): time 0.04962/2.905, allocations: 25.1 MB / 1.285 GB, free: 33.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003275/2.906, allocations: 156 kB / 1.285 GB, free: 33.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007289/2.906, allocations: 348.8 kB / 1.286 GB, free: 33.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006528/2.913, allocations: 2.385 MB / 1.288 GB, free: 31.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/2.929, allocations: 4.368 MB / 1.292 GB, free: 27.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/2.946, allocations: 13.69 MB / 1.306 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/2.961, allocations: 0.7388 MB / 1.306 GB, free: 14.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004632/2.965, allocations: 1.03 MB / 1.307 GB, free: 13.75 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1588 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2255): * Single equations (assignments): 2238 * 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.007428/2.973, allocations: 0.9934 MB / 1.308 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/2.976, allocations: 0.9675 MB / 1.309 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4022/3.378, allocations: 16.92 MB / 1.326 GB, free: 86.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003509/3.378, allocations: 162.5 kB / 1.326 GB, free: 86.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-05/3.378, allocations: 16.77 kB / 1.326 GB, free: 86.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002273/3.379, allocations: 34.64 kB / 1.326 GB, free: 86.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06797/3.447, allocations: 33.96 MB / 1.359 GB, free: 84.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-05/3.447, allocations: 14.09 kB / 1.359 GB, free: 84.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007103/3.454, allocations: 1.413 MB / 1.361 GB, free: 84.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005364/3.459, allocations: 1.754 MB / 1.362 GB, free: 84.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001559/3.461, allocations: 32.86 kB / 1.362 GB, free: 84.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/3.475, allocations: 12.13 MB / 1.374 GB, free: 81.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/3.475, allocations: 26.83 kB / 1.374 GB, free: 81.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04115/3.516, allocations: 27.72 MB / 1.401 GB, free: 75.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003631/3.52, allocations: 0.9068 MB / 1.402 GB, free: 75.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003914/3.524, allocations: 28.12 kB / 1.402 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007372/3.531, allocations: 420.5 kB / 1.403 GB, free: 75.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002055/3.533, allocations: 481.2 kB / 1.403 GB, free: 75.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001015/3.534, allocations: 207.8 kB / 1.403 GB, free: 75.34 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01484/3.549, allocations: 5.407 MB / 1.409 GB, free: 73.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.22e-07/3.549, allocations: 2.844 kB / 1.409 GB, free: 73.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02267/3.572, allocations: 2.891 MB / 1.411 GB, free: 73.44 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (663): * Single equations (assignments): 646 * 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.002232/3.574, allocations: 219.7 kB / 1.412 GB, free: 73.35 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03062/3.605, allocations: 18.47 MB / 1.43 GB, free: 67.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.171e-05/3.605, allocations: 3.094 kB / 1.43 GB, free: 67.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01219/3.617, allocations: 7.61 MB / 1.437 GB, free: 64.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/3.627, allocations: 0.9508 MB / 1.438 GB, free: 64.42 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06651/3.694, allocations: 28.91 MB / 1.466 GB, free: 48.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0202/3.714, allocations: 10.29 MB / 1.476 GB, free: 40.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01948/3.734, allocations: 6.996 MB / 1.483 GB, free: 36.48 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004056/3.738, allocations: 0.6942 MB / 1.484 GB, free: 35.81 MB / 0.573 GB Notification: Performance of SimCode: time 1.233e-06/3.738, allocations: 0 / 1.484 GB, free: 35.81 MB / 0.573 GB Notification: Performance of Templates: time 0.5772/4.315, allocations: 90.94 MB / 1.573 GB, free: 87.2 MB / 0.5886 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/jenkins/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