Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 180.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.0009806, allocations: 92.86 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 15.92 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2551, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.3762, allocations: 99.87 MB / 0.4896 GB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.3765, allocations: 92.95 kB / 0.4897 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5348/0.9113, allocations: 149.7 MB / 0.6359 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.9113, allocations: 0 / 0.6359 GB, free: 7.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006328/0.912, allocations: 144 kB / 0.6361 GB, free: 6.879 MB / 410.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.04194/0.9539, allocations: 9.431 MB / 0.6453 GB, free: 13.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.954, allocations: 8.031 kB / 0.6453 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4981/1.452, allocations: 16.66 MB / 0.6616 GB, free: 54.57 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02877/1.481, allocations: 12.59 MB / 0.6739 GB, free: 54.31 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007122/1.482, allocations: 0.4895 MB / 0.6743 GB, free: 54.29 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/1.485, allocations: 0.667 MB / 0.675 GB, free: 54.29 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0394/1.525, allocations: 16.89 MB / 0.6915 GB, free: 50.21 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005008/1.525, allocations: 120.4 kB / 0.6916 GB, free: 50.21 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/1.527, allocations: 320.5 kB / 0.6919 GB, free: 50.2 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/1.53, allocations: 1.475 MB / 0.6933 GB, free: 50.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/1.558, allocations: 13.67 MB / 0.7067 GB, free: 50.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08134/1.639, allocations: 76.75 MB / 0.7816 GB, free: 11.45 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02663/1.666, allocations: 8.581 MB / 0.79 GB, free: 4.605 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/1.668, allocations: 1.36 MB / 0.7913 GB, free: 3.16 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.631e-05/1.668, allocations: 64.5 kB / 0.7914 GB, free: 3.09 MB / 442.8 MB Notification: Performance of pre-optimization done (n=268): time 6.722e-06/1.668, allocations: 0 / 0.7914 GB, free: 3.09 MB / 442.8 MB Notification: Performance of matching and sorting (n=354): time 0.4044/2.072, allocations: 53.36 MB / 0.8435 GB, free: 95.09 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00191/2.074, allocations: 3.258 MB / 0.8467 GB, free: 92.05 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01453/2.089, allocations: 6.517 MB / 0.8531 GB, free: 91.55 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001143/2.09, allocations: 80.69 kB / 0.8531 GB, free: 91.52 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004912/2.095, allocations: 5.197 MB / 0.8582 GB, free: 89.51 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/2.097, allocations: 1.347 MB / 0.8595 GB, free: 88.73 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/2.098, allocations: 189 kB / 0.8597 GB, free: 88.73 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000468/2.099, allocations: 0.7135 MB / 0.8604 GB, free: 88.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006686/2.105, allocations: 4.58 MB / 0.8649 GB, free: 88.38 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00955/2.115, allocations: 9.879 MB / 0.8745 GB, free: 81.62 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/2.124, allocations: 6.577 MB / 0.881 GB, free: 81.57 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001841/2.124, allocations: 54.31 kB / 0.881 GB, free: 81.57 MB / 474.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.07149/2.196, allocations: 31.65 MB / 0.9119 GB, free: 77.43 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003825/2.196, allocations: 83 kB / 0.912 GB, free: 77.43 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05016/2.247, allocations: 20.7 MB / 0.9322 GB, free: 72.99 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04405/2.291, allocations: 16.61 MB / 0.9484 GB, free: 59.93 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007836/2.299, allocations: 2.131 MB / 0.9505 GB, free: 57.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04383/2.342, allocations: 35.36 MB / 0.985 GB, free: 22 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.353, allocations: 0.7721 MB / 0.9858 GB, free: 21.23 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002544/2.355, allocations: 0.5624 MB / 0.9863 GB, free: 20.67 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1081 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.009542/2.365, allocations: 3.428 MB / 0.9897 GB, free: 17.24 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/2.367, allocations: 0.6747 MB / 0.9903 GB, free: 16.56 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/2.388, allocations: 10.21 MB / 1 GB, free: 6.328 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2605/2.648, allocations: 8.906 MB / 1.009 GB, free: 83.95 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/2.648, allocations: 21.45 kB / 1.009 GB, free: 83.95 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-05/2.648, allocations: 15.89 kB / 1.009 GB, free: 83.95 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/2.692, allocations: 23.64 MB / 1.032 GB, free: 82.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-05/2.692, allocations: 3.969 kB / 1.032 GB, free: 82.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/2.695, allocations: 0.5655 MB / 1.033 GB, free: 82.77 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/2.707, allocations: 3.632 MB / 1.036 GB, free: 82.71 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008784/2.708, allocations: 95.2 kB / 1.036 GB, free: 82.71 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/2.733, allocations: 22.76 MB / 1.059 GB, free: 73.79 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001513/2.734, allocations: 2.994 MB / 1.061 GB, free: 70.91 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02722/2.762, allocations: 15.81 MB / 1.077 GB, free: 64.69 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/2.764, allocations: 0.7067 MB / 1.078 GB, free: 64.55 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00246/2.767, allocations: 82.95 kB / 1.078 GB, free: 64.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005008/2.772, allocations: 322.8 kB / 1.078 GB, free: 64.46 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/2.773, allocations: 249.9 kB / 1.078 GB, free: 64.43 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006302/2.774, allocations: 102.2 kB / 1.078 GB, free: 64.41 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.009052/2.783, allocations: 4.671 MB / 1.083 GB, free: 62.92 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.5e-07/2.783, allocations: 3.609 kB / 1.083 GB, free: 62.92 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01189/2.795, allocations: 2.129 MB / 1.085 GB, free: 62.71 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.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 (248): * Single equations (assignments): 238 * 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: 3 * 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: 3 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 34} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001629/2.796, allocations: 247 kB / 1.085 GB, free: 62.57 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01792/2.814, allocations: 12.03 MB / 1.097 GB, free: 58.36 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/2.814, allocations: 0 / 1.097 GB, free: 58.36 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006871/2.821, allocations: 5.139 MB / 1.102 GB, free: 54.34 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/2.827, allocations: 0.9458 MB / 1.103 GB, free: 53.57 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/2.867, allocations: 21.9 MB / 1.124 GB, free: 34.29 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009634/2.876, allocations: 5.502 MB / 1.13 GB, free: 30.29 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.009761/2.886, allocations: 3.177 MB / 1.133 GB, free: 28.23 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/2.888, allocations: 453.3 kB / 1.133 GB, free: 27.82 MB / 474.8 MB Notification: Performance of SimCode: time 8.82e-07/2.888, allocations: 0 / 1.133 GB, free: 27.82 MB / 474.8 MB Notification: Performance of Templates: time 0.3723/3.261, allocations: 98.87 MB / 1.23 GB, free: 82.96 MB / 490.8 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches