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.0008446/0.0008445, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009787/0.000979, allocations: 204.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 8 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08909, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1779/0.267, allocations: 13.34 MB / 373.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008412/0.2755, allocations: 4.345 MB / 377.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.2779, allocations: 58.34 kB / 377.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.2789, allocations: 269.5 kB / 377.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.2824, allocations: 1.269 MB / 379.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2835, allocations: 487.8 kB / 379.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006102/0.2897, allocations: 4.832 MB / 384.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.2926, allocations: 1.648 MB / 386.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.2941, allocations: 0.6522 MB / 386.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.296, allocations: 1.239 MB / 388 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.2966, allocations: 83.84 kB / 388.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2986, allocations: 0.9276 MB / 389.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.2998, allocations: 1.045 MB / 390.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3017, allocations: 1.212 MB / 391.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.3053, allocations: 3.321 MB / 394.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3053, allocations: 0.9688 kB / 394.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3053, allocations: 0 / 394.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001629/0.3055, allocations: 0 / 394.6 MB, free: 2.293 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.008699/0.3142, allocations: 2.818 MB / 397.5 MB, free: 396 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3142, allocations: 7.812 kB / 397.5 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006479/0.3207, allocations: 1.698 MB / 399.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.3242, allocations: 1.478 MB / 400.6 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3243, allocations: 123.8 kB / 400.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007061/0.325, allocations: 176.9 kB / 400.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.3371, allocations: 6.602 MB / 407.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.3373, allocations: 31.66 kB / 407.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007335/0.3381, allocations: 90.17 kB / 407.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.3403, allocations: 1.327 MB / 409 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.3515, allocations: 5.857 MB / 414.8 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/0.3835, allocations: 28.09 MB / 442.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006132/0.3897, allocations: 2.75 MB / 445.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.3914, allocations: 1.278 MB / 447 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.3921, allocations: 0.6282 MB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3922, allocations: 43.12 kB / 447.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 4.088e-06/0.3922, allocations: 0 / 447.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.07399/0.4662, allocations: 20.58 MB / 468.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.4663, allocations: 145.5 kB / 468.3 MB, free: 9.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/0.4709, allocations: 2.824 MB / 471.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.4713, allocations: 52.75 kB / 471.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.4728, allocations: 2.102 MB / 473.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/0.4737, allocations: 0.6033 MB / 473.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000869/0.4746, allocations: 420.7 kB / 474.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.4747, allocations: 301.1 kB / 474.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.4782, allocations: 2.219 MB / 476.8 MB, free: 1.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005479/0.4837, allocations: 5.189 MB / 482 MB, free: 10.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009338/0.4931, allocations: 7.991 MB / 490 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.4932, allocations: 28 kB / 490.1 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02527/0.5185, allocations: 10.34 MB / 0.4887 GB, free: 6.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5187, allocations: 48 kB / 0.4887 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/0.5189, allocations: 104 kB / 0.4888 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/0.5318, allocations: 3.501 MB / 0.4922 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.5358, allocations: 1.111 MB / 0.4933 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.5561, allocations: 12.03 MB / 0.5051 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/0.5604, allocations: 335.5 kB / 0.5054 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009756/0.5614, allocations: 314 kB / 0.5057 GB, free: 4.945 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.003561/0.565, allocations: 1.469 MB / 0.5071 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007378/0.5657, allocations: 248.8 kB / 0.5074 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.583, allocations: 6.035 MB / 0.5133 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/0.5831, allocations: 20 kB / 0.5133 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.5831, allocations: 8.125 kB / 0.5133 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/0.5832, allocations: 3.984 kB / 0.5133 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/0.7984, allocations: 13.21 MB / 0.5262 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.7985, allocations: 2 kB / 0.5262 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.7998, allocations: 235.2 kB / 0.5264 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01443/0.8142, allocations: 4.131 MB / 0.5304 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/0.8147, allocations: 44.44 kB / 0.5305 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.8338, allocations: 12.1 MB / 0.5423 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8338, allocations: 1.812 kB / 0.5423 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/0.8535, allocations: 9.949 MB / 0.552 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/0.8543, allocations: 304.1 kB / 0.5523 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008168/0.8551, allocations: 38.38 kB / 0.5523 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.8571, allocations: 186.7 kB / 0.5525 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/0.8576, allocations: 108.8 kB / 0.5526 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.8578, allocations: 52.66 kB / 0.5527 GB, free: 134.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002488/0.8603, allocations: 1.755 MB / 0.5544 GB, free: 133.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8603, allocations: 0 / 0.5544 GB, free: 133.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004285/0.8646, allocations: 0.8132 MB / 0.5552 GB, free: 133.4 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.000475/0.8651, allocations: 168.4 kB / 0.5553 GB, free: 133.3 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.009123/0.8742, allocations: 6.227 MB / 0.5614 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8742, allocations: 4 kB / 0.5614 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004954/0.8792, allocations: 2.866 MB / 0.5642 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.8829, allocations: 280.5 kB / 0.5645 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.8947, allocations: 8.955 MB / 0.5732 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.8966, allocations: 2.321 MB / 0.5755 GB, free: 115.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.8973, allocations: 223.4 kB / 0.5757 GB, free: 115 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8973, allocations: 0 / 0.5757 GB, free: 115 MB / 446.1 MB Notification: Performance of Templates: time 0.2955/1.193, allocations: 128.3 MB / 0.701 GB, free: 153.2 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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