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.0009371/0.000937, allocations: 182.8 kB / 18.04 MB, free: 3.754 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.402/1.402, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007603/0.0007606, allocations: 91.8 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3229, allocations: 98.37 MB / 475.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.3232, allocations: 87.95 kB / 475.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5077/0.8309, allocations: 144.4 MB / 0.6053 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.831, allocations: 0 / 0.6053 GB, free: 10.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004631/0.8314, allocations: 144 kB / 0.6055 GB, free: 10.82 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.03123/0.8627, allocations: 9.208 MB / 0.6145 GB, free: 1.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.8627, allocations: 12.03 kB / 0.6145 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04796/0.9107, allocations: 13.2 MB / 0.6274 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02634/0.9371, allocations: 11.71 MB / 0.6388 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/0.9378, allocations: 498 kB / 0.6393 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003446/0.9413, allocations: 0.6714 MB / 0.6399 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3622/1.303, allocations: 16.74 MB / 0.6563 GB, free: 54.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003431/1.304, allocations: 107.6 kB / 0.6564 GB, free: 54.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/1.305, allocations: 317.1 kB / 0.6567 GB, free: 54.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00177/1.307, allocations: 1.482 MB / 0.6581 GB, free: 54.33 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/1.334, allocations: 13.46 MB / 0.6713 GB, free: 54.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07804/1.412, allocations: 76.72 MB / 0.7462 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.434, allocations: 8.502 MB / 0.7545 GB, free: 1.727 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/1.439, allocations: 4.125 MB / 0.7585 GB, free: 15.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/1.44, allocations: 1.357 MB / 0.7599 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/1.44, allocations: 61.06 kB / 0.7599 GB, free: 14.73 MB / 426.8 MB Notification: Performance of pre-optimization done (n=268): time 5.531e-06/1.44, allocations: 0 / 0.7599 GB, free: 14.73 MB / 426.8 MB Notification: Performance of matching and sorting (n=354): time 0.1463/1.587, allocations: 52.69 MB / 0.8114 GB, free: 9.324 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002323/1.589, allocations: 3.229 MB / 0.8145 GB, free: 5.859 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1958/1.785, allocations: 7.425 MB / 0.8218 GB, free: 100.9 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009697/1.786, allocations: 76.39 kB / 0.8219 GB, free: 100.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.789, allocations: 5.21 MB / 0.8269 GB, free: 99.69 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.79, allocations: 1.35 MB / 0.8283 GB, free: 98.91 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/1.791, allocations: 189.2 kB / 0.8284 GB, free: 98.91 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003805/1.792, allocations: 0.7096 MB / 0.8291 GB, free: 98.59 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00546/1.797, allocations: 4.578 MB / 0.8336 GB, free: 98.56 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/1.805, allocations: 9.914 MB / 0.8433 GB, free: 91.8 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/1.82, allocations: 15.55 MB / 0.8585 GB, free: 85.08 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/1.82, allocations: 53.06 kB / 0.8585 GB, free: 85.08 MB / 458.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.06334/1.883, allocations: 31.65 MB / 0.8894 GB, free: 80.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.883, allocations: 90.62 kB / 0.8895 GB, free: 80.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04209/1.926, allocations: 20.7 MB / 0.9097 GB, free: 77.05 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04071/1.966, allocations: 16.58 MB / 0.9259 GB, free: 65.45 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006466/1.973, allocations: 2.122 MB / 0.928 GB, free: 63.33 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/2.014, allocations: 33.53 MB / 0.9607 GB, free: 29.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008871/2.023, allocations: 0.7782 MB / 0.9615 GB, free: 28.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/2.025, allocations: 0.5585 MB / 0.962 GB, free: 28.03 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.006915/2.032, allocations: 3.442 MB / 0.9654 GB, free: 24.58 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/2.033, allocations: 0.6749 MB / 0.9661 GB, free: 23.9 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/2.051, allocations: 10.22 MB / 0.976 GB, free: 13.63 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2144/2.266, allocations: 8.915 MB / 0.9848 GB, free: 87.04 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.267e-05/2.266, allocations: 22.56 kB / 0.9848 GB, free: 87.04 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-05/2.266, allocations: 18.05 kB / 0.9848 GB, free: 87.04 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04071/2.306, allocations: 23.66 MB / 1.008 GB, free: 85.88 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/2.307, allocations: 3.5 kB / 1.008 GB, free: 85.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/2.309, allocations: 0.5726 MB / 1.008 GB, free: 85.88 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/2.321, allocations: 3.626 MB / 1.012 GB, free: 85.82 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007293/2.322, allocations: 92.64 kB / 1.012 GB, free: 85.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02362/2.345, allocations: 22.03 MB / 1.034 GB, free: 77.36 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001393/2.347, allocations: 2.968 MB / 1.037 GB, free: 74.48 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/2.369, allocations: 15.39 MB / 1.052 GB, free: 68.73 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/2.373, allocations: 1.376 MB / 1.053 GB, free: 68.34 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/2.374, allocations: 89.77 kB / 1.053 GB, free: 68.29 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/2.377, allocations: 323.7 kB / 1.053 GB, free: 68.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007687/2.378, allocations: 252 kB / 1.054 GB, free: 68.21 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/2.378, allocations: 101.2 kB / 1.054 GB, free: 68.19 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00671/2.385, allocations: 4.716 MB / 1.058 GB, free: 66.68 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.41e-07/2.385, allocations: 0 / 1.058 GB, free: 66.68 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008122/2.393, allocations: 2.135 MB / 1.06 GB, free: 66.47 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.0006918/2.394, allocations: 225 kB / 1.061 GB, free: 66.34 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01617/2.41, allocations: 12.02 MB / 1.072 GB, free: 62.15 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/2.41, allocations: 3.594 kB / 1.072 GB, free: 62.15 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006298/2.416, allocations: 5.15 MB / 1.077 GB, free: 59.76 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008456/2.425, allocations: 0.9831 MB / 1.078 GB, free: 59.36 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/2.455, allocations: 22.01 MB / 1.1 GB, free: 40.47 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005917/2.461, allocations: 5.363 MB / 1.105 GB, free: 36.46 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.008058/2.469, allocations: 3.192 MB / 1.108 GB, free: 34.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/2.471, allocations: 448.2 kB / 1.109 GB, free: 34 MB / 458.8 MB Notification: Performance of SimCode: time 6.82e-07/2.471, allocations: 3.188 kB / 1.109 GB, free: 34 MB / 458.8 MB Notification: Performance of Templates: time 0.3536/2.825, allocations: 99.38 MB / 1.206 GB, free: 87.71 MB / 474.8 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/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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches