Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001156/0.001156, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008833, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.592e-05, allocations: 4 kB / 315.5 MB, free: 22.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 47.58 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.6504, allocations: 97.68 MB / 460.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.6507, allocations: 85.95 kB / 460.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.631/1.282, allocations: 145.2 MB / 0.5918 GB, free: 86.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.282, allocations: 0 / 0.5918 GB, free: 86.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005546/1.282, allocations: 146.1 kB / 0.5919 GB, free: 86.25 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.03995/1.322, allocations: 8.558 MB / 0.6003 GB, free: 81.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.322, allocations: 10.31 kB / 0.6003 GB, free: 81.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05939/1.382, allocations: 16.68 MB / 0.6166 GB, free: 67.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03421/1.416, allocations: 13.14 MB / 0.6294 GB, free: 54.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/1.417, allocations: 212 kB / 0.6296 GB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00371/1.42, allocations: 411.7 kB / 0.63 GB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01875/1.439, allocations: 9.011 MB / 0.6388 GB, free: 44.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/1.475, allocations: 14.14 MB / 0.6526 GB, free: 28.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007841/1.476, allocations: 111 kB / 0.6527 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003709/1.479, allocations: 44 kB / 0.6528 GB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.482, allocations: 1.474 MB / 0.6542 GB, free: 27.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4135/1.896, allocations: 74.63 MB / 0.7271 GB, free: 47.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/1.904, allocations: 5.363 MB / 0.7323 GB, free: 47.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005453/1.909, allocations: 4.021 MB / 0.7363 GB, free: 47.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/1.911, allocations: 1.349 MB / 0.7376 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.911, allocations: 64.16 kB / 0.7377 GB, free: 45.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 5.901e-06/1.911, allocations: 0 / 0.7377 GB, free: 45.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.1045/2.016, allocations: 44.79 MB / 0.7814 GB, free: 33.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/2.016, allocations: 291.9 kB / 0.7817 GB, free: 32.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/2.027, allocations: 5.666 MB / 0.7872 GB, free: 30.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/2.028, allocations: 33.48 kB / 0.7872 GB, free: 30.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003751/2.032, allocations: 5.271 MB / 0.7924 GB, free: 26.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002097/2.034, allocations: 1.297 MB / 0.7936 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/2.035, allocations: 0 / 0.7936 GB, free: 25.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004263/2.035, allocations: 0.7145 MB / 0.7943 GB, free: 24.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005064/2.04, allocations: 4.289 MB / 0.7985 GB, free: 20.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008555/2.049, allocations: 9.673 MB / 0.808 GB, free: 9.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008893/2.058, allocations: 6.32 MB / 0.8142 GB, free: 4.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001489/2.058, allocations: 52 kB / 0.8142 GB, free: 4.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.0758/2.134, allocations: 30.17 MB / 0.8437 GB, free: 13.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004276/2.134, allocations: 94.06 kB / 0.8438 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05443/2.189, allocations: 20.25 MB / 0.8635 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3933/2.582, allocations: 16.52 MB / 0.8797 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009332/2.592, allocations: 2.162 MB / 0.8818 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0434/2.635, allocations: 31.45 MB / 0.9125 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/2.648, allocations: 0.5979 MB / 0.9131 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004164/2.653, allocations: 0.5724 MB / 0.9136 GB, free: 118.2 MB / 474.7 MB 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.005543/2.658, allocations: 0.5906 MB / 0.9142 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002524/2.661, allocations: 0.6232 MB / 0.9148 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/2.683, allocations: 9.743 MB / 0.9243 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01549/2.698, allocations: 8.552 MB / 0.9327 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/2.699, allocations: 15.5 kB / 0.9327 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.699, allocations: 20.86 kB / 0.9327 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04451/2.743, allocations: 22.22 MB / 0.9544 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/2.743, allocations: 5.984 kB / 0.9544 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/2.746, allocations: 0.5488 MB / 0.955 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01228/2.759, allocations: 3.967 MB / 0.9588 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/2.76, allocations: 50.42 kB / 0.9589 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02477/2.784, allocations: 22.76 MB / 0.9811 GB, free: 80.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001355/2.786, allocations: 2.835 MB / 0.9839 GB, free: 77.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/2.808, allocations: 15.07 MB / 0.9986 GB, free: 63.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005004/2.813, allocations: 1.313 MB / 0.9999 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002208/2.816, allocations: 27.98 kB / 0.9999 GB, free: 61.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004669/2.82, allocations: 271.5 kB / 1 GB, free: 61.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008739/2.821, allocations: 258.1 kB / 1 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/2.822, allocations: 92.66 kB / 1.001 GB, free: 61.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007024/2.829, allocations: 3.906 MB / 1.004 GB, free: 57.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/2.829, allocations: 0 / 1.004 GB, free: 57.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01352/2.842, allocations: 1.898 MB / 1.006 GB, free: 55.37 MB / 474.7 MB 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.001162/2.843, allocations: 180.9 kB / 1.006 GB, free: 55.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01625/2.86, allocations: 11.3 MB / 1.017 GB, free: 43.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/2.86, allocations: 0 / 1.017 GB, free: 43.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006407/2.866, allocations: 4.983 MB / 1.022 GB, free: 38.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/2.872, allocations: 0.8017 MB / 1.023 GB, free: 38.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/2.908, allocations: 15.96 MB / 1.039 GB, free: 22.12 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3034/3.211, allocations: 5.504 MB / 1.044 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01237/3.224, allocations: 3.161 MB / 1.047 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002665/3.226, allocations: 423.4 kB / 1.047 GB, free: 115.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/3.226, allocations: 0 / 1.047 GB, free: 115.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1473/3.374, allocations: 89.75 MB / 1.135 GB, free: 80.4 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches