Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009684/0.0009687, allocations: 96.56 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 205.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 8 kB / 307.7 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1194, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2053/0.3248, allocations: 13.35 MB / 372.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.3329, allocations: 4.351 MB / 376.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.3344, allocations: 59.69 kB / 377 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.3351, allocations: 268 kB / 377.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.3379, allocations: 1.262 MB / 378.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.3389, allocations: 495.3 kB / 379 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005471/0.3443, allocations: 4.828 MB / 383.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.3468, allocations: 1.645 MB / 385.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.3479, allocations: 0.6515 MB / 386.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.3495, allocations: 1.242 MB / 387.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.3497, allocations: 85.25 kB / 387.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.3515, allocations: 0.9288 MB / 388.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009627/0.3524, allocations: 1.039 MB / 389.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009392/0.3534, allocations: 1.216 MB / 390.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.3571, allocations: 4.079 MB / 394.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3571, allocations: 4 kB / 394.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3571, allocations: 0 / 394.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.386e-05/0.3572, allocations: 0 / 394.7 MB, free: 1.738 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.006732/0.3639, allocations: 2.821 MB / 397.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3639, allocations: 9.594 kB / 397.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/0.3703, allocations: 1.699 MB / 399.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.3741, allocations: 1.475 MB / 400.7 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.3742, allocations: 128.8 kB / 400.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.3746, allocations: 170.6 kB / 401 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009843/0.3845, allocations: 6.607 MB / 407.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.3846, allocations: 31.66 kB / 407.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.3849, allocations: 91.27 kB / 407.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/0.3868, allocations: 1.32 MB / 409.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009384/0.3962, allocations: 5.853 MB / 414.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.4271, allocations: 28.1 MB / 443 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005907/0.4331, allocations: 2.744 MB / 445.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4346, allocations: 1.274 MB / 447 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.4352, allocations: 0.6327 MB / 447.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4353, allocations: 43.12 kB / 447.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.536e-06/0.4353, allocations: 0 / 447.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.07171/0.507, allocations: 20.59 MB / 468.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.5071, allocations: 141.5 kB / 468.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.511, allocations: 2.82 MB / 471.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003216/0.5113, allocations: 49.7 kB / 471.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.5127, allocations: 2.104 MB / 473.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007534/0.5134, allocations: 0.6018 MB / 474 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/0.514, allocations: 424.7 kB / 474.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.5141, allocations: 301.1 kB / 474.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.5171, allocations: 2.219 MB / 477 MB, free: 264 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0052/0.5223, allocations: 5.189 MB / 482.1 MB, free: 9.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00968/0.532, allocations: 7.991 MB / 490.1 MB, free: 136 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-05/0.5321, allocations: 28 kB / 490.2 MB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02617/0.5583, allocations: 10.33 MB / 0.4888 GB, free: 5.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.5585, allocations: 48 kB / 0.4888 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.5587, allocations: 108 kB / 0.4889 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/0.5716, allocations: 3.504 MB / 0.4923 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/0.5756, allocations: 1.103 MB / 0.4934 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.5957, allocations: 12.04 MB / 0.5052 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/0.6003, allocations: 339.5 kB / 0.5055 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.6015, allocations: 307.2 kB / 0.5058 GB, free: 4.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (585): * Single equations (assignments): 575 * Array equations: 3 * 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.004324/0.6059, allocations: 1.47 MB / 0.5072 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.6067, allocations: 248.8 kB / 0.5075 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.6241, allocations: 6.029 MB / 0.5133 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-05/0.6242, allocations: 24.27 kB / 0.5134 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.624e-05/0.6243, allocations: 8 kB / 0.5134 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.143e-05/0.6243, allocations: 3.984 kB / 0.5134 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2362/0.8605, allocations: 13.2 MB / 0.5263 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.8605, allocations: 1.406 kB / 0.5263 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.8621, allocations: 236.9 kB / 0.5265 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01468/0.8768, allocations: 4.135 MB / 0.5305 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003972/0.8773, allocations: 44.59 kB / 0.5306 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.8965, allocations: 12.1 MB / 0.5424 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8965, allocations: 0 / 0.5424 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.9161, allocations: 9.943 MB / 0.5521 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006624/0.9168, allocations: 306.3 kB / 0.5524 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/0.9174, allocations: 39.92 kB / 0.5524 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.9192, allocations: 186.2 kB / 0.5526 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.9196, allocations: 111.9 kB / 0.5527 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.9198, allocations: 50.11 kB / 0.5528 GB, free: 134.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002144/0.9219, allocations: 1.75 MB / 0.5545 GB, free: 133.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9219, allocations: 0 / 0.5545 GB, free: 133.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003391/0.9253, allocations: 0.8175 MB / 0.5553 GB, free: 133.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * 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.000399/0.9258, allocations: 166.1 kB / 0.5554 GB, free: 133.4 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.9341, allocations: 6.226 MB / 0.5615 GB, free: 128.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9341, allocations: 3.594 kB / 0.5615 GB, free: 128.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004291/0.9384, allocations: 2.86 MB / 0.5643 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.9406, allocations: 287.2 kB / 0.5646 GB, free: 125.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.9507, allocations: 8.653 MB / 0.573 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.9527, allocations: 2.311 MB / 0.5753 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.9556, allocations: 1.523 MB / 0.5768 GB, free: 113.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.956, allocations: 191.4 kB / 0.577 GB, free: 113 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.956, allocations: 0 / 0.577 GB, free: 113 MB / 446.1 MB Notification: Performance of Templates: time 0.04902/1.005, allocations: 39.1 MB / 0.6151 GB, free: 74.03 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches