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.001579/0.001579, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007529/0.0007531, allocations: 92.69 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002197/0.0002199, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2068, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3252, allocations: 100.6 MB / 0.498 GB, free: 6.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.3255, allocations: 100.8 kB / 0.4981 GB, free: 6.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5083/0.8338, allocations: 151.5 MB / 0.646 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.8339, allocations: 0 / 0.646 GB, free: 11.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007309/0.8346, allocations: 148 kB / 0.6462 GB, free: 11.82 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.04183/0.8765, allocations: 9.411 MB / 0.6554 GB, free: 2.312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.8765, allocations: 8.031 kB / 0.6554 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05261/0.9292, allocations: 14.33 MB / 0.6694 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2481/1.177, allocations: 10.47 MB / 0.6796 GB, free: 64.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005193/1.178, allocations: 0.4917 MB / 0.6801 GB, free: 64.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/1.181, allocations: 0.672 MB / 0.6807 GB, free: 64.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/1.215, allocations: 16.74 MB / 0.6971 GB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004497/1.216, allocations: 110.4 kB / 0.6972 GB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/1.217, allocations: 319.7 kB / 0.6975 GB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/1.219, allocations: 1.48 MB / 0.6989 GB, free: 60.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/1.245, allocations: 13.48 MB / 0.7121 GB, free: 60.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07725/1.322, allocations: 76.62 MB / 0.7869 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02295/1.345, allocations: 8.497 MB / 0.7952 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005265/1.35, allocations: 4.135 MB / 0.7992 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/1.352, allocations: 1.347 MB / 0.8006 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.352, allocations: 64.5 kB / 0.8006 GB, free: 2.496 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 6.272e-06/1.352, allocations: 0 / 0.8006 GB, free: 2.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.395/1.747, allocations: 52.99 MB / 0.8524 GB, free: 91.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001741/1.749, allocations: 3.234 MB / 0.8555 GB, free: 88.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/1.76, allocations: 7.358 MB / 0.8627 GB, free: 88.37 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009781/1.762, allocations: 81.06 kB / 0.8628 GB, free: 88.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003548/1.765, allocations: 5.195 MB / 0.8679 GB, free: 86.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/1.767, allocations: 1.348 MB / 0.8692 GB, free: 85.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007807/1.768, allocations: 196.5 kB / 0.8694 GB, free: 85.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004984/1.768, allocations: 0.7088 MB / 0.8701 GB, free: 85.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/1.774, allocations: 4.58 MB / 0.8745 GB, free: 85.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/1.782, allocations: 9.911 MB / 0.8842 GB, free: 78.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.797, allocations: 15.55 MB / 0.8994 GB, free: 71.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/1.798, allocations: 54.22 kB / 0.8994 GB, free: 71.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.06533/1.863, allocations: 31.98 MB / 0.9307 GB, free: 65.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.863, allocations: 91.72 kB / 0.9308 GB, free: 65.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0455/1.909, allocations: 21.04 MB / 0.9513 GB, free: 59.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04179/1.951, allocations: 16.93 MB / 0.9679 GB, free: 46.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007218/1.958, allocations: 2.128 MB / 0.9699 GB, free: 43.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04107/1.999, allocations: 33.52 MB / 1.003 GB, free: 9.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.009, allocations: 0.7644 MB / 1.003 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002373/2.012, allocations: 0.567 MB / 1.004 GB, free: 8.598 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.008264/2.02, allocations: 3.433 MB / 1.007 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.022, allocations: 0.6787 MB / 1.008 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2721/2.294, allocations: 10.21 MB / 1.018 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01529/2.309, allocations: 8.914 MB / 1.027 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.32e-05/2.309, allocations: 14.41 kB / 1.027 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/2.31, allocations: 18.41 kB / 1.027 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0392/2.349, allocations: 23.64 MB / 1.05 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/2.349, allocations: 3.656 kB / 1.05 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/2.352, allocations: 0.5694 MB / 1.05 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/2.362, allocations: 3.627 MB / 1.054 GB, free: 93.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006122/2.363, allocations: 93.66 kB / 1.054 GB, free: 93.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/2.386, allocations: 22.04 MB / 1.075 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001349/2.387, allocations: 2.958 MB / 1.078 GB, free: 80.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02317/2.41, allocations: 15.38 MB / 1.093 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/2.413, allocations: 0.7015 MB / 1.094 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002477/2.415, allocations: 79.25 kB / 1.094 GB, free: 75.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005048/2.42, allocations: 331.2 kB / 1.094 GB, free: 74.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.422, allocations: 255 kB / 1.095 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003421/2.422, allocations: 94.42 kB / 1.095 GB, free: 74.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009187/2.431, allocations: 4.674 MB / 1.099 GB, free: 73.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/2.431, allocations: 0 / 1.099 GB, free: 73.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.011/2.442, allocations: 2.141 MB / 1.101 GB, free: 73.22 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.0009064/2.443, allocations: 236.3 kB / 1.102 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0156/2.459, allocations: 12.03 MB / 1.113 GB, free: 68.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.459, allocations: 3.188 kB / 1.113 GB, free: 68.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006456/2.465, allocations: 5.151 MB / 1.118 GB, free: 64.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00846/2.474, allocations: 0.9829 MB / 1.119 GB, free: 63.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03332/2.507, allocations: 21.95 MB / 1.141 GB, free: 44.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006824/2.514, allocations: 5.347 MB / 1.146 GB, free: 40.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007797/2.522, allocations: 3.18 MB / 1.149 GB, free: 37.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/2.523, allocations: 455.8 kB / 1.15 GB, free: 37.57 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/2.523, allocations: 0 / 1.15 GB, free: 37.57 MB / 490.7 MB Notification: Performance of Templates: time 0.3687/2.892, allocations: 99.19 MB / 1.246 GB, free: 77.71 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/jenkins1/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