Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108.9 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 196 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 47.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.327, allocations: 49.44 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007881/0.3349, allocations: 7.042 MB / 407.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00626/0.3412, allocations: 3.127 MB / 410.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.3424, allocations: 35.94 kB / 410.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.3446, allocations: 0.9029 MB / 411.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.3483, allocations: 1.374 MB / 413.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3496, allocations: 0.5186 MB / 413.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004312/0.3539, allocations: 2.734 MB / 416.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.356, allocations: 1.326 MB / 417.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.3576, allocations: 0.8525 MB / 418.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.3605, allocations: 2.022 MB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000646/0.3612, allocations: 176 kB / 420.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.3635, allocations: 0.979 MB / 421.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.3651, allocations: 1.13 MB / 422.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.3673, allocations: 1.305 MB / 424.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.3729, allocations: 4.439 MB / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3729, allocations: 0 / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3729, allocations: 0 / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.738e-05/0.373, allocations: 0 / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.00781/0.3808, allocations: 3.342 MB / 432 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3809, allocations: 8.031 kB / 432 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/0.3867, allocations: 1.672 MB / 433.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.3896, allocations: 1.53 MB / 435.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.3897, allocations: 127.2 kB / 435.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.39, allocations: 163.9 kB / 435.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009235/0.3993, allocations: 6.596 MB / 442.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/0.3994, allocations: 35.7 kB / 442.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.3996, allocations: 83.91 kB / 442.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.4016, allocations: 1.323 MB / 443.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4119, allocations: 5.851 MB / 449.4 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/0.4417, allocations: 28.01 MB / 477.4 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/0.4477, allocations: 2.778 MB / 480.2 MB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.4493, allocations: 1.322 MB / 481.5 MB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/0.4501, allocations: 0.6317 MB / 482.2 MB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4501, allocations: 43.12 kB / 482.2 MB, free: 5.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 3.727e-06/0.4501, allocations: 4 kB / 482.2 MB, free: 5.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.06879/0.5189, allocations: 21.15 MB / 0.4916 GB, free: 212 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.5191, allocations: 175.2 kB / 0.4917 GB, free: 16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.5232, allocations: 2.808 MB / 0.4945 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.5236, allocations: 45.7 kB / 0.4945 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.5249, allocations: 2.167 MB / 0.4966 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.5255, allocations: 0.6551 MB / 0.4973 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.5268, allocations: 1.008 MB / 0.4982 GB, free: 9.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.5269, allocations: 305.1 kB / 0.4985 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/0.5298, allocations: 2.231 MB / 0.5007 GB, free: 6.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/0.5345, allocations: 5.154 MB / 0.5058 GB, free: 108 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008573/0.543, allocations: 7.975 MB / 0.5135 GB, free: 6.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.836e-05/0.5431, allocations: 28 kB / 0.5136 GB, free: 6.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02244/0.5656, allocations: 10.31 MB / 0.5236 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.5657, allocations: 48 kB / 0.5237 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.5659, allocations: 107.9 kB / 0.5238 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/0.5775, allocations: 3.431 MB / 0.5271 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/0.5812, allocations: 1.092 MB / 0.5282 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2694/0.8506, allocations: 12.84 MB / 0.5407 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.8546, allocations: 334.8 kB / 0.5411 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/0.855, allocations: 304.7 kB / 0.5413 GB, free: 125 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (577): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001873/0.8569, allocations: 1.469 MB / 0.5428 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.8573, allocations: 264.9 kB / 0.543 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.871, allocations: 5.993 MB / 0.5489 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-05/0.8711, allocations: 33.39 kB / 0.5489 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.8712, allocations: 7.906 kB / 0.5489 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.8712, allocations: 7.641 kB / 0.5489 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/0.8951, allocations: 13.22 MB / 0.5618 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.8952, allocations: 2.938 kB / 0.5618 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.8963, allocations: 232.6 kB / 0.5621 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/0.9073, allocations: 4.005 MB / 0.566 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/0.9076, allocations: 49.95 kB / 0.566 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.9226, allocations: 12.83 MB / 0.5786 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.9227, allocations: 3 kB / 0.5786 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/0.9402, allocations: 10.1 MB / 0.5884 GB, free: 87.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.9409, allocations: 318.3 kB / 0.5887 GB, free: 86.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.9413, allocations: 39.92 kB / 0.5888 GB, free: 86.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.9428, allocations: 191 kB / 0.589 GB, free: 86.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.9432, allocations: 112.8 kB / 0.5891 GB, free: 86.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.9434, allocations: 51.97 kB / 0.5891 GB, free: 86.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.9454, allocations: 1.73 MB / 0.5908 GB, free: 84.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9454, allocations: 0 / 0.5908 GB, free: 84.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003534/0.949, allocations: 0.8231 MB / 0.5916 GB, free: 83.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003822/0.9494, allocations: 177.4 kB / 0.5918 GB, free: 83.81 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.008343/0.9577, allocations: 6.277 MB / 0.5979 GB, free: 77.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9577, allocations: 4 kB / 0.5979 GB, free: 77.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004206/0.962, allocations: 2.892 MB / 0.6007 GB, free: 74.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.964, allocations: 299.4 kB / 0.601 GB, free: 74.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008967/0.973, allocations: 7.38 MB / 0.6082 GB, free: 66.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.9746, allocations: 2.322 MB / 0.6105 GB, free: 64.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002582/0.9772, allocations: 1.503 MB / 0.612 GB, free: 62.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.9777, allocations: 187.4 kB / 0.6121 GB, free: 62.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.595e-06/0.9777, allocations: 0 / 0.6121 GB, free: 62.66 MB / 462.1 MB Notification: Performance of Templates: time 0.04963/1.027, allocations: 38.61 MB / 0.6498 GB, free: 24.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches