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.001258/0.001258, allocations: 176.6 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007526/0.0007525, allocations: 100.7 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 50.4 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3373, allocations: 100 MB / 0.491 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.3376, allocations: 91.95 kB / 0.4911 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5116/0.8491, allocations: 146.1 MB / 0.6338 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8492, allocations: 0 / 0.6338 GB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006234/0.8498, allocations: 148 kB / 0.6339 GB, free: 10.12 MB / 410.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.0376/0.8874, allocations: 9.157 MB / 0.6429 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.8875, allocations: 8.031 kB / 0.6429 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04798/0.9355, allocations: 13.19 MB / 0.6558 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4217/1.357, allocations: 11.07 MB / 0.6666 GB, free: 54.01 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/1.358, allocations: 0.4943 MB / 0.6671 GB, free: 54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/1.36, allocations: 0.6658 MB / 0.6677 GB, free: 54 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03252/1.393, allocations: 16.74 MB / 0.6841 GB, free: 49.91 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002932/1.393, allocations: 111 kB / 0.6842 GB, free: 49.91 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008765/1.394, allocations: 321 kB / 0.6845 GB, free: 49.91 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001727/1.396, allocations: 1.479 MB / 0.6859 GB, free: 49.89 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.423, allocations: 13.47 MB / 0.6991 GB, free: 49.81 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07617/1.499, allocations: 76.63 MB / 0.7739 GB, free: 12.62 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.521, allocations: 8.516 MB / 0.7822 GB, free: 10.16 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005903/1.527, allocations: 4.122 MB / 0.7862 GB, free: 6.484 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/1.529, allocations: 1.35 MB / 0.7876 GB, free: 5.035 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/1.529, allocations: 68.47 kB / 0.7876 GB, free: 4.965 MB / 442.8 MB Notification: Performance of pre-optimization done (n=268): time 7.043e-06/1.529, allocations: 0 / 0.7876 GB, free: 4.965 MB / 442.8 MB Notification: Performance of matching and sorting (n=354): time 0.3737/1.902, allocations: 52.66 MB / 0.839 GB, free: 97.59 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00157/1.904, allocations: 3.236 MB / 0.8422 GB, free: 94.55 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.915, allocations: 7.361 MB / 0.8494 GB, free: 94.17 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.916, allocations: 77.89 kB / 0.8495 GB, free: 94.14 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00407/1.92, allocations: 5.196 MB / 0.8545 GB, free: 92.87 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001911/1.922, allocations: 1.348 MB / 0.8559 GB, free: 92.09 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006134/1.922, allocations: 190.3 kB / 0.856 GB, free: 92.09 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0004034/1.923, allocations: 0.707 MB / 0.8567 GB, free: 91.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006338/1.929, allocations: 4.582 MB / 0.8612 GB, free: 91.74 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008031/1.937, allocations: 9.912 MB / 0.8709 GB, free: 84.98 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/1.953, allocations: 15.55 MB / 0.8861 GB, free: 77.77 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000182/1.953, allocations: 55.06 kB / 0.8861 GB, free: 77.77 MB / 474.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.06515/2.018, allocations: 31.65 MB / 0.917 GB, free: 71.53 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/2.018, allocations: 86.62 kB / 0.9171 GB, free: 71.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04188/2.06, allocations: 20.7 MB / 0.9373 GB, free: 65 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04018/2.1, allocations: 16.59 MB / 0.9535 GB, free: 51.16 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006731/2.107, allocations: 2.128 MB / 0.9556 GB, free: 49.04 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0386/2.146, allocations: 33.51 MB / 0.9883 GB, free: 15.09 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008454/2.154, allocations: 0.7791 MB / 0.9891 GB, free: 14.31 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/2.155, allocations: 0.5546 MB / 0.9896 GB, free: 13.75 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.00542/2.161, allocations: 3.436 MB / 0.993 GB, free: 10.31 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/2.162, allocations: 0.6785 MB / 0.9937 GB, free: 9.625 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2447/2.407, allocations: 10.21 MB / 1.004 GB, free: 85.04 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02098/2.428, allocations: 8.915 MB / 1.012 GB, free: 84.76 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001163/2.428, allocations: 18.3 kB / 1.012 GB, free: 84.76 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/2.428, allocations: 16.73 kB / 1.012 GB, free: 84.76 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04715/2.475, allocations: 23.65 MB / 1.035 GB, free: 83.55 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/2.475, allocations: 3.469 kB / 1.035 GB, free: 83.55 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/2.478, allocations: 0.571 MB / 1.036 GB, free: 83.55 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01108/2.49, allocations: 3.626 MB / 1.04 GB, free: 83.49 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009272/2.491, allocations: 94.47 kB / 1.04 GB, free: 83.49 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02465/2.515, allocations: 22.03 MB / 1.061 GB, free: 73.19 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001484/2.517, allocations: 2.97 MB / 1.064 GB, free: 70.32 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02393/2.541, allocations: 15.37 MB / 1.079 GB, free: 64.57 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/2.543, allocations: 0.7113 MB / 1.08 GB, free: 64.41 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/2.545, allocations: 88.92 kB / 1.08 GB, free: 64.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/2.55, allocations: 320.7 kB / 1.08 GB, free: 64.32 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/2.551, allocations: 252.1 kB / 1.08 GB, free: 64.29 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000577/2.551, allocations: 100.3 kB / 1.08 GB, free: 64.27 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.008806/2.56, allocations: 4.671 MB / 1.085 GB, free: 62.78 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.92e-07/2.56, allocations: 0 / 1.085 GB, free: 62.78 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0119/2.572, allocations: 2.127 MB / 1.087 GB, free: 62.57 MB / 474.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.001307/2.573, allocations: 229.6 kB / 1.087 GB, free: 62.43 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01931/2.593, allocations: 12.05 MB / 1.099 GB, free: 56.88 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.593, allocations: 0 / 1.099 GB, free: 56.88 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00781/2.601, allocations: 5.144 MB / 1.104 GB, free: 52.33 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/2.612, allocations: 0.9789 MB / 1.105 GB, free: 51.52 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/2.651, allocations: 21.96 MB / 1.127 GB, free: 32.16 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007616/2.658, allocations: 5.342 MB / 1.132 GB, free: 28.16 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.008604/2.667, allocations: 3.187 MB / 1.135 GB, free: 26.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/2.669, allocations: 448.7 kB / 1.135 GB, free: 25.7 MB / 474.8 MB Notification: Performance of SimCode: time 1.212e-06/2.669, allocations: 4 kB / 1.135 GB, free: 25.7 MB / 474.8 MB Notification: Performance of Templates: time 0.397/3.066, allocations: 99.18 MB / 1.232 GB, free: 84.05 MB / 490.8 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/jenkins1/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