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.001132/0.001132, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009564/0.0009564, allocations: 104.2 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002164/0.0002164, allocations: 8 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.195, allocations: 51.48 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3028, allocations: 100.5 MB / 0.498 GB, free: 6.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.3031, allocations: 87.95 kB / 0.4981 GB, free: 5.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5076/0.8108, allocations: 158.4 MB / 0.6527 GB, free: 3.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8108, allocations: 0 / 0.6527 GB, free: 3.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006769/0.8115, allocations: 143.9 kB / 0.6529 GB, free: 3.441 MB / 426.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.03884/0.8504, allocations: 9.684 MB / 0.6623 GB, free: 9.664 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8504, allocations: 12.02 kB / 0.6623 GB, free: 9.652 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2714/1.122, allocations: 17.81 MB / 0.6797 GB, free: 65.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02875/1.151, allocations: 11.41 MB / 0.6909 GB, free: 64.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/1.151, allocations: 0.4905 MB / 0.6914 GB, free: 64.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002782/1.154, allocations: 0.6634 MB / 0.692 GB, free: 64.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/1.187, allocations: 16.9 MB / 0.7085 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/1.188, allocations: 105.5 kB / 0.7086 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009545/1.189, allocations: 318.7 kB / 0.7089 GB, free: 60.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/1.19, allocations: 1.47 MB / 0.7103 GB, free: 60.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/1.214, allocations: 13.67 MB / 0.7237 GB, free: 60.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06473/1.279, allocations: 76.78 MB / 0.7987 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02353/1.302, allocations: 8.69 MB / 0.8072 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/1.304, allocations: 1.351 MB / 0.8085 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.304, allocations: 56.56 kB / 0.8085 GB, free: 13.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 5.48e-06/1.304, allocations: 0 / 0.8085 GB, free: 13.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=354): time 0.3272/1.631, allocations: 52.95 MB / 0.8602 GB, free: 87.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001663/1.633, allocations: 3.257 MB / 0.8634 GB, free: 84.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008778/1.642, allocations: 6.525 MB / 0.8698 GB, free: 84.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008593/1.643, allocations: 78 kB / 0.8699 GB, free: 84.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002845/1.645, allocations: 5.195 MB / 0.8749 GB, free: 81.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.647, allocations: 1.346 MB / 0.8763 GB, free: 81.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/1.647, allocations: 191.5 kB / 0.8764 GB, free: 81.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003356/1.648, allocations: 0.7039 MB / 0.8771 GB, free: 80.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004987/1.653, allocations: 4.589 MB / 0.8816 GB, free: 80.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006948/1.66, allocations: 9.881 MB / 0.8913 GB, free: 74.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006853/1.666, allocations: 6.565 MB / 0.8977 GB, free: 74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.307e-05/1.667, allocations: 54.31 kB / 0.8977 GB, free: 74 MB / 474.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.06326/1.73, allocations: 31.99 MB / 0.929 GB, free: 68.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002666/1.73, allocations: 88.11 kB / 0.929 GB, free: 68.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04375/1.774, allocations: 21.03 MB / 0.9496 GB, free: 62.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04238/1.816, allocations: 16.95 MB / 0.9661 GB, free: 49.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007181/1.824, allocations: 2.123 MB / 0.9682 GB, free: 47.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04258/1.866, allocations: 35.36 MB / 1.003 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009664/1.876, allocations: 0.7755 MB / 1.004 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/1.878, allocations: 0.5657 MB / 1.004 GB, free: 9.965 MB / 474.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 () * 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.00846/1.886, allocations: 3.432 MB / 1.007 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002466/1.889, allocations: 0.671 MB / 1.008 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2383/2.127, allocations: 10.21 MB / 1.018 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01599/2.143, allocations: 8.916 MB / 1.027 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-05/2.143, allocations: 19 kB / 1.027 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.937e-05/2.143, allocations: 20.7 kB / 1.027 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04087/2.184, allocations: 23.63 MB / 1.05 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/2.184, allocations: 4.891 kB / 1.05 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/2.187, allocations: 0.5788 MB / 1.05 GB, free: 93.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/2.198, allocations: 3.625 MB / 1.054 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005566/2.199, allocations: 94.3 kB / 1.054 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02358/2.222, allocations: 22.76 MB / 1.076 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001576/2.224, allocations: 2.985 MB / 1.079 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/2.246, allocations: 15.81 MB / 1.095 GB, free: 73.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/2.249, allocations: 0.7081 MB / 1.095 GB, free: 73.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/2.25, allocations: 74.5 kB / 1.095 GB, free: 73.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/2.254, allocations: 334.6 kB / 1.096 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000917/2.255, allocations: 244.2 kB / 1.096 GB, free: 73.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/2.256, allocations: 102 kB / 1.096 GB, free: 73.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007914/2.264, allocations: 4.676 MB / 1.101 GB, free: 71.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.264, allocations: 0 / 1.101 GB, free: 71.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01009/2.274, allocations: 2.134 MB / 1.103 GB, free: 71.74 MB / 490.7 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.0009354/2.275, allocations: 239.4 kB / 1.103 GB, free: 71.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01601/2.291, allocations: 12.04 MB / 1.115 GB, free: 66.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/2.291, allocations: 0 / 1.115 GB, free: 66.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006418/2.297, allocations: 5.142 MB / 1.12 GB, free: 62.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006923/2.304, allocations: 0.9467 MB / 1.121 GB, free: 61.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03749/2.342, allocations: 21.9 MB / 1.142 GB, free: 42.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008827/2.35, allocations: 5.504 MB / 1.147 GB, free: 38.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009105/2.36, allocations: 3.186 MB / 1.151 GB, free: 36.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/2.362, allocations: 454.9 kB / 1.151 GB, free: 35.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/2.362, allocations: 0 / 1.151 GB, free: 35.7 MB / 490.7 MB Notification: Performance of Templates: time 0.3698/2.731, allocations: 98.87 MB / 1.247 GB, free: 78.19 MB / 490.7 MB 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