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") [: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 4.0.0+maint.om/package.mo): time 0.0009837/0.0009834, allocations: 184.5 kB / 8.138 MB, free: 2.219 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.16/1.16, allocations: 221.4 MB / 230 MB, free: 3.027 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.0009193/0.0009193, allocations: 100.6 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.351e-06, allocations: 0 / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 50.4 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3402, allocations: 99.06 MB / 486 MB, free: 3.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.3405, allocations: 93.45 kB / 486.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.523/0.8635, allocations: 145 MB / 0.6163 GB, free: 7.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006889/0.8643, allocations: 140 kB / 0.6164 GB, free: 6.891 MB / 394.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.03716/0.9014, allocations: 8.217 MB / 0.6245 GB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9015, allocations: 8.031 kB / 0.6245 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05973/0.9612, allocations: 14.75 MB / 0.6389 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03254/0.9938, allocations: 12.53 MB / 0.6511 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/0.9943, allocations: 208 kB / 0.6513 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/0.9976, allocations: 411.7 kB / 0.6517 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1815/1.179, allocations: 9.385 MB / 0.6609 GB, free: 95.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/1.206, allocations: 14.52 MB / 0.675 GB, free: 91.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003771/1.206, allocations: 109.5 kB / 0.6752 GB, free: 91.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.208, allocations: 44.16 kB / 0.6752 GB, free: 91.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/1.21, allocations: 1.589 MB / 0.6767 GB, free: 91.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08273/1.292, allocations: 76.68 MB / 0.7516 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/1.3, allocations: 5.603 MB / 0.7571 GB, free: 43.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006727/1.306, allocations: 4.596 MB / 0.7616 GB, free: 41.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02741/1.334, allocations: 14.71 MB / 0.776 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.334, allocations: 59.25 kB / 0.776 GB, free: 33.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.612e-06/1.334, allocations: 0 / 0.776 GB, free: 33.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=342): time 0.1087/1.443, allocations: 43.14 MB / 0.8181 GB, free: 6.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.443, allocations: 296.7 kB / 0.8184 GB, free: 5.664 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009627/1.452, allocations: 5.698 MB / 0.824 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009572/1.453, allocations: 26.41 kB / 0.824 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1689/1.622, allocations: 4.472 MB / 0.8284 GB, free: 90.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002508/1.625, allocations: 1.276 MB / 0.8296 GB, free: 89.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.626, allocations: 0 / 0.8296 GB, free: 89.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004542/1.626, allocations: 0.7122 MB / 0.8303 GB, free: 89.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005594/1.632, allocations: 4.39 MB / 0.8346 GB, free: 89.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008719/1.641, allocations: 9.772 MB / 0.8442 GB, free: 82.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009306/1.65, allocations: 6.474 MB / 0.8505 GB, free: 82.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/1.65, allocations: 57.25 kB / 0.8505 GB, free: 82.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=1252) (initialization): time 0.06633/1.717, allocations: 24.62 MB / 0.8746 GB, free: 81.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.717, allocations: 3.406 kB / 0.8746 GB, free: 81.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04417/1.761, allocations: 16.02 MB / 0.8902 GB, free: 81.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04368/1.805, allocations: 11.4 MB / 0.9014 GB, free: 81.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.812, allocations: 2.089 MB / 0.9034 GB, free: 81.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04144/1.854, allocations: 28.92 MB / 0.9316 GB, free: 65.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009274/1.863, allocations: 447.9 kB / 0.9321 GB, free: 64.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002897/1.866, allocations: 0.5725 MB / 0.9326 GB, free: 64.18 MB / 426.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.004452/1.871, allocations: 0.584 MB / 0.9332 GB, free: 63.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/1.873, allocations: 0.6208 MB / 0.9338 GB, free: 62.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.89, allocations: 9.771 MB / 0.9433 GB, free: 55.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01465/1.905, allocations: 8.57 MB / 0.9517 GB, free: 48.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.906e-05/1.905, allocations: 20 kB / 0.9517 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-05/1.905, allocations: 13.73 kB / 0.9517 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2058/2.111, allocations: 22.04 MB / 0.9733 GB, free: 78.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/2.111, allocations: 3.812 kB / 0.9733 GB, free: 78.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/2.114, allocations: 484.4 kB / 0.9737 GB, free: 78.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/2.127, allocations: 3.817 MB / 0.9775 GB, free: 78.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008115/2.128, allocations: 65.23 kB / 0.9775 GB, free: 78.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/2.153, allocations: 21.79 MB / 0.9988 GB, free: 71.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001533/2.154, allocations: 2.765 MB / 1.002 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02388/2.178, allocations: 15.2 MB / 1.016 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/2.18, allocations: 0.6371 MB / 1.017 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/2.182, allocations: 37.27 kB / 1.017 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/2.187, allocations: 167.1 kB / 1.017 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007321/2.187, allocations: 167 kB / 1.017 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003407/2.188, allocations: 100.2 kB / 1.017 GB, free: 67.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007069/2.195, allocations: 3.944 MB / 1.021 GB, free: 67.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01252/2.207, allocations: 1.848 MB / 1.023 GB, free: 67.16 MB / 426.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.0009452/2.208, allocations: 181.4 kB / 1.023 GB, free: 67.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01742/2.226, allocations: 11.22 MB / 1.034 GB, free: 65.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.226, allocations: 1.75 kB / 1.034 GB, free: 65.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007613/2.234, allocations: 4.812 MB / 1.039 GB, free: 63.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/2.239, allocations: 0.7687 MB / 1.04 GB, free: 63.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03879/2.277, allocations: 16.1 MB / 1.055 GB, free: 58.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009999/2.287, allocations: 5.899 MB / 1.061 GB, free: 56.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/2.288, allocations: 0 / 1.061 GB, free: 56.44 MB / 426.7 MB Notification: Performance of Templates: time 0.3056/2.593, allocations: 95.07 MB / 1.154 GB, free: 75.27 MB / 426.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