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.002056/0.002056, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.466/1.466, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.000758/0.0007581, allocations: 86.36 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2072, allocations: 47.57 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3151, allocations: 98.73 MB / 474.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3154, allocations: 91.95 kB / 474.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3866/0.7021, allocations: 105.5 MB / 0.5664 GB, free: 49.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.7021, allocations: 0 / 0.5664 GB, free: 49.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003335/0.7025, allocations: 108 kB / 0.5665 GB, free: 49.83 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.01583/0.7183, allocations: 5.556 MB / 0.5719 GB, free: 44.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7184, allocations: 11.97 kB / 0.5719 GB, free: 44.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02062/0.739, allocations: 5.289 MB / 0.5771 GB, free: 38.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/0.7508, allocations: 5.716 MB / 0.5827 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/0.7512, allocations: 403.1 kB / 0.5831 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.7534, allocations: 0.5391 MB / 0.5836 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.7762, allocations: 12.68 MB / 0.596 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.7764, allocations: 71.59 kB / 0.596 GB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007242/0.7772, allocations: 259.8 kB / 0.5963 GB, free: 18.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.7784, allocations: 1.133 MB / 0.5974 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.7953, allocations: 10.33 MB / 0.6075 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2461/1.041, allocations: 57.13 MB / 0.6633 GB, free: 47.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00958/1.051, allocations: 4.405 MB / 0.6676 GB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/1.054, allocations: 2.429 MB / 0.6699 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/1.068, allocations: 9.878 MB / 0.6796 GB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/1.068, allocations: 58.41 kB / 0.6797 GB, free: 45.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 5.47e-06/1.068, allocations: 0 / 0.6797 GB, free: 45.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.04387/1.112, allocations: 18.73 MB / 0.6979 GB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.112, allocations: 202.8 kB / 0.6981 GB, free: 41.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/1.118, allocations: 4.782 MB / 0.7028 GB, free: 40.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.119, allocations: 56.58 kB / 0.7029 GB, free: 39.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.121, allocations: 3.777 MB / 0.7066 GB, free: 37.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/1.121, allocations: 0.8259 MB / 0.7074 GB, free: 36.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/1.122, allocations: 135.5 kB / 0.7075 GB, free: 36.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002689/1.122, allocations: 0.582 MB / 0.7081 GB, free: 35.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.125, allocations: 2.257 MB / 0.7103 GB, free: 35.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/1.13, allocations: 6.245 MB / 0.7164 GB, free: 29.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008916/1.139, allocations: 9.254 MB / 0.7254 GB, free: 22.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/1.139, allocations: 43.47 kB / 0.7254 GB, free: 22.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01612/1.155, allocations: 8.973 MB / 0.7342 GB, free: 18.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.155, allocations: 64 kB / 0.7343 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.155, allocations: 140 kB / 0.7344 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/1.158, allocations: 0.913 MB / 0.7353 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004975/1.163, allocations: 1.513 MB / 0.7368 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/1.171, allocations: 7.448 MB / 0.744 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005718/1.176, allocations: 360.7 kB / 0.7444 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.178, allocations: 398.6 kB / 0.7448 GB, free: 8.578 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.005441/1.183, allocations: 2.577 MB / 0.7473 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/1.184, allocations: 430.4 kB / 0.7477 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006281/1.19, allocations: 3.609 MB / 0.7512 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.465e-05/1.191, allocations: 24.78 kB / 0.7512 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.191, allocations: 8 kB / 0.7512 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.191, allocations: 7.688 kB / 0.7513 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.21, allocations: 9.37 MB / 0.7604 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.21, allocations: 7.938 kB / 0.7604 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.212, allocations: 337.9 kB / 0.7607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/1.214, allocations: 0.6862 MB / 0.7614 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/1.214, allocations: 43.12 kB / 0.7614 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007616/1.222, allocations: 6.582 MB / 0.7679 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.222, allocations: 0 / 0.7679 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.236, allocations: 6.625 MB / 0.7743 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.239, allocations: 0.7343 MB / 0.7751 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008298/1.239, allocations: 36 kB / 0.7751 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.241, allocations: 105.9 kB / 0.7752 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/1.242, allocations: 138.6 kB / 0.7753 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.242, allocations: 55.8 kB / 0.7754 GB, free: 15.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005512/1.247, allocations: 3.008 MB / 0.7783 GB, free: 12.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.247, allocations: 0 / 0.7783 GB, free: 12.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006834/1.254, allocations: 1.194 MB / 0.7795 GB, free: 11.36 MB / 442.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.000552/1.255, allocations: 174.2 kB / 0.7796 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.265, allocations: 5.769 MB / 0.7853 GB, free: 5.477 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.265, allocations: 3.281 kB / 0.7853 GB, free: 5.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.269, allocations: 2.003 MB / 0.7872 GB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.274, allocations: 0.5525 MB / 0.7878 GB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.3, allocations: 14.09 MB / 0.8015 GB, free: 4.812 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005516/1.306, allocations: 4.008 MB / 0.8055 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.307, allocations: 335.4 kB / 0.8058 GB, free: 488 kB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.307, allocations: 0 / 0.8058 GB, free: 488 kB / 458.7 MB Notification: Performance of Templates: time 0.3526/1.66, allocations: 116.9 MB / 0.9199 GB, free: 78.48 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