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.001143/0.001143, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001243/0.001243, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.45/1.45, 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.001879/0.001879, allocations: 51.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1434, allocations: 46.63 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2447/0.3882, allocations: 7.035 MB / 382.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.3944, allocations: 3.144 MB / 385.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009857/0.3955, allocations: 30.31 kB / 385.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.3974, allocations: 0.8945 MB / 386.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.4011, allocations: 1.369 MB / 387.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4023, allocations: 0.5289 MB / 388.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.4063, allocations: 2.726 MB / 390.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.4082, allocations: 1.33 MB / 392.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4098, allocations: 0.8617 MB / 393.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.4126, allocations: 2.019 MB / 395.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.4132, allocations: 179.2 kB / 395.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.4152, allocations: 0.97 MB / 396.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.4162, allocations: 1.132 MB / 397.4 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.4173, allocations: 1.31 MB / 398.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.4214, allocations: 4.436 MB / 403.1 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4215, allocations: 5.062 kB / 403.1 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4215, allocations: 0 / 403.1 MB, free: 100 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.981e-05/0.4216, allocations: 3.938 kB / 403.1 MB, free: 96 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.008613/0.4302, allocations: 3.344 MB / 406.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4302, allocations: 8.969 kB / 406.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006182/0.4364, allocations: 1.668 MB / 408.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/0.4401, allocations: 1.577 MB / 409.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.4402, allocations: 128.7 kB / 409.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/0.4406, allocations: 173.8 kB / 410 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.4514, allocations: 6.594 MB / 416.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.278e-05/0.4516, allocations: 39.69 kB / 416.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/0.4518, allocations: 83.89 kB / 416.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002164/0.454, allocations: 1.327 MB / 418.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4651, allocations: 5.843 MB / 423.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/0.5018, allocations: 28.01 MB / 451.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.508, allocations: 2.782 MB / 454.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5096, allocations: 1.302 MB / 456 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.5104, allocations: 0.6433 MB / 456.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5104, allocations: 47.11 kB / 456.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.797e-06/0.5104, allocations: 0 / 456.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07299/0.5834, allocations: 21.19 MB / 477.9 MB, free: 6.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.5835, allocations: 171.2 kB / 478 MB, free: 6.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.5874, allocations: 2.816 MB / 480.9 MB, free: 3.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003439/0.5878, allocations: 45.7 kB / 480.9 MB, free: 3.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.5892, allocations: 2.167 MB / 483.1 MB, free: 1.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/0.59, allocations: 0.6512 MB / 483.7 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.5914, allocations: 1.008 MB / 484.7 MB, free: 15.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5915, allocations: 305.1 kB / 485 MB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/0.5947, allocations: 2.231 MB / 487.3 MB, free: 13.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/0.6005, allocations: 5.154 MB / 492.4 MB, free: 6.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.6108, allocations: 7.972 MB / 0.4887 GB, free: 13.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.306e-05/0.6109, allocations: 28 kB / 0.4887 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02619/0.6371, allocations: 10.3 MB / 0.4987 GB, free: 3.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.6373, allocations: 55.91 kB / 0.4988 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.6374, allocations: 100 kB / 0.4989 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/0.6494, allocations: 3.431 MB / 0.5022 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/0.6536, allocations: 1.08 MB / 0.5033 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.6742, allocations: 12.85 MB / 0.5159 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/0.6791, allocations: 335.5 kB / 0.5162 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.6802, allocations: 312 kB / 0.5165 GB, free: 0.6914 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.003254/0.6834, allocations: 1.461 MB / 0.5179 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000807/0.6842, allocations: 258.3 kB / 0.5181 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.7002, allocations: 6.001 MB / 0.524 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.642e-05/0.7004, allocations: 24 kB / 0.524 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/0.7004, allocations: 20.27 kB / 0.524 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.7005, allocations: 3.984 kB / 0.5241 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/0.73, allocations: 13.23 MB / 0.537 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-05/0.7301, allocations: 7.938 kB / 0.537 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.7315, allocations: 235.6 kB / 0.5372 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/0.7439, allocations: 4.004 MB / 0.5411 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004473/0.7444, allocations: 51.94 kB / 0.5412 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2692/1.014, allocations: 12.82 MB / 0.5537 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.014, allocations: 3.375 kB / 0.5537 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.036, allocations: 10.11 MB / 0.5635 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.038, allocations: 316.9 kB / 0.5638 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005619/1.038, allocations: 34.45 kB / 0.5639 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.04, allocations: 184.3 kB / 0.5641 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005111/1.04, allocations: 116.1 kB / 0.5642 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.04, allocations: 53.97 kB / 0.5642 GB, free: 147 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00307/1.044, allocations: 1.747 MB / 0.5659 GB, free: 146.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.044, allocations: 0 / 0.5659 GB, free: 146.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005958/1.05, allocations: 0.8218 MB / 0.5667 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.0004884/1.05, allocations: 156.8 kB / 0.5669 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.01009/1.06, allocations: 6.281 MB / 0.573 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.06, allocations: 3.938 kB / 0.573 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004833/1.065, allocations: 2.891 MB / 0.5758 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.003424/1.068, allocations: 296.2 kB / 0.5761 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.083, allocations: 7.411 MB / 0.5834 GB, free: 138.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/1.086, allocations: 2.326 MB / 0.5856 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003007/1.089, allocations: 1.508 MB / 0.5871 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/1.09, allocations: 191 kB / 0.5873 GB, free: 135.9 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/1.09, allocations: 0 / 0.5873 GB, free: 135.9 MB / 478.1 MB Notification: Performance of Templates: time 0.06123/1.151, allocations: 38.65 MB / 0.625 GB, free: 97.67 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