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.0009995/0.0009996, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.604/1.604, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008155/0.000815, allocations: 92.16 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 12 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2657, allocations: 47.58 MB / 375.8 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3877, allocations: 98.2 MB / 474 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.388, allocations: 91.95 kB / 474.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5398/0.9278, allocations: 147.9 MB / 0.6075 GB, free: 7.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.9278, allocations: 3.938 kB / 0.6075 GB, free: 7.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007401/0.9286, allocations: 147.9 kB / 0.6076 GB, free: 7.66 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.03856/0.9672, allocations: 9.485 MB / 0.6169 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9672, allocations: 8.031 kB / 0.6169 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06138/1.029, allocations: 16.67 MB / 0.6332 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03487/1.064, allocations: 13.23 MB / 0.6461 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.268/1.332, allocations: 493.1 kB / 0.6466 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004018/1.336, allocations: 0.6646 MB / 0.6472 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/1.377, allocations: 16.89 MB / 0.6637 GB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005279/1.378, allocations: 109.9 kB / 0.6638 GB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002131/1.38, allocations: 328.4 kB / 0.6641 GB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/1.382, allocations: 1.474 MB / 0.6656 GB, free: 56.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/1.414, allocations: 13.67 MB / 0.6789 GB, free: 56.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08299/1.497, allocations: 76.86 MB / 0.754 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/1.521, allocations: 8.566 MB / 0.7623 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/1.522, allocations: 1.349 MB / 0.7636 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/1.522, allocations: 64.69 kB / 0.7637 GB, free: 15.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 6.773e-06/1.522, allocations: 4.875 kB / 0.7637 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=354): time 0.424/1.946, allocations: 53.45 MB / 0.8159 GB, free: 84.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001906/1.948, allocations: 3.268 MB / 0.8191 GB, free: 81.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.96, allocations: 6.577 MB / 0.8255 GB, free: 81.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.961, allocations: 76.3 kB / 0.8256 GB, free: 81.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004084/1.965, allocations: 5.216 MB / 0.8307 GB, free: 79.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002103/1.967, allocations: 1.344 MB / 0.832 GB, free: 78.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/1.968, allocations: 199.3 kB / 0.8322 GB, free: 78.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004421/1.968, allocations: 0.7055 MB / 0.8329 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006309/1.975, allocations: 4.586 MB / 0.8374 GB, free: 77.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.985, allocations: 9.873 MB / 0.847 GB, free: 71.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.997, allocations: 6.574 MB / 0.8534 GB, free: 71.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003332/1.997, allocations: 54.91 kB / 0.8535 GB, free: 71.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.07293/2.07, allocations: 31.65 MB / 0.8844 GB, free: 65.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/2.07, allocations: 82.5 kB / 0.8845 GB, free: 65.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.045/2.115, allocations: 20.7 MB / 0.9047 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.042/2.157, allocations: 16.6 MB / 0.9209 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007877/2.165, allocations: 2.117 MB / 0.9229 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04499/2.21, allocations: 35.38 MB / 0.9575 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.221, allocations: 0.7786 MB / 0.9583 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/2.224, allocations: 0.5583 MB / 0.9588 GB, free: 5.27 MB / 442.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.009271/2.233, allocations: 3.443 MB / 0.9622 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001934/2.235, allocations: 0.6788 MB / 0.9628 GB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.27/2.505, allocations: 10.22 MB / 0.9728 GB, free: 90.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01561/2.521, allocations: 8.91 MB / 0.9815 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-05/2.521, allocations: 18.78 kB / 0.9815 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.487e-05/2.521, allocations: 16.78 kB / 0.9815 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04448/2.565, allocations: 23.66 MB / 1.005 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/2.565, allocations: 6.844 kB / 1.005 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002957/2.568, allocations: 0.5701 MB / 1.005 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0113/2.58, allocations: 3.629 MB / 1.009 GB, free: 89.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008612/2.581, allocations: 95.47 kB / 1.009 GB, free: 89.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/2.608, allocations: 22.77 MB / 1.031 GB, free: 76.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001747/2.609, allocations: 2.993 MB / 1.034 GB, free: 73.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02742/2.637, allocations: 15.82 MB / 1.049 GB, free: 67.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005724/2.643, allocations: 1.376 MB / 1.051 GB, free: 67.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002537/2.645, allocations: 92.22 kB / 1.051 GB, free: 67.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004918/2.65, allocations: 319.3 kB / 1.051 GB, free: 67.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/2.651, allocations: 243 kB / 1.051 GB, free: 67.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006428/2.652, allocations: 100 kB / 1.052 GB, free: 67.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01214/2.664, allocations: 4.723 MB / 1.056 GB, free: 65.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.664, allocations: 0 / 1.056 GB, free: 65.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01287/2.677, allocations: 2.126 MB / 1.058 GB, free: 65.39 MB / 458.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.001273/2.678, allocations: 233.2 kB / 1.058 GB, free: 65.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0178/2.696, allocations: 12.04 MB / 1.07 GB, free: 56.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/2.696, allocations: 0 / 1.07 GB, free: 56.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007215/2.703, allocations: 5.144 MB / 1.075 GB, free: 51.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/2.71, allocations: 0.9495 MB / 1.076 GB, free: 50.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04239/2.752, allocations: 21.96 MB / 1.098 GB, free: 31.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.764, allocations: 5.506 MB / 1.103 GB, free: 27.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01098/2.775, allocations: 3.196 MB / 1.106 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/2.777, allocations: 455.5 kB / 1.107 GB, free: 25.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/2.777, allocations: 0 / 1.107 GB, free: 25.07 MB / 458.7 MB Notification: Performance of Templates: time 0.4087/3.186, allocations: 99.05 MB / 1.203 GB, free: 68.79 MB / 458.7 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/jenkins/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