Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 230.3 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008761, allocations: 99.72 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.366e-05/1.369e-05, allocations: 4 kB / 337 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 50.41 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4873, allocations: 99.13 MB / 486.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.4877, allocations: 91.94 kB / 486.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6645/1.152, allocations: 147 MB / 0.6188 GB, free: 85.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.152, allocations: 0 / 0.6188 GB, free: 85.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007103/1.153, allocations: 147.6 kB / 0.6189 GB, free: 85.21 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.03699/1.19, allocations: 8.544 MB / 0.6273 GB, free: 78.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.19, allocations: 12.03 kB / 0.6273 GB, free: 78.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05924/1.249, allocations: 16.68 MB / 0.6436 GB, free: 61.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03117/1.281, allocations: 12.5 MB / 0.6558 GB, free: 49.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/1.281, allocations: 216 kB / 0.656 GB, free: 49.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/1.285, allocations: 415.7 kB / 0.6564 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01856/1.303, allocations: 9.003 MB / 0.6652 GB, free: 39.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/1.334, allocations: 14.14 MB / 0.679 GB, free: 24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006229/1.334, allocations: 114.9 kB / 0.6791 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003228/1.338, allocations: 52 kB / 0.6791 GB, free: 23.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/1.34, allocations: 1.478 MB / 0.6806 GB, free: 22.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4447/1.785, allocations: 74.51 MB / 0.7534 GB, free: 47.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008466/1.793, allocations: 5.37 MB / 0.7586 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00587/1.799, allocations: 4.023 MB / 0.7625 GB, free: 47.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.801, allocations: 1.344 MB / 0.7638 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.801, allocations: 60.38 kB / 0.7639 GB, free: 45.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.685e-06/1.801, allocations: 6.312 kB / 0.7639 GB, free: 45.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=349): time 0.1042/1.905, allocations: 44.56 MB / 0.8074 GB, free: 33.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.906, allocations: 299.4 kB / 0.8077 GB, free: 33.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.917, allocations: 5.614 MB / 0.8132 GB, free: 31.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.918, allocations: 25.7 kB / 0.8132 GB, free: 31.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0043/1.922, allocations: 5.255 MB / 0.8183 GB, free: 27.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002306/1.924, allocations: 1.293 MB / 0.8196 GB, free: 26.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/1.926, allocations: 1.969 kB / 0.8196 GB, free: 26.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005338/1.926, allocations: 0.7174 MB / 0.8203 GB, free: 26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006388/1.933, allocations: 4.287 MB / 0.8245 GB, free: 22.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/1.944, allocations: 9.675 MB / 0.8339 GB, free: 11.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009857/1.954, allocations: 6.329 MB / 0.8401 GB, free: 6.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.954, allocations: 52 kB / 0.8402 GB, free: 6.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.07423/2.028, allocations: 30.17 MB / 0.8696 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/2.028, allocations: 88 kB / 0.8697 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05369/2.082, allocations: 20.27 MB / 0.8895 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3671/2.449, allocations: 16.52 MB / 0.9056 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009117/2.458, allocations: 2.166 MB / 0.9078 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04496/2.503, allocations: 31.46 MB / 0.9385 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.514, allocations: 0.5937 MB / 0.9391 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00258/2.517, allocations: 0.5719 MB / 0.9396 GB, free: 119.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * 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 (1113): * Single equations (assignments): 1100 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002599/2.519, allocations: 0.5904 MB / 0.9402 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/2.521, allocations: 0.6205 MB / 0.9408 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/2.539, allocations: 9.742 MB / 0.9503 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01567/2.555, allocations: 8.561 MB / 0.9587 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.895e-05/2.555, allocations: 15.41 kB / 0.9587 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/2.555, allocations: 17.42 kB / 0.9587 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04847/2.604, allocations: 22.2 MB / 0.9804 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/2.604, allocations: 6.562 kB / 0.9804 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003277/2.607, allocations: 0.5501 MB / 0.9809 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01312/2.62, allocations: 3.966 MB / 0.9848 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001063/2.621, allocations: 54.55 kB / 0.9849 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/2.649, allocations: 22.75 MB / 1.007 GB, free: 84.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00145/2.65, allocations: 2.838 MB / 1.01 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02289/2.673, allocations: 15.07 MB / 1.025 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/2.675, allocations: 0.6364 MB / 1.025 GB, free: 68.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.677, allocations: 35.69 kB / 1.025 GB, free: 68.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004189/2.681, allocations: 269.6 kB / 1.025 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009435/2.682, allocations: 250.4 kB / 1.026 GB, free: 67.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/2.683, allocations: 93.89 kB / 1.026 GB, free: 67.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006296/2.689, allocations: 3.866 MB / 1.03 GB, free: 63.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.12e-07/2.689, allocations: 0 / 1.03 GB, free: 63.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01151/2.7, allocations: 1.901 MB / 1.031 GB, free: 62.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (241): * Single equations (assignments): 230 * 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.0009587/2.701, allocations: 187.6 kB / 1.032 GB, free: 61.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01757/2.719, allocations: 11.3 MB / 1.043 GB, free: 50.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/2.719, allocations: 0 / 1.043 GB, free: 50.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006812/2.726, allocations: 4.983 MB / 1.048 GB, free: 45.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/2.731, allocations: 0.8047 MB / 1.048 GB, free: 44.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/2.765, allocations: 15.93 MB / 1.064 GB, free: 28.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008197/2.773, allocations: 5.495 MB / 1.069 GB, free: 23.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009726/2.783, allocations: 3.146 MB / 1.072 GB, free: 20.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2933/3.076, allocations: 428.9 kB / 1.073 GB, free: 112.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/3.076, allocations: 0 / 1.073 GB, free: 112.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1524/3.228, allocations: 89.63 MB / 1.16 GB, free: 88.12 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches