Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008706/0.0008705, allocations: 88.47 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.772e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4757, allocations: 98.75 MB / 486.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.476, allocations: 83.95 kB / 486.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5095/0.9855, allocations: 102.1 MB / 0.5746 GB, free: 94.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.9856, allocations: 0 / 0.5746 GB, free: 94.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004246/0.986, allocations: 103.1 kB / 0.5747 GB, free: 94.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02199/1.008, allocations: 5.099 MB / 0.5796 GB, free: 92.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.008, allocations: 10.22 kB / 0.5796 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02798/1.036, allocations: 6.894 MB / 0.5864 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/1.054, allocations: 6.42 MB / 0.5926 GB, free: 91.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/1.055, allocations: 167.1 kB / 0.5928 GB, free: 91.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/1.057, allocations: 319.1 kB / 0.5931 GB, free: 91.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01539/1.073, allocations: 7.219 MB / 0.6002 GB, free: 89.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/1.1, allocations: 10.91 MB / 0.6108 GB, free: 83.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006286/1.101, allocations: 68.91 kB / 0.6109 GB, free: 83.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/1.104, allocations: 35.22 kB / 0.6109 GB, free: 83.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/1.106, allocations: 1.07 MB / 0.612 GB, free: 83.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0617/1.168, allocations: 54.57 MB / 0.6652 GB, free: 35.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/1.172, allocations: 3.295 MB / 0.6685 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/1.174, allocations: 2.112 MB / 0.6705 GB, free: 29.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/1.174, allocations: 332.2 kB / 0.6708 GB, free: 29.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.174, allocations: 55.81 kB / 0.6709 GB, free: 29.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 4.558e-06/1.174, allocations: 4 kB / 0.6709 GB, free: 29.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.03923/1.213, allocations: 18.98 MB / 0.6894 GB, free: 10.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/1.214, allocations: 201.2 kB / 0.6896 GB, free: 9.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/1.219, allocations: 3.569 MB / 0.6931 GB, free: 6.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004538/1.22, allocations: 25.7 kB / 0.6931 GB, free: 6.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/1.221, allocations: 3.701 MB / 0.6968 GB, free: 2.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007565/1.222, allocations: 0.7633 MB / 0.6975 GB, free: 1.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/1.222, allocations: 8 kB / 0.6975 GB, free: 1.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002762/1.222, allocations: 0.5789 MB / 0.6981 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002564/1.225, allocations: 2.008 MB / 0.7 GB, free: 15.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005975/1.231, allocations: 5.951 MB / 0.7058 GB, free: 7.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005614/1.237, allocations: 3.437 MB / 0.7092 GB, free: 3.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.237, allocations: 40 kB / 0.7092 GB, free: 3.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.328/1.565, allocations: 7.785 MB / 0.7168 GB, free: 94.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.565, allocations: 65.41 kB / 0.7169 GB, free: 94.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/1.565, allocations: 142.9 kB / 0.717 GB, free: 94.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/1.568, allocations: 0.9435 MB / 0.718 GB, free: 94.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.574, allocations: 1.492 MB / 0.7194 GB, free: 94.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.585, allocations: 7.259 MB / 0.7265 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/1.591, allocations: 223.8 kB / 0.7267 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.592, allocations: 399 kB / 0.7271 GB, free: 92.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[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],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 786 * Array equations: 3 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00111/1.593, allocations: 472.2 kB / 0.7275 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008538/1.594, allocations: 390 kB / 0.7279 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/1.601, allocations: 3.123 MB / 0.731 GB, free: 91.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.601, allocations: 27.25 kB / 0.731 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/1.601, allocations: 7.344 kB / 0.731 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.601, allocations: 11.08 kB / 0.731 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.615, allocations: 7.911 MB / 0.7387 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.615, allocations: 3.906 kB / 0.7387 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.617, allocations: 316.4 kB / 0.739 GB, free: 91.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/1.619, allocations: 0.6755 MB / 0.7397 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/1.619, allocations: 8.672 kB / 0.7397 GB, free: 91.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/1.626, allocations: 6.197 MB / 0.7458 GB, free: 88.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/1.626, allocations: 10.17 kB / 0.7458 GB, free: 88.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/1.633, allocations: 5.767 MB / 0.7514 GB, free: 85.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.635, allocations: 417.6 kB / 0.7518 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.635, allocations: 15.34 kB / 0.7518 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.636, allocations: 68.62 kB / 0.7519 GB, free: 85.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/1.637, allocations: 126.6 kB / 0.752 GB, free: 85.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.637, allocations: 55.55 kB / 0.7521 GB, free: 85.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003703/1.641, allocations: 2.419 MB / 0.7544 GB, free: 84.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.641, allocations: 0 / 0.7544 GB, free: 84.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006203/1.647, allocations: 0.9878 MB / 0.7554 GB, free: 84.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004699/1.647, allocations: 147.3 kB / 0.7555 GB, free: 84.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007868/1.655, allocations: 5.094 MB / 0.7605 GB, free: 82.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.655, allocations: 0 / 0.7605 GB, free: 82.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.658, allocations: 1.755 MB / 0.7622 GB, free: 81.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.66, allocations: 451.6 kB / 0.7626 GB, free: 81.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.678, allocations: 8.785 MB / 0.7712 GB, free: 78.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004215/1.682, allocations: 3.974 MB / 0.7751 GB, free: 77.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005061/1.687, allocations: 2.081 MB / 0.7771 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/1.688, allocations: 256.9 kB / 0.7774 GB, free: 77.03 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/1.688, allocations: 0 / 0.7774 GB, free: 77.03 MB / 442.7 MB Notification: Performance of Templates: time 0.06664/1.754, allocations: 35.05 MB / 0.8116 GB, free: 56.47 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches