Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009939/0.0009938, allocations: 199.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008613/0.0008613, allocations: 105.2 kB / 297.4 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.4811, allocations: 100.6 MB / 0.4973 GB, free: 6.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/0.4816, allocations: 89.73 kB / 0.4974 GB, free: 6.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5433/1.025, allocations: 151.5 MB / 0.6453 GB, free: 12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.025, allocations: 4 kB / 0.6453 GB, free: 12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005554/1.026, allocations: 144 kB / 0.6455 GB, free: 11.86 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.05881/1.084, allocations: 9.407 MB / 0.6547 GB, free: 2.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.084, allocations: 8.031 kB / 0.6547 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07899/1.163, allocations: 14.33 MB / 0.6687 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.626/1.789, allocations: 10.47 MB / 0.6789 GB, free: 63.48 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009258/1.79, allocations: 0.4944 MB / 0.6794 GB, free: 63.47 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004504/1.795, allocations: 0.6633 MB / 0.68 GB, free: 63.47 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06319/1.858, allocations: 16.75 MB / 0.6964 GB, free: 59.39 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008944/1.859, allocations: 103 kB / 0.6965 GB, free: 59.39 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00417/1.863, allocations: 320.2 kB / 0.6968 GB, free: 59.39 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003836/1.867, allocations: 1.478 MB / 0.6982 GB, free: 59.36 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04566/1.913, allocations: 13.48 MB / 0.7114 GB, free: 59.29 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/2.028, allocations: 76.63 MB / 0.7862 GB, free: 6.672 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03833/2.066, allocations: 8.502 MB / 0.7945 GB, free: 4.23 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008015/2.074, allocations: 4.13 MB / 0.7985 GB, free: 2.422 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/2.077, allocations: 1.347 MB / 0.7999 GB, free: 0.9727 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.922e-05/2.077, allocations: 71.8 kB / 0.7999 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of pre-optimization done (n=268): time 1.358e-05/2.077, allocations: 0 / 0.7999 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of matching and sorting (n=354): time 0.4527/2.53, allocations: 53.69 MB / 0.8524 GB, free: 90.35 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002065/2.532, allocations: 3.231 MB / 0.8555 GB, free: 87.3 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/2.546, allocations: 7.365 MB / 0.8627 GB, free: 86.77 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/2.547, allocations: 77.45 kB / 0.8628 GB, free: 86.73 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005251/2.553, allocations: 5.196 MB / 0.8679 GB, free: 84.72 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00288/2.555, allocations: 1.347 MB / 0.8692 GB, free: 83.95 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/2.557, allocations: 191.2 kB / 0.8694 GB, free: 83.95 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008165/2.558, allocations: 0.7134 MB / 0.87 GB, free: 83.62 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008601/2.567, allocations: 4.582 MB / 0.8745 GB, free: 83.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/2.578, allocations: 9.905 MB / 0.8842 GB, free: 76.83 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.018/2.596, allocations: 15.56 MB / 0.8994 GB, free: 69.87 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002033/2.596, allocations: 52.06 kB / 0.8994 GB, free: 69.87 MB / 474.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.06975/2.666, allocations: 31.99 MB / 0.9307 GB, free: 63.67 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003601/2.666, allocations: 89.5 kB / 0.9308 GB, free: 63.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04836/2.715, allocations: 21.04 MB / 0.9513 GB, free: 57.36 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04352/2.758, allocations: 16.93 MB / 0.9679 GB, free: 43.53 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007508/2.766, allocations: 2.121 MB / 0.9699 GB, free: 41.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04631/2.812, allocations: 33.52 MB / 1.003 GB, free: 7.414 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/2.823, allocations: 0.7755 MB / 1.003 GB, free: 6.641 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002685/2.826, allocations: 0.5585 MB / 1.004 GB, free: 6.082 MB / 474.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.01063/2.836, allocations: 3.436 MB / 1.007 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/2.839, allocations: 0.671 MB / 1.008 GB, free: 1.965 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2893/3.128, allocations: 10.21 MB / 1.018 GB, free: 94.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01622/3.144, allocations: 8.911 MB / 1.027 GB, free: 94.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-05/3.145, allocations: 18 kB / 1.027 GB, free: 94.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.252e-05/3.145, allocations: 19.45 kB / 1.027 GB, free: 94.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05093/3.196, allocations: 23.65 MB / 1.05 GB, free: 93.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.849e-05/3.196, allocations: 3.875 kB / 1.05 GB, free: 93.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00371/3.2, allocations: 0.5729 MB / 1.05 GB, free: 93.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/3.211, allocations: 3.631 MB / 1.054 GB, free: 92.99 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/3.212, allocations: 91.38 kB / 1.054 GB, free: 92.99 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/3.238, allocations: 22.03 MB / 1.075 GB, free: 82.84 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001507/3.239, allocations: 2.971 MB / 1.078 GB, free: 79.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02711/3.266, allocations: 15.38 MB / 1.093 GB, free: 74.22 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/3.269, allocations: 0.7012 MB / 1.094 GB, free: 74.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002627/3.272, allocations: 85.81 kB / 1.094 GB, free: 74.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005327/3.277, allocations: 320.1 kB / 1.094 GB, free: 74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/3.279, allocations: 254.5 kB / 1.095 GB, free: 73.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008341/3.279, allocations: 97.38 kB / 1.095 GB, free: 73.94 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01131/3.291, allocations: 4.676 MB / 1.099 GB, free: 72.45 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.122e-06/3.291, allocations: 0 / 1.099 GB, free: 72.45 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01279/3.304, allocations: 2.131 MB / 1.101 GB, free: 72.24 MB / 490.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.001655/3.305, allocations: 249.2 kB / 1.102 GB, free: 72.11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02059/3.326, allocations: 12.04 MB / 1.113 GB, free: 67.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/3.326, allocations: 0 / 1.113 GB, free: 67.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008166/3.334, allocations: 5.154 MB / 1.118 GB, free: 62.82 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01331/3.347, allocations: 0.9817 MB / 1.119 GB, free: 62.01 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04607/3.394, allocations: 22.81 MB / 1.142 GB, free: 41.98 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/3.405, allocations: 5.349 MB / 1.147 GB, free: 37.98 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/3.408, allocations: 0.5048 MB / 1.147 GB, free: 37.52 MB / 490.8 MB Notification: Performance of SimCode: time 1.322e-06/3.408, allocations: 0 / 1.147 GB, free: 37.52 MB / 490.8 MB Notification: Performance of Templates: time 0.8503/4.258, allocations: 317.5 MB / 1.457 GB, free: 97.39 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GyroscopicEffects/GyroscopicEffects.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches