Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001133/0.001133, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001587/0.001587, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 55.91 kB / 280.7 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 46.64 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009334/0.1292, allocations: 7.031 MB / 334.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006774/0.136, allocations: 3.136 MB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.1374, allocations: 31.94 kB / 337.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.1396, allocations: 0.8951 MB / 338.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.1434, allocations: 1.37 MB / 339.8 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1447, allocations: 0.5264 MB / 340.3 MB, free: 7.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.1485, allocations: 2.728 MB / 343 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.1507, allocations: 1.333 MB / 344.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.1526, allocations: 0.8641 MB / 345.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003341/0.156, allocations: 2.018 MB / 347.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009575/0.1569, allocations: 184 kB / 347.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.1598, allocations: 0.9633 MB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.1617, allocations: 1.138 MB / 349.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00284/0.1645, allocations: 1.309 MB / 350.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0067/0.1713, allocations: 4.249 MB / 355.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1713, allocations: 4 kB / 355.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1713, allocations: 0 / 355.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001705/0.1715, allocations: 4 kB / 355.1 MB, free: 8.578 MB / 302.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.0104/0.1819, allocations: 3.265 MB / 358.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1819, allocations: 8.031 kB / 358.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/0.1884, allocations: 1.655 MB / 360 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.1918, allocations: 1.558 MB / 361.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.192, allocations: 131.1 kB / 361.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.1928, allocations: 175.8 kB / 361.9 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.2049, allocations: 6.592 MB / 368.4 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.2051, allocations: 35.66 kB / 368.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006065/0.2057, allocations: 87.89 kB / 368.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.2079, allocations: 1.331 MB / 369.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.2189, allocations: 5.836 MB / 375.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2497/0.4687, allocations: 28.04 MB / 403.8 MB, free: 29.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/0.4749, allocations: 2.786 MB / 406.6 MB, free: 28.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4764, allocations: 1.31 MB / 407.9 MB, free: 27.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.477, allocations: 0.6455 MB / 408.5 MB, free: 27.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4771, allocations: 46.39 kB / 408.6 MB, free: 27.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 4.739e-06/0.4771, allocations: 0 / 408.6 MB, free: 27.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.06488/0.542, allocations: 21.01 MB / 429.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.5421, allocations: 171.2 kB / 429.7 MB, free: 9.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.5456, allocations: 2.808 MB / 432.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.546, allocations: 52.44 kB / 432.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000985/0.547, allocations: 2.074 MB / 434.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.5476, allocations: 0.6264 MB / 435.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.5487, allocations: 1.003 MB / 436.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.5488, allocations: 301.1 kB / 436.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.5513, allocations: 2.231 MB / 438.8 MB, free: 440 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/0.5578, allocations: 5.155 MB / 444 MB, free: 9.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/0.5684, allocations: 7.965 MB / 451.9 MB, free: 416 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.5685, allocations: 32 kB / 452 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02509/0.5936, allocations: 10.3 MB / 462.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/0.5938, allocations: 48 kB / 462.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.5939, allocations: 104 kB / 462.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/0.6057, allocations: 3.428 MB / 465.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.6096, allocations: 1.088 MB / 466.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.6304, allocations: 12.87 MB / 479.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/0.636, allocations: 331.4 kB / 480.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.6374, allocations: 315.9 kB / 480.4 MB, free: 3.711 MB / 366.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.003809/0.6412, allocations: 1.465 MB / 481.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008449/0.6421, allocations: 244.8 kB / 482.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.6588, allocations: 5.994 MB / 488.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.717e-05/0.659, allocations: 31.94 kB / 488.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/0.659, allocations: 11.98 kB / 488.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/0.6591, allocations: 7.984 kB / 488.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/0.6886, allocations: 13.23 MB / 0.4897 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/0.6887, allocations: 0 / 0.4897 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.6898, allocations: 235.6 kB / 0.4899 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/0.7023, allocations: 4.023 MB / 0.4938 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/0.7027, allocations: 43.95 kB / 0.4939 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.7211, allocations: 12.83 MB / 0.5064 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.7211, allocations: 3.938 kB / 0.5064 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02035/0.7415, allocations: 10.09 MB / 0.5163 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/0.7422, allocations: 301.7 kB / 0.5165 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/0.7427, allocations: 40.05 kB / 0.5166 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.7442, allocations: 183.7 kB / 0.5168 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.7447, allocations: 116.8 kB / 0.5169 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.7448, allocations: 47.97 kB / 0.5169 GB, free: 2.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002501/0.7473, allocations: 1.746 MB / 0.5186 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7473, allocations: 4 kB / 0.5186 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003972/0.7513, allocations: 0.819 MB / 0.5194 GB, free: 15.87 MB / 430.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.0004493/0.7518, allocations: 164.3 kB / 0.5196 GB, free: 15.71 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01156/0.7634, allocations: 6.804 MB / 0.5262 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.7634, allocations: 0 / 0.5262 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.7688, allocations: 2.889 MB / 0.529 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.7709, allocations: 309.8 kB / 0.5293 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1886/0.9595, allocations: 7.369 MB / 0.5365 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.962, allocations: 2.33 MB / 0.5388 GB, free: 146.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003759/0.9658, allocations: 1.509 MB / 0.5403 GB, free: 146.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.9664, allocations: 194.3 kB / 0.5405 GB, free: 146.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9664, allocations: 1.25 kB / 0.5405 GB, free: 146.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05559/1.022, allocations: 40.85 MB / 0.5804 GB, free: 120.3 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches