Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 176 kB / 17.41 MB, free: 4.285 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.33/1.33, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007719/0.0007722, allocations: 89.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2291, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3408, allocations: 98.37 MB / 474.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.3411, allocations: 95.94 kB / 474.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4937/0.8348, allocations: 144.4 MB / 0.6041 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.8349, allocations: 0 / 0.6041 GB, free: 11.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00061/0.8355, allocations: 155.9 kB / 0.6042 GB, free: 10.92 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: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.03554/0.871, allocations: 9.204 MB / 0.6132 GB, free: 1.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8711, allocations: 8.031 kB / 0.6132 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04891/0.92, allocations: 13.2 MB / 0.6261 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02952/0.9496, allocations: 11.71 MB / 0.6375 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000646/0.9503, allocations: 498 kB / 0.638 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003587/0.9539, allocations: 0.6675 MB / 0.6387 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4245/1.378, allocations: 16.74 MB / 0.655 GB, free: 54.3 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000519/1.379, allocations: 107.7 kB / 0.6551 GB, free: 54.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/1.381, allocations: 324.1 kB / 0.6554 GB, free: 54.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002425/1.384, allocations: 1.475 MB / 0.6569 GB, free: 54.28 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/1.411, allocations: 13.47 MB / 0.67 GB, free: 54.21 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0776/1.488, allocations: 76.72 MB / 0.7449 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/1.511, allocations: 8.5 MB / 0.7532 GB, free: 1.73 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/1.516, allocations: 4.136 MB / 0.7573 GB, free: 15.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/1.517, allocations: 1.343 MB / 0.7586 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/1.517, allocations: 65.62 kB / 0.7587 GB, free: 14.73 MB / 426.8 MB Notification: Performance of pre-optimization done (n=268): time 6.071e-06/1.517, allocations: 0 / 0.7587 GB, free: 14.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=354): time 0.1502/1.668, allocations: 52.69 MB / 0.8101 GB, free: 9.488 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002226/1.67, allocations: 3.238 MB / 0.8133 GB, free: 6.016 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.249/1.919, allocations: 7.415 MB / 0.8205 GB, free: 100.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001253/1.92, allocations: 80.17 kB / 0.8206 GB, free: 100.8 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005051/1.925, allocations: 5.215 MB / 0.8257 GB, free: 99.59 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.927, allocations: 1.345 MB / 0.827 GB, free: 98.81 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/1.928, allocations: 189.5 kB / 0.8272 GB, free: 98.81 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004684/1.929, allocations: 0.7095 MB / 0.8279 GB, free: 98.49 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00638/1.935, allocations: 4.577 MB / 0.8323 GB, free: 98.46 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009527/1.945, allocations: 9.916 MB / 0.842 GB, free: 91.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0184/1.963, allocations: 15.55 MB / 0.8572 GB, free: 84.98 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/1.964, allocations: 52.62 kB / 0.8572 GB, free: 84.98 MB / 458.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.07092/2.034, allocations: 31.66 MB / 0.8882 GB, free: 80.32 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.035, allocations: 84.72 kB / 0.8882 GB, free: 80.32 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04395/2.079, allocations: 20.7 MB / 0.9085 GB, free: 76.98 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04097/2.12, allocations: 16.58 MB / 0.9246 GB, free: 65.51 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/2.127, allocations: 2.125 MB / 0.9267 GB, free: 63.39 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04046/2.168, allocations: 33.53 MB / 0.9595 GB, free: 29.42 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.178, allocations: 0.7794 MB / 0.9602 GB, free: 28.65 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002552/2.181, allocations: 0.5616 MB / 0.9608 GB, free: 28.09 MB / 458.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.00897/2.19, allocations: 3.437 MB / 0.9641 GB, free: 24.64 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/2.191, allocations: 0.6749 MB / 0.9648 GB, free: 23.96 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01923/2.211, allocations: 10.22 MB / 0.9748 GB, free: 13.69 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2662/2.477, allocations: 8.917 MB / 0.9835 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-05/2.477, allocations: 19.84 kB / 0.9835 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.747e-05/2.477, allocations: 17.34 kB / 0.9835 GB, free: 86.96 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0464/2.524, allocations: 23.67 MB / 1.007 GB, free: 85.81 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/2.524, allocations: 0.75 kB / 1.007 GB, free: 85.81 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/2.527, allocations: 0.5758 MB / 1.007 GB, free: 85.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/2.539, allocations: 3.625 MB / 1.011 GB, free: 85.75 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/2.54, allocations: 92.31 kB / 1.011 GB, free: 85.75 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/2.566, allocations: 22.03 MB / 1.032 GB, free: 77.33 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001588/2.567, allocations: 2.97 MB / 1.035 GB, free: 74.45 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02484/2.592, allocations: 15.38 MB / 1.05 GB, free: 68.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004176/2.597, allocations: 1.38 MB / 1.052 GB, free: 68.31 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00223/2.599, allocations: 88 kB / 1.052 GB, free: 68.26 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004545/2.603, allocations: 321.8 kB / 1.052 GB, free: 68.22 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009787/2.604, allocations: 254.2 kB / 1.052 GB, free: 68.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/2.605, allocations: 94.97 kB / 1.052 GB, free: 68.16 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.009232/2.614, allocations: 4.723 MB / 1.057 GB, free: 66.66 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.943e-06/2.614, allocations: 0 / 1.057 GB, free: 66.66 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01206/2.626, allocations: 2.132 MB / 1.059 GB, free: 66.45 MB / 458.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.001037/2.627, allocations: 226.7 kB / 1.059 GB, free: 66.32 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0178/2.645, allocations: 12.03 MB / 1.071 GB, free: 62.12 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.645, allocations: 7.031 kB / 1.071 GB, free: 62.12 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007211/2.652, allocations: 5.159 MB / 1.076 GB, free: 59.73 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00994/2.662, allocations: 0.9758 MB / 1.077 GB, free: 59.33 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0407/2.703, allocations: 22.87 MB / 1.099 GB, free: 39.95 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009612/2.713, allocations: 5.362 MB / 1.105 GB, free: 35.94 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/2.715, allocations: 0.5025 MB / 1.105 GB, free: 35.47 MB / 458.8 MB Notification: Performance of SimCode: time 1.182e-06/2.715, allocations: 0 / 1.105 GB, free: 35.47 MB / 458.8 MB Notification: Performance of Templates: time 0.8366/3.552, allocations: 318.4 MB / 1.416 GB, free: 96.95 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GyroscopicEffects/GyroscopicEffects.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches