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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001479, allocations: 172.8 kB / 8.475 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.2 MB / 214.1 MB, free: 5.234 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008847/0.0008846, allocations: 94.25 kB / 262.1 MB, free: 5.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.233e-06, allocations: 4 kB / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09761, allocations: 47.58 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4156, allocations: 97.37 MB / 459.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4159, allocations: 89 kB / 460 MB, free: 7.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.5729/0.9888, allocations: 143.2 MB / 0.5891 GB, free: 72.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001008/0.9899, allocations: 142.8 kB / 0.5892 GB, free: 72.47 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.04229/1.032, allocations: 8.235 MB / 0.5973 GB, free: 69.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.032, allocations: 10.06 kB / 0.5973 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05928/1.092, allocations: 14.77 MB / 0.6117 GB, free: 69.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03612/1.128, allocations: 13.17 MB / 0.6245 GB, free: 67.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004651/1.128, allocations: 215.7 kB / 0.6248 GB, free: 67.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004085/1.132, allocations: 412.8 kB / 0.6251 GB, free: 67.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02283/1.155, allocations: 9.391 MB / 0.6343 GB, free: 66.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/1.192, allocations: 14.52 MB / 0.6485 GB, free: 53.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004815/1.193, allocations: 101.9 kB / 0.6486 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002152/1.195, allocations: 47.91 kB / 0.6486 GB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/1.197, allocations: 1.587 MB / 0.6502 GB, free: 52.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.341/1.538, allocations: 76.78 MB / 0.7252 GB, free: 72.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006975/1.545, allocations: 5.589 MB / 0.7306 GB, free: 71.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.551, allocations: 4.595 MB / 0.7351 GB, free: 71.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02686/1.578, allocations: 14.76 MB / 0.7495 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/1.578, allocations: 61.59 kB / 0.7496 GB, free: 67.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.603e-06/1.578, allocations: 2.406 kB / 0.7496 GB, free: 67.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=342): time 0.1119/1.69, allocations: 43.4 MB / 0.792 GB, free: 56.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/1.69, allocations: 293.7 kB / 0.7923 GB, free: 56.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/1.703, allocations: 5.749 MB / 0.7979 GB, free: 54.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.704, allocations: 32.19 kB / 0.7979 GB, free: 54.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.707, allocations: 4.472 MB / 0.8023 GB, free: 51.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002226/1.71, allocations: 1.267 MB / 0.8035 GB, free: 50.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008668/1.711, allocations: 0 / 0.8035 GB, free: 50.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000459/1.711, allocations: 0.7159 MB / 0.8042 GB, free: 50.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006085/1.717, allocations: 4.394 MB / 0.8085 GB, free: 48.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.727, allocations: 9.775 MB / 0.818 GB, free: 38.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.738, allocations: 6.479 MB / 0.8244 GB, free: 33.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/1.738, allocations: 52 kB / 0.8244 GB, free: 33.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=1252) (initialization): time 0.06812/1.806, allocations: 24.63 MB / 0.8485 GB, free: 15.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.806, allocations: 8 kB / 0.8485 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04546/1.851, allocations: 16.02 MB / 0.8641 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04356/1.895, allocations: 11.39 MB / 0.8752 GB, free: 9.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00833/1.903, allocations: 2.09 MB / 0.8773 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2573/2.161, allocations: 28.91 MB / 0.9055 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.173, allocations: 451.8 kB / 0.906 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003213/2.176, allocations: 0.5686 MB / 0.9065 GB, free: 113.5 MB / 442.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 (1106): * Single equations (assignments): 1093 * 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.004193/2.18, allocations: 0.592 MB / 0.9071 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/2.182, allocations: 0.6219 MB / 0.9077 GB, free: 113.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/2.204, allocations: 9.775 MB / 0.9172 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01937/2.223, allocations: 8.577 MB / 0.9256 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/2.223, allocations: 19.41 kB / 0.9256 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002275/2.223, allocations: 15.38 kB / 0.9256 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05457/2.278, allocations: 22.06 MB / 0.9472 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.234e-05/2.278, allocations: 3.875 kB / 0.9472 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003616/2.282, allocations: 483.3 kB / 0.9476 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0147/2.297, allocations: 3.828 MB / 0.9514 GB, free: 104.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/2.298, allocations: 55.19 kB / 0.9514 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/2.326, allocations: 21.79 MB / 0.9727 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001881/2.328, allocations: 2.774 MB / 0.9754 GB, free: 89.07 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02792/2.356, allocations: 15.21 MB / 0.9903 GB, free: 81.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005276/2.361, allocations: 1.295 MB / 0.9915 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002415/2.363, allocations: 37.27 kB / 0.9916 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004762/2.368, allocations: 162.8 kB / 0.9917 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005938/2.369, allocations: 175.5 kB / 0.9919 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/2.369, allocations: 102.2 kB / 0.992 GB, free: 79.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.008225/2.377, allocations: 3.98 MB / 0.9959 GB, free: 76.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01401/2.391, allocations: 1.847 MB / 0.9977 GB, free: 74.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,$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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * 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 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/2.393, allocations: 185.6 kB / 0.9979 GB, free: 74.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02143/2.414, allocations: 11.21 MB / 1.009 GB, free: 64.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/2.414, allocations: 4 kB / 1.009 GB, free: 64.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007911/2.422, allocations: 4.813 MB / 1.014 GB, free: 60.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/2.429, allocations: 0.7825 MB / 1.014 GB, free: 59.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04452/2.473, allocations: 16.14 MB / 1.03 GB, free: 45.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2463/2.72, allocations: 5.914 MB / 1.036 GB, free: 110.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/2.72, allocations: 1.562 kB / 1.036 GB, free: 110.5 MB / 442.7 MB Notification: Performance of Templates: time 0.1747/2.895, allocations: 95.1 MB / 1.129 GB, free: 83.84 MB / 442.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