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.00157/0.00157, allocations: 111.9 kB / 18.4 MB, free: 4.699 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.001797/0.001797, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.398/1.398, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00116/0.00116, allocations: 56.39 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09752, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2168/0.3143, allocations: 7.037 MB / 382.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.3201, allocations: 3.147 MB / 386 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.3209, allocations: 30.84 kB / 386 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3227, allocations: 0.8913 MB / 386.9 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.3259, allocations: 1.369 MB / 388.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.327, allocations: 0.5246 MB / 388.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.3306, allocations: 2.731 MB / 391.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.3321, allocations: 1.333 MB / 392.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3333, allocations: 0.8659 MB / 393.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.3359, allocations: 2.024 MB / 395.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.3363, allocations: 178 kB / 395.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.3382, allocations: 0.9708 MB / 396.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.3393, allocations: 1.128 MB / 398 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.3405, allocations: 1.313 MB / 399.4 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005836/0.3463, allocations: 4.42 MB / 403.8 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3464, allocations: 1.5 kB / 403.8 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.3464, allocations: 0 / 403.8 MB, free: 124 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.95e-05/0.3465, allocations: 0 / 403.8 MB, free: 124 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.007844/0.3543, allocations: 3.266 MB / 407 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3544, allocations: 12.47 kB / 407.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.3605, allocations: 1.656 MB / 408.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3635, allocations: 1.575 MB / 410.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.3637, allocations: 128.3 kB / 410.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/0.364, allocations: 171.4 kB / 410.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.3742, allocations: 6.598 MB / 417.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/0.3743, allocations: 35.75 kB / 417.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.3746, allocations: 79.91 kB / 417.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00219/0.3768, allocations: 1.323 MB / 418.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.3879, allocations: 5.851 MB / 424.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03803/0.4259, allocations: 27.96 MB / 452.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.4328, allocations: 2.786 MB / 455.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.4347, allocations: 1.311 MB / 456.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007666/0.4355, allocations: 0.6394 MB / 457.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.4355, allocations: 43.12 kB / 457.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.939e-06/0.4355, allocations: 0 / 457.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07691/0.5124, allocations: 21.01 MB / 478.2 MB, free: 7.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.5126, allocations: 175.2 kB / 478.4 MB, free: 7.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006231/0.5188, allocations: 2.804 MB / 481.2 MB, free: 4.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005221/0.5194, allocations: 45.7 kB / 481.2 MB, free: 4.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002502/0.5219, allocations: 2.079 MB / 483.3 MB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.5233, allocations: 0.6285 MB / 483.9 MB, free: 1.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003457/0.5267, allocations: 1.003 MB / 485 MB, free: 380 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5269, allocations: 305.1 kB / 485.2 MB, free: 72 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005071/0.532, allocations: 2.235 MB / 487.5 MB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007977/0.54, allocations: 5.15 MB / 492.6 MB, free: 7.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/0.5544, allocations: 7.969 MB / 0.4889 GB, free: 13.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/0.5547, allocations: 28 kB / 0.4889 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.03188/0.5866, allocations: 10.29 MB / 0.4989 GB, free: 3.453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.5868, allocations: 55.91 kB / 0.499 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/0.587, allocations: 100 kB / 0.4991 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01704/0.6041, allocations: 3.431 MB / 0.5024 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/0.6087, allocations: 1.084 MB / 0.5035 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.6295, allocations: 12.85 MB / 0.5161 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/0.6343, allocations: 335.4 kB / 0.5164 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.6355, allocations: 312 kB / 0.5167 GB, free: 1.137 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.003778/0.6393, allocations: 1.454 MB / 0.5181 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/0.6401, allocations: 248.8 kB / 0.5183 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/0.657, allocations: 6.005 MB / 0.5242 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.089e-05/0.6571, allocations: 31.97 kB / 0.5242 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.6572, allocations: 12 kB / 0.5242 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/0.6572, allocations: 7.984 kB / 0.5242 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03211/0.6893, allocations: 13.22 MB / 0.5371 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.6894, allocations: 7.984 kB / 0.5372 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.6907, allocations: 227.6 kB / 0.5374 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/0.704, allocations: 4.008 MB / 0.5413 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/0.7044, allocations: 48.05 kB / 0.5413 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2303/0.9348, allocations: 12.82 MB / 0.5539 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9348, allocations: 1.812 kB / 0.5539 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/0.9573, allocations: 10.09 MB / 0.5637 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007369/0.9581, allocations: 299.5 kB / 0.564 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.9586, allocations: 35.98 kB / 0.564 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.9602, allocations: 186.8 kB / 0.5642 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/0.9607, allocations: 109.7 kB / 0.5643 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.9608, allocations: 54.89 kB / 0.5644 GB, free: 146.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002548/0.9634, allocations: 1.75 MB / 0.5661 GB, free: 146.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9634, allocations: 0 / 0.5661 GB, free: 146.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004521/0.9679, allocations: 0.8225 MB / 0.5669 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.000499/0.9684, allocations: 165.5 kB / 0.567 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.009411/0.9778, allocations: 6.273 MB / 0.5732 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.9779, allocations: 3.969 kB / 0.5732 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004426/0.9823, allocations: 2.9 MB / 0.576 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.002123/0.9844, allocations: 291.7 kB / 0.5763 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.9963, allocations: 7.625 MB / 0.5837 GB, free: 138.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.9982, allocations: 2.324 MB / 0.586 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.9988, allocations: 226.8 kB / 0.5862 GB, free: 136.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.683e-06/0.9989, allocations: 0 / 0.5862 GB, free: 136.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1036/1.102, allocations: 129.5 MB / 0.7127 GB, free: 8.277 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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