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.00205/0.00205, allocations: 113.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003143/0.003142, allocations: 206.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.873/2.873, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7475, allocations: 50.55 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01582/0.7634, allocations: 7.004 MB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.7768, allocations: 3.162 MB / 420.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.7794, allocations: 31.94 kB / 420.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.7834, allocations: 0.8912 MB / 421 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008354/0.7918, allocations: 1.347 MB / 422.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.7944, allocations: 0.5147 MB / 422.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007774/0.8022, allocations: 2.758 MB / 425.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.8057, allocations: 1.322 MB / 427 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.809, allocations: 0.8563 MB / 427.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006255/0.8153, allocations: 2.139 MB / 430 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.8169, allocations: 176 kB / 430.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008005/0.8249, allocations: 0.9516 MB / 431.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.8277, allocations: 1.114 MB / 432.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.831, allocations: 1.293 MB / 433.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.8445, allocations: 4.377 MB / 437.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.8446, allocations: 0 / 437.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8446, allocations: 0 / 437.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001867/0.8448, allocations: 0 / 437.9 MB, free: 5.59 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.03041/0.8752, allocations: 3.367 MB / 441.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.011e-05/0.8753, allocations: 8.031 kB / 441.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.8903, allocations: 1.655 MB / 442.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/0.8979, allocations: 1.487 MB / 444.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.8982, allocations: 131.2 kB / 444.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.8994, allocations: 175.8 kB / 444.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.9184, allocations: 6.596 MB / 451.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002707/0.9188, allocations: 31.73 kB / 451.3 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.9201, allocations: 87.89 kB / 451.4 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.9235, allocations: 1.323 MB / 452.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.9409, allocations: 5.836 MB / 458.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0588/0.9997, allocations: 27.97 MB / 486.5 MB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.012, allocations: 2.788 MB / 489.3 MB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/1.016, allocations: 1.302 MB / 490.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/1.017, allocations: 0.6356 MB / 491.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.736e-05/1.017, allocations: 47.12 kB / 491.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 7.905e-06/1.018, allocations: 0 / 491.3 MB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.1554/1.173, allocations: 21 MB / 0.5003 GB, free: 9.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002281/1.173, allocations: 171.6 kB / 0.5005 GB, free: 9.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/1.181, allocations: 2.787 MB / 0.5032 GB, free: 6.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006708/1.182, allocations: 45.7 kB / 0.5032 GB, free: 6.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002995/1.185, allocations: 2.075 MB / 0.5052 GB, free: 4.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.186, allocations: 0.6325 MB / 0.5059 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003143/1.189, allocations: 0.9958 MB / 0.5068 GB, free: 2.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003057/1.19, allocations: 305.1 kB / 0.5071 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01488/1.205, allocations: 2.231 MB / 0.5093 GB, free: 15.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/1.217, allocations: 5.15 MB / 0.5143 GB, free: 9.273 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02518/1.242, allocations: 7.975 MB / 0.5221 GB, free: 15.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002031/1.243, allocations: 32 kB / 0.5222 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.05488/1.298, allocations: 10.28 MB / 0.5322 GB, free: 5.508 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000295/1.298, allocations: 48 kB / 0.5322 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003536/1.298, allocations: 107.9 kB / 0.5324 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02904/1.327, allocations: 3.431 MB / 0.5357 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006722/1.334, allocations: 1.103 MB / 0.5368 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6184/1.953, allocations: 12.82 MB / 0.5493 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01569/1.968, allocations: 335.5 kB / 0.5496 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.97, allocations: 310.7 kB / 0.5499 GB, free: 116.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.004165/1.974, allocations: 1.46 MB / 0.5513 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.975, allocations: 254 kB / 0.5516 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03065/2.006, allocations: 5.992 MB / 0.5574 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/2.006, allocations: 27.06 kB / 0.5575 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/2.006, allocations: 11.56 kB / 0.5575 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.434e-05/2.006, allocations: 10.36 kB / 0.5575 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05285/2.059, allocations: 13.21 MB / 0.5704 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004079/2.063, allocations: 4 kB / 0.5704 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/2.065, allocations: 236.3 kB / 0.5706 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02119/2.087, allocations: 4.006 MB / 0.5745 GB, free: 97.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006818/2.087, allocations: 47.95 kB / 0.5746 GB, free: 97.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/2.115, allocations: 12.83 MB / 0.5871 GB, free: 84.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/2.115, allocations: 0 / 0.5871 GB, free: 84.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02794/2.143, allocations: 10.08 MB / 0.5969 GB, free: 74.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/2.145, allocations: 313.9 kB / 0.5972 GB, free: 74.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006509/2.145, allocations: 31.98 kB / 0.5973 GB, free: 74.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/2.148, allocations: 195.7 kB / 0.5975 GB, free: 74.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006602/2.148, allocations: 104.8 kB / 0.5976 GB, free: 73.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/2.149, allocations: 59.48 kB / 0.5976 GB, free: 73.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003816/2.152, allocations: 1.73 MB / 0.5993 GB, free: 72.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.31e-07/2.152, allocations: 0 / 0.5993 GB, free: 72.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007971/2.16, allocations: 0.8073 MB / 0.6001 GB, free: 71.38 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.0007077/2.161, allocations: 168.9 kB / 0.6003 GB, free: 71.21 MB / 462.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.01704/2.178, allocations: 6.277 MB / 0.6064 GB, free: 64.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.178, allocations: 0 / 0.6064 GB, free: 64.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008682/2.187, allocations: 2.89 MB / 0.6092 GB, free: 61.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/2.191, allocations: 304.8 kB / 0.6095 GB, free: 61.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/2.211, allocations: 7.598 MB / 0.6169 GB, free: 53.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/2.215, allocations: 2.322 MB / 0.6192 GB, free: 51.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/2.216, allocations: 223.4 kB / 0.6194 GB, free: 51.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/2.216, allocations: 0 / 0.6194 GB, free: 51.31 MB / 462.1 MB Notification: Performance of Templates: time 0.9128/3.129, allocations: 129.5 MB / 0.7459 GB, free: 175.4 MB / 0.5138 GB 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