Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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) 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(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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.001543, allocations: 186 kB / 16.41 MB, free: 5.727 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.87/1.87, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001132/0.001132, allocations: 92.41 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003771, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3188, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.4765, allocations: 98.56 MB / 473.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.4768, allocations: 91.94 kB / 473.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6674/1.144, allocations: 107 MB / 0.5666 GB, free: 48.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.144, allocations: 4 kB / 0.5666 GB, free: 48.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003745/1.145, allocations: 112 kB / 0.5667 GB, free: 48.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02305/1.168, allocations: 5.736 MB / 0.5723 GB, free: 42.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.168, allocations: 8.031 kB / 0.5724 GB, free: 42.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0496/1.217, allocations: 6.935 MB / 0.5791 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02347/1.241, allocations: 6.855 MB / 0.5858 GB, free: 28.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/1.241, allocations: 414.7 kB / 0.5862 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/1.244, allocations: 0.531 MB / 0.5867 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/1.281, allocations: 12.79 MB / 0.5992 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/1.282, allocations: 67.41 kB / 0.5993 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002082/1.284, allocations: 259.9 kB / 0.5995 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/1.286, allocations: 1.133 MB / 0.6006 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/1.317, allocations: 10.48 MB / 0.6109 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3959/1.713, allocations: 57.19 MB / 0.6667 GB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/1.731, allocations: 4.412 MB / 0.671 GB, free: 45.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/1.755, allocations: 9.969 MB / 0.6808 GB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.755, allocations: 54.72 kB / 0.6808 GB, free: 44.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.021e-06/1.755, allocations: 0 / 0.6808 GB, free: 44.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.08584/1.841, allocations: 18.98 MB / 0.6994 GB, free: 40.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.841, allocations: 200 kB / 0.6996 GB, free: 39.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009993/1.851, allocations: 4.254 MB / 0.7037 GB, free: 38.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005175/1.852, allocations: 61.86 kB / 0.7038 GB, free: 38.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00323/1.855, allocations: 3.633 MB / 0.7073 GB, free: 36.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.857, allocations: 0.8335 MB / 0.7081 GB, free: 35.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009183/1.858, allocations: 132.2 kB / 0.7083 GB, free: 35.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004316/1.858, allocations: 0.5841 MB / 0.7088 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005671/1.864, allocations: 2.257 MB / 0.711 GB, free: 34.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00853/1.872, allocations: 6.213 MB / 0.7171 GB, free: 28.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0092/1.882, allocations: 3.686 MB / 0.7207 GB, free: 26.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/1.882, allocations: 38.16 kB / 0.7207 GB, free: 26.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02456/1.906, allocations: 8.804 MB / 0.7293 GB, free: 24.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.907, allocations: 63.91 kB / 0.7294 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/1.907, allocations: 139.1 kB / 0.7295 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004649/1.911, allocations: 0.9323 MB / 0.7304 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009619/1.921, allocations: 1.512 MB / 0.7319 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.935, allocations: 7.614 MB / 0.7393 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007291/1.942, allocations: 361.6 kB / 0.7397 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.943, allocations: 398.9 kB / 0.7401 GB, free: 15.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (798): * Single equations (assignments): 793 * 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.006611/1.95, allocations: 2.576 MB / 0.7426 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.951, allocations: 430.5 kB / 0.743 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.962, allocations: 3.607 MB / 0.7465 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.91e-05/1.962, allocations: 24 kB / 0.7465 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.962, allocations: 4 kB / 0.7465 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.032e-05/1.963, allocations: 11.5 kB / 0.7466 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02753/1.99, allocations: 9.319 MB / 0.7557 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/1.99, allocations: 0 / 0.7557 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/1.993, allocations: 338 kB / 0.756 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/1.997, allocations: 0.692 MB / 0.7567 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004383/1.998, allocations: 43.47 kB / 0.7567 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/2.012, allocations: 6.74 MB / 0.7633 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/2.012, allocations: 7.938 kB / 0.7633 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/2.033, allocations: 6.365 MB / 0.7695 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003878/2.037, allocations: 0.7362 MB / 0.7702 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/2.039, allocations: 38.81 kB / 0.7703 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/2.043, allocations: 111.2 kB / 0.7704 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008095/2.044, allocations: 135 kB / 0.7705 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/2.045, allocations: 58.64 kB / 0.7706 GB, free: 4.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008681/2.053, allocations: 3.01 MB / 0.7735 GB, free: 2.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/2.053, allocations: 0 / 0.7735 GB, free: 2.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008576/2.062, allocations: 1.193 MB / 0.7747 GB, free: 1.168 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * 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.0008624/2.063, allocations: 176.4 kB / 0.7748 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01628/2.079, allocations: 5.782 MB / 0.7805 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/2.079, allocations: 4 kB / 0.7805 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005876/2.085, allocations: 2.001 MB / 0.7824 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/2.09, allocations: 0.5254 MB / 0.7829 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/2.126, allocations: 14.04 MB / 0.7966 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/2.137, allocations: 4.116 MB / 0.8007 GB, free: 7.824 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/2.139, allocations: 335.4 kB / 0.801 GB, free: 7.496 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/2.139, allocations: 0 / 0.801 GB, free: 7.496 MB / 458.7 MB Notification: Performance of Templates: time 0.5184/2.657, allocations: 112.2 MB / 0.9106 GB, free: 91.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches