Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001285/0.001285, allocations: 200.9 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008638/0.0008639, allocations: 90.84 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.51e-06, allocations: 0 / 343.1 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.095, allocations: 51.48 MB / 394.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3084/0.4034, allocations: 99.71 MB / 494.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4037, allocations: 83.31 kB / 494.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5989/1.003, allocations: 153.7 MB / 0.6329 GB, free: 72.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006416/1.003, allocations: 143.4 kB / 0.6331 GB, free: 72.8 MB / 442.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.04565/1.049, allocations: 8.483 MB / 0.6414 GB, free: 69.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.049, allocations: 8.469 kB / 0.6414 GB, free: 69.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06274/1.112, allocations: 15.61 MB / 0.6566 GB, free: 67.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02992/1.142, allocations: 11.35 MB / 0.6677 GB, free: 63.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/1.142, allocations: 212.6 kB / 0.6679 GB, free: 63.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004081/1.146, allocations: 409.7 kB / 0.6683 GB, free: 63.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01785/1.164, allocations: 9.392 MB / 0.6775 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/1.194, allocations: 14.52 MB / 0.6916 GB, free: 45.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004325/1.194, allocations: 107 kB / 0.6917 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00195/1.196, allocations: 47.94 kB / 0.6918 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/1.198, allocations: 1.587 MB / 0.6933 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3347/1.533, allocations: 76.68 MB / 0.7682 GB, free: 60.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/1.541, allocations: 5.595 MB / 0.7737 GB, free: 60.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005434/1.546, allocations: 4.601 MB / 0.7782 GB, free: 60.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02741/1.573, allocations: 14.7 MB / 0.7925 GB, free: 56.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.269e-05/1.574, allocations: 67.81 kB / 0.7926 GB, free: 56.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=262): time 7.875e-06/1.574, allocations: 0 / 0.7926 GB, free: 56.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=342): time 0.1056/1.679, allocations: 43.14 MB / 0.8347 GB, free: 40.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.679, allocations: 290.1 kB / 0.835 GB, free: 40.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.692, allocations: 5.695 MB / 0.8406 GB, free: 38.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.693, allocations: 25.7 kB / 0.8406 GB, free: 38.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003076/1.696, allocations: 4.474 MB / 0.845 GB, free: 34.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002889/1.699, allocations: 1.275 MB / 0.8462 GB, free: 33.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/1.7, allocations: 0 / 0.8462 GB, free: 33.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005203/1.701, allocations: 0.71 MB / 0.8469 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00617/1.707, allocations: 4.394 MB / 0.8512 GB, free: 31.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009723/1.717, allocations: 9.774 MB / 0.8607 GB, free: 23.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.727, allocations: 6.476 MB / 0.8671 GB, free: 20.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/1.727, allocations: 57.84 kB / 0.8671 GB, free: 20.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=1252) (initialization): time 0.06777/1.795, allocations: 24.82 MB / 0.8914 GB, free: 7.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.795, allocations: 4 kB / 0.8914 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2392/2.034, allocations: 16.23 MB / 0.9072 GB, free: 91.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04191/2.076, allocations: 11.59 MB / 0.9185 GB, free: 91.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01559/2.092, allocations: 2.089 MB / 0.9206 GB, free: 91.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05667/2.149, allocations: 28.91 MB / 0.9488 GB, free: 86.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/2.159, allocations: 449 kB / 0.9492 GB, free: 86.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/2.161, allocations: 0.5657 MB / 0.9498 GB, free: 86.45 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.001969/2.163, allocations: 0.5921 MB / 0.9504 GB, free: 86.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/2.165, allocations: 0.6206 MB / 0.951 GB, free: 86.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/2.183, allocations: 9.786 MB / 0.9605 GB, free: 83.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01699/2.2, allocations: 8.572 MB / 0.9689 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-05/2.2, allocations: 19.03 kB / 0.9689 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-05/2.2, allocations: 15.84 kB / 0.9689 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.051/2.251, allocations: 22.03 MB / 0.9904 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/2.251, allocations: 3.094 kB / 0.9905 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/2.255, allocations: 485 kB / 0.9909 GB, free: 72.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/2.268, allocations: 3.818 MB / 0.9946 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001218/2.27, allocations: 56.16 kB / 0.9947 GB, free: 71.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/2.297, allocations: 21.8 MB / 1.016 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001635/2.299, allocations: 2.765 MB / 1.019 GB, free: 56.67 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02624/2.325, allocations: 15.21 MB / 1.034 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/2.328, allocations: 0.6377 MB / 1.034 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/2.33, allocations: 38.8 kB / 1.034 GB, free: 45.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004066/2.334, allocations: 166.6 kB / 1.034 GB, free: 44.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/2.335, allocations: 166 kB / 1.035 GB, free: 44.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003429/2.335, allocations: 93.59 kB / 1.035 GB, free: 44.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.007782/2.343, allocations: 3.946 MB / 1.038 GB, free: 41.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01254/2.355, allocations: 1.855 MB / 1.04 GB, free: 39.52 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.001032/2.356, allocations: 187.5 kB / 1.04 GB, free: 39.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01838/2.375, allocations: 11.22 MB / 1.051 GB, free: 29.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/2.375, allocations: 4 kB / 1.051 GB, free: 29.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007009/2.382, allocations: 4.817 MB / 1.056 GB, free: 24.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/2.388, allocations: 0.7854 MB / 1.057 GB, free: 24.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2476/2.636, allocations: 16.14 MB / 1.073 GB, free: 88.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008599/2.645, allocations: 5.896 MB / 1.078 GB, free: 87.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/2.645, allocations: 0 / 1.078 GB, free: 87.57 MB / 442.7 MB Notification: Performance of Templates: time 0.1684/2.813, allocations: 95.05 MB / 1.171 GB, free: 60.78 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches