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.00115/0.00115, allocations: 110.6 kB / 17.73 MB, free: 5.328 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.001276/0.001276, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.502/1.502, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001299/0.001299, allocations: 51.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2426/0.3474, allocations: 7.047 MB / 382.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.3544, allocations: 3.138 MB / 385.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.3556, allocations: 30.88 kB / 385.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.3577, allocations: 0.8971 MB / 386.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.3615, allocations: 1.395 MB / 387.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3627, allocations: 0.5273 MB / 388.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.3666, allocations: 2.724 MB / 390.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.3682, allocations: 1.33 MB / 392.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.3697, allocations: 0.8711 MB / 393.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.3724, allocations: 2.019 MB / 395.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005296/0.3729, allocations: 178.6 kB / 395.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.375, allocations: 0.9669 MB / 396.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.3764, allocations: 1.133 MB / 397.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.3779, allocations: 1.303 MB / 398.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.3828, allocations: 4.429 MB / 403.1 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3828, allocations: 1.5 kB / 403.1 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3828, allocations: 3.938 kB / 403.1 MB, free: 100 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.858e-05/0.3829, allocations: 0 / 403.1 MB, free: 100 kB / 318.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.007905/0.3908, allocations: 3.266 MB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3909, allocations: 9.406 kB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006161/0.397, allocations: 1.654 MB / 408.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.4003, allocations: 1.572 MB / 409.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.4004, allocations: 132.6 kB / 409.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.4008, allocations: 169.9 kB / 409.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.4115, allocations: 6.601 MB / 416.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.941e-05/0.4116, allocations: 31.66 kB / 416.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.4119, allocations: 87.89 kB / 416.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002067/0.4139, allocations: 1.323 MB / 418 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.4248, allocations: 5.845 MB / 423.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03324/0.458, allocations: 27.96 MB / 451.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/0.4642, allocations: 2.782 MB / 454.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.4658, allocations: 1.312 MB / 455.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/0.4665, allocations: 0.6355 MB / 456.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4665, allocations: 55.06 kB / 456.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.587e-06/0.4665, allocations: 0 / 456.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07061/0.5372, allocations: 21.01 MB / 477.6 MB, free: 7.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.5373, allocations: 171.2 kB / 477.7 MB, free: 6.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/0.5414, allocations: 2.808 MB / 480.5 MB, free: 4.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003688/0.5418, allocations: 49.7 kB / 480.6 MB, free: 4.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.5431, allocations: 2.079 MB / 482.7 MB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007268/0.5439, allocations: 0.6286 MB / 483.3 MB, free: 1.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.5452, allocations: 0.9919 MB / 484.3 MB, free: 352 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.5453, allocations: 309.1 kB / 484.6 MB, free: 40 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.5484, allocations: 2.231 MB / 486.8 MB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/0.5531, allocations: 5.15 MB / 492 MB, free: 7.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009108/0.5622, allocations: 7.973 MB / 500 MB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/0.5623, allocations: 32 kB / 500 MB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0239/0.5862, allocations: 10.29 MB / 0.4983 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.5863, allocations: 52.06 kB / 0.4984 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/0.5865, allocations: 104 kB / 0.4985 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/0.5982, allocations: 3.431 MB / 0.5018 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.6021, allocations: 1.088 MB / 0.5029 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.6227, allocations: 12.85 MB / 0.5154 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/0.6272, allocations: 331.4 kB / 0.5157 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009045/0.6281, allocations: 303.9 kB / 0.516 GB, free: 1.109 MB / 446.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.002925/0.631, allocations: 1.465 MB / 0.5175 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006258/0.6317, allocations: 248.7 kB / 0.5177 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.6472, allocations: 6.001 MB / 0.5236 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.881e-05/0.6474, allocations: 31.98 kB / 0.5236 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/0.6474, allocations: 8 kB / 0.5236 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-05/0.6475, allocations: 3.984 kB / 0.5236 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/0.6764, allocations: 13.22 MB / 0.5365 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.6765, allocations: 4 kB / 0.5365 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.6777, allocations: 231.6 kB / 0.5367 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01242/0.6902, allocations: 4.016 MB / 0.5407 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004236/0.6906, allocations: 51.89 kB / 0.5407 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2594/0.95, allocations: 12.82 MB / 0.5532 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9501, allocations: 0 / 0.5532 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/0.9714, allocations: 10.08 MB / 0.5631 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.9721, allocations: 303.5 kB / 0.5634 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.9726, allocations: 35.66 kB / 0.5634 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.9742, allocations: 188.6 kB / 0.5636 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.9747, allocations: 107.7 kB / 0.5637 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.9748, allocations: 58.44 kB / 0.5637 GB, free: 146.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002568/0.9774, allocations: 1.746 MB / 0.5654 GB, free: 146.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9774, allocations: 0.6562 kB / 0.5654 GB, free: 146.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004153/0.9816, allocations: 0.8192 MB / 0.5662 GB, free: 146.2 MB / 478.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.0004463/0.982, allocations: 165.6 kB / 0.5664 GB, free: 146.1 MB / 478.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.009319/0.9914, allocations: 6.274 MB / 0.5725 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9914, allocations: 0 / 0.5725 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004466/0.9959, allocations: 2.895 MB / 0.5753 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.9979, allocations: 311.3 kB / 0.5756 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/1.007, allocations: 7.312 MB / 0.5828 GB, free: 138.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/1.009, allocations: 2.324 MB / 0.5851 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002834/1.012, allocations: 1.512 MB / 0.5865 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/1.013, allocations: 190.9 kB / 0.5867 GB, free: 136.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.21e-07/1.013, allocations: 0 / 0.5867 GB, free: 136.2 MB / 478.1 MB Notification: Performance of Templates: time 0.05373/1.066, allocations: 38.63 MB / 0.6244 GB, free: 98.24 MB / 478.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