Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001238/0.001243, allocations: 115.5 kB / 17.07 MB, free: 6 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.001281/0.001281, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 51.92 kB / 351.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2808, allocations: 49.42 MB / 400.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008177/0.2891, allocations: 7.052 MB / 407.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.2954, allocations: 3.13 MB / 410.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.2965, allocations: 31.94 kB / 410.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.2988, allocations: 0.9028 MB / 411.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.3028, allocations: 1.397 MB / 413.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3042, allocations: 0.5186 MB / 413.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.3079, allocations: 2.726 MB / 416.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.31, allocations: 1.318 MB / 417.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.3115, allocations: 0.868 MB / 418.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.3142, allocations: 2.022 MB / 420.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006228/0.3148, allocations: 176 kB / 420.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.3168, allocations: 0.979 MB / 421.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.3182, allocations: 1.126 MB / 423 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.3203, allocations: 1.309 MB / 424.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.3256, allocations: 4.423 MB / 428.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3257, allocations: 0 / 428.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3257, allocations: 0 / 428.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.3259, allocations: 0 / 428.7 MB, free: 12.91 MB / 350.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.008415/0.3343, allocations: 3.268 MB / 432 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3343, allocations: 12.02 kB / 432 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/0.3401, allocations: 1.651 MB / 433.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.3434, allocations: 1.526 MB / 435.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3435, allocations: 119.2 kB / 435.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005879/0.3441, allocations: 175.9 kB / 435.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.3548, allocations: 6.596 MB / 442 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.3549, allocations: 35.73 kB / 442.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000491/0.3554, allocations: 87.89 kB / 442.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.3574, allocations: 1.319 MB / 443.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.3682, allocations: 5.84 MB / 449.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.4, allocations: 27.97 MB / 477.3 MB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/0.4063, allocations: 2.794 MB / 480.1 MB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.408, allocations: 1.302 MB / 481.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/0.4088, allocations: 0.6317 MB / 482 MB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.4089, allocations: 51.06 kB / 482.1 MB, free: 5.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 4.649e-06/0.4089, allocations: 0 / 482.1 MB, free: 5.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07245/0.4813, allocations: 21 MB / 0.4913 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.4815, allocations: 171.2 kB / 0.4914 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/0.4869, allocations: 2.792 MB / 0.4942 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000473/0.4874, allocations: 49.7 kB / 0.4942 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.4891, allocations: 2.079 MB / 0.4962 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008943/0.49, allocations: 0.6247 MB / 0.4968 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/0.4922, allocations: 0.9996 MB / 0.4978 GB, free: 9.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.4923, allocations: 309 kB / 0.4981 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/0.4958, allocations: 2.231 MB / 0.5003 GB, free: 7.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005825/0.5016, allocations: 5.15 MB / 0.5053 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/0.5111, allocations: 7.971 MB / 0.5131 GB, free: 7.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.531e-05/0.5112, allocations: 31.94 kB / 0.5131 GB, free: 7.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02358/0.5348, allocations: 10.3 MB / 0.5232 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.535, allocations: 52.06 kB / 0.5232 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.5352, allocations: 107.9 kB / 0.5233 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.5471, allocations: 3.431 MB / 0.5267 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/0.5513, allocations: 1.088 MB / 0.5278 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2653/0.8166, allocations: 12.84 MB / 0.5403 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/0.8204, allocations: 334.5 kB / 0.5406 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.8208, allocations: 306.7 kB / 0.5409 GB, free: 125.5 MB / 462.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.001823/0.8226, allocations: 1.468 MB / 0.5423 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.823, allocations: 251.3 kB / 0.5426 GB, free: 124.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.8366, allocations: 5.996 MB / 0.5484 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/0.8367, allocations: 30.72 kB / 0.5485 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.8367, allocations: 11.41 kB / 0.5485 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8367, allocations: 7.359 kB / 0.5485 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/0.8611, allocations: 13.23 MB / 0.5614 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/0.8612, allocations: 0 / 0.5614 GB, free: 115.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8623, allocations: 235.6 kB / 0.5616 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0108/0.8731, allocations: 4.008 MB / 0.5655 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/0.8734, allocations: 43.97 kB / 0.5656 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.888, allocations: 12.83 MB / 0.5781 GB, free: 97.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.888, allocations: 0 / 0.5781 GB, free: 97.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/0.9049, allocations: 10.08 MB / 0.5879 GB, free: 88.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/0.9055, allocations: 307 kB / 0.5882 GB, free: 87.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.9058, allocations: 39.12 kB / 0.5883 GB, free: 87.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.9073, allocations: 191.5 kB / 0.5885 GB, free: 87.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.9077, allocations: 100.8 kB / 0.5886 GB, free: 87.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9078, allocations: 59.95 kB / 0.5886 GB, free: 87.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.9097, allocations: 1.73 MB / 0.5903 GB, free: 85.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9098, allocations: 3.938 kB / 0.5903 GB, free: 85.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003395/0.9132, allocations: 0.8262 MB / 0.5911 GB, free: 84.79 MB / 462.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.0003641/0.9135, allocations: 169.9 kB / 0.5913 GB, free: 84.62 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.008301/0.9218, allocations: 6.274 MB / 0.5974 GB, free: 78.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.9219, allocations: 0 / 0.5974 GB, free: 78.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004087/0.926, allocations: 2.896 MB / 0.6002 GB, free: 75.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.9279, allocations: 311.9 kB / 0.6005 GB, free: 74.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009123/0.937, allocations: 7.29 MB / 0.6076 GB, free: 67.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.9387, allocations: 2.321 MB / 0.6099 GB, free: 65.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002558/0.9413, allocations: 1.507 MB / 0.6114 GB, free: 63.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.9417, allocations: 187.4 kB / 0.6116 GB, free: 63.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.9417, allocations: 0 / 0.6116 GB, free: 63.55 MB / 462.1 MB Notification: Performance of Templates: time 0.05027/0.992, allocations: 38.61 MB / 0.6493 GB, free: 25.1 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches