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.001114/0.001114, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.826/1.826, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008261/0.000826, allocations: 82.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.037e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/0.5248, allocations: 98.11 MB / 468.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.5252, allocations: 85.95 kB / 468.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6231/1.148, allocations: 148.1 MB / 0.6019 GB, free: 81.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.148, allocations: 0 / 0.6019 GB, free: 81.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006575/1.149, allocations: 145.2 kB / 0.602 GB, free: 81.21 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.03875/1.188, allocations: 8.563 MB / 0.6104 GB, free: 72.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.188, allocations: 11.97 kB / 0.6104 GB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05876/1.247, allocations: 16.69 MB / 0.6267 GB, free: 56.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03293/1.28, allocations: 13.17 MB / 0.6395 GB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/1.28, allocations: 497.1 kB / 0.64 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004202/1.284, allocations: 0.6675 MB / 0.6406 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04651/1.331, allocations: 16.77 MB / 0.657 GB, free: 23.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000463/1.332, allocations: 111 kB / 0.6571 GB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002394/1.334, allocations: 323.8 kB / 0.6574 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/1.336, allocations: 1.475 MB / 0.6589 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03041/1.366, allocations: 13.48 MB / 0.672 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4267/1.793, allocations: 76.86 MB / 0.7471 GB, free: 33.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02599/1.819, allocations: 8.525 MB / 0.7554 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006252/1.825, allocations: 4.092 MB / 0.7594 GB, free: 32.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/1.828, allocations: 1.345 MB / 0.7607 GB, free: 31.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/1.828, allocations: 69.5 kB / 0.7608 GB, free: 31.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 8.406e-06/1.828, allocations: 0 / 0.7608 GB, free: 31.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=354): time 0.1446/1.972, allocations: 46.89 MB / 0.8066 GB, free: 20.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001798/1.974, allocations: 3.225 MB / 0.8097 GB, free: 17.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.987, allocations: 6.516 MB / 0.8161 GB, free: 14.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001358/1.988, allocations: 77.7 kB / 0.8162 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004202/1.992, allocations: 5.21 MB / 0.8213 GB, free: 9.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.995, allocations: 1.349 MB / 0.8226 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/1.996, allocations: 191.4 kB / 0.8228 GB, free: 8.512 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005045/1.996, allocations: 0.7089 MB / 0.8235 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006977/2.003, allocations: 4.516 MB / 0.8279 GB, free: 3.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01373/2.017, allocations: 9.878 MB / 0.8375 GB, free: 8.387 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.03, allocations: 6.569 MB / 0.8439 GB, free: 2.879 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002646/2.03, allocations: 52 kB / 0.844 GB, free: 2.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.3685/2.398, allocations: 31.63 MB / 0.8749 GB, free: 102.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/2.399, allocations: 83.56 kB / 0.875 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05067/2.449, allocations: 20.63 MB / 0.8951 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04541/2.495, allocations: 16.59 MB / 0.9113 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/2.504, allocations: 2.127 MB / 0.9134 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04741/2.551, allocations: 33.32 MB / 0.9459 GB, free: 89.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.563, allocations: 0.7775 MB / 0.9467 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002876/2.566, allocations: 0.5594 MB / 0.9472 GB, free: 88.39 MB / 458.7 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 () * 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.002633/2.569, allocations: 0.8162 MB / 0.948 GB, free: 87.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/2.571, allocations: 0.6788 MB / 0.9487 GB, free: 87.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/2.591, allocations: 10.24 MB / 0.9587 GB, free: 77.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01637/2.607, allocations: 8.93 MB / 0.9674 GB, free: 68.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.205e-05/2.608, allocations: 19.94 kB / 0.9674 GB, free: 68.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/2.608, allocations: 19.94 kB / 0.9675 GB, free: 68.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04615/2.654, allocations: 23.55 MB / 0.9904 GB, free: 44.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/2.654, allocations: 0 / 0.9904 GB, free: 44.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/2.657, allocations: 0.5616 MB / 0.991 GB, free: 44.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/2.669, allocations: 4.01 MB / 0.9949 GB, free: 40.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/2.67, allocations: 103.9 kB / 0.995 GB, free: 40.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02566/2.696, allocations: 23.99 MB / 1.018 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001472/2.698, allocations: 2.963 MB / 1.021 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3287/3.026, allocations: 15.69 MB / 1.037 GB, free: 97.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006723/3.033, allocations: 1.385 MB / 1.038 GB, free: 97.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003369/3.037, allocations: 90.39 kB / 1.038 GB, free: 97.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006905/3.043, allocations: 329.2 kB / 1.038 GB, free: 97.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/3.045, allocations: 250.5 kB / 1.039 GB, free: 97.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003967/3.045, allocations: 99.25 kB / 1.039 GB, free: 97.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01108/3.056, allocations: 4.647 MB / 1.043 GB, free: 96.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.12e-07/3.057, allocations: 0 / 1.043 GB, free: 96.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01335/3.07, allocations: 2.133 MB / 1.045 GB, free: 96.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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],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 (246): * Single equations (assignments): 235 * 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.001262/3.071, allocations: 229.5 kB / 1.046 GB, free: 96.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01965/3.091, allocations: 11.88 MB / 1.057 GB, free: 95.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/3.091, allocations: 0 / 1.057 GB, free: 95.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007686/3.099, allocations: 5.205 MB / 1.062 GB, free: 94.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007659/3.106, allocations: 0.9409 MB / 1.063 GB, free: 94.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/3.146, allocations: 16.35 MB / 1.079 GB, free: 90.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009418/3.155, allocations: 5.515 MB / 1.085 GB, free: 88.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009848/3.165, allocations: 3.188 MB / 1.088 GB, free: 88.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/3.168, allocations: 450.3 kB / 1.088 GB, free: 88.42 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/3.168, allocations: 0 / 1.088 GB, free: 88.42 MB / 458.7 MB Notification: Performance of Templates: time 0.1584/3.326, allocations: 98.95 MB / 1.185 GB, free: 14.28 MB / 458.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