Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007953/0.0007953, allocations: 100.2 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.882e-05, allocations: 4 kB / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 51.49 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5299, allocations: 99.79 MB / 495 MB, free: 9.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.5302, allocations: 84.61 kB / 495 MB, free: 9.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7519/1.282, allocations: 155.7 MB / 0.6355 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.282, allocations: 0 / 0.6355 GB, free: 73.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006894/1.283, allocations: 142.9 kB / 0.6357 GB, free: 73.32 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.04405/1.327, allocations: 8.801 MB / 0.6443 GB, free: 70 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.327, allocations: 7.25 kB / 0.6443 GB, free: 70 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06471/1.392, allocations: 17.82 MB / 0.6617 GB, free: 68.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/1.426, allocations: 11.35 MB / 0.6728 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006991/1.427, allocations: 213.4 kB / 0.673 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/1.432, allocations: 411.5 kB / 0.6734 GB, free: 62.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02132/1.453, allocations: 9.008 MB / 0.6822 GB, free: 57.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03645/1.49, allocations: 14.15 MB / 0.696 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007264/1.491, allocations: 118.9 kB / 0.6961 GB, free: 41.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003837/1.495, allocations: 44 kB / 0.6961 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002509/1.497, allocations: 1.479 MB / 0.6976 GB, free: 40.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4877/1.985, allocations: 74.5 MB / 0.7703 GB, free: 39.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/1.992, allocations: 5.363 MB / 0.7756 GB, free: 38.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/1.997, allocations: 4.024 MB / 0.7795 GB, free: 38.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/1.999, allocations: 1.352 MB / 0.7808 GB, free: 37.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/1.999, allocations: 67.2 kB / 0.7809 GB, free: 37.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 7.244e-06/1.999, allocations: 6.031 kB / 0.7809 GB, free: 37.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=349): time 0.1075/2.107, allocations: 44.55 MB / 0.8244 GB, free: 25.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/2.107, allocations: 295.8 kB / 0.8247 GB, free: 25.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009161/2.116, allocations: 5.617 MB / 0.8302 GB, free: 23.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/2.117, allocations: 29.23 kB / 0.8302 GB, free: 23.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003455/2.121, allocations: 5.252 MB / 0.8353 GB, free: 19.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001969/2.123, allocations: 1.293 MB / 0.8366 GB, free: 18.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/2.123, allocations: 0 / 0.8366 GB, free: 18.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000517/2.124, allocations: 0.7159 MB / 0.8373 GB, free: 17.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/2.129, allocations: 4.29 MB / 0.8415 GB, free: 16.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007337/2.136, allocations: 9.67 MB / 0.8509 GB, free: 7.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008213/2.144, allocations: 6.339 MB / 0.8571 GB, free: 5.117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/2.144, allocations: 52.94 kB / 0.8571 GB, free: 5.117 MB / 458.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.07985/2.224, allocations: 30.88 MB / 0.8873 GB, free: 7.133 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004024/2.225, allocations: 88 kB / 0.8874 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05506/2.28, allocations: 20.6 MB / 0.9075 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05102/2.331, allocations: 16.87 MB / 0.924 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009442/2.34, allocations: 2.152 MB / 0.9261 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4115/2.752, allocations: 31.46 MB / 0.9568 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/2.762, allocations: 0.5987 MB / 0.9574 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/2.765, allocations: 0.5756 MB / 0.9579 GB, free: 113.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1113): * Single equations (assignments): 1100 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002165/2.767, allocations: 0.593 MB / 0.9585 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/2.769, allocations: 0.6212 MB / 0.9591 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/2.79, allocations: 9.746 MB / 0.9687 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01708/2.807, allocations: 8.55 MB / 0.977 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.83e-05/2.807, allocations: 17.92 kB / 0.977 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/2.807, allocations: 17.27 kB / 0.977 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04415/2.851, allocations: 22.2 MB / 0.9987 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-05/2.851, allocations: 3.875 kB / 0.9987 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/2.854, allocations: 0.5518 MB / 0.9993 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01248/2.867, allocations: 3.969 MB / 1.003 GB, free: 99.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.868, allocations: 54.98 kB / 1.003 GB, free: 99.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02519/2.893, allocations: 22.76 MB / 1.025 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001506/2.895, allocations: 2.838 MB / 1.028 GB, free: 83.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0246/2.919, allocations: 15.06 MB / 1.043 GB, free: 77.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/2.922, allocations: 0.6395 MB / 1.044 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/2.924, allocations: 38.05 kB / 1.044 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00501/2.929, allocations: 274.1 kB / 1.044 GB, free: 76.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.93, allocations: 249.3 kB / 1.044 GB, free: 76.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/2.93, allocations: 98.34 kB / 1.044 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007435/2.938, allocations: 3.863 MB / 1.048 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/2.938, allocations: 1.312 kB / 1.048 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01321/2.951, allocations: 1.907 MB / 1.05 GB, free: 74.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/2.952, allocations: 183.5 kB / 1.05 GB, free: 74.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0176/2.97, allocations: 11.31 MB / 1.061 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/2.97, allocations: 0 / 1.061 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006612/2.976, allocations: 4.986 MB / 1.066 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007364/2.984, allocations: 0.7926 MB / 1.067 GB, free: 59.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/3.019, allocations: 15.92 MB / 1.082 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007048/3.026, allocations: 5.486 MB / 1.088 GB, free: 41.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009652/3.036, allocations: 3.161 MB / 1.091 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/3.038, allocations: 431.3 kB / 1.091 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/3.038, allocations: 0 / 1.091 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.4633/3.501, allocations: 89.63 MB / 1.179 GB, free: 104.4 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GyroscopicEffects/GyroscopicEffects.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches