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.001063/0.001063, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 73.78 kB / 306.9 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09556, allocations: 50.52 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01389/0.1095, allocations: 13.93 MB / 371.4 MB, free: 284 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1676/0.2772, allocations: 4.411 MB / 375.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.2795, allocations: 53.94 kB / 375.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.2817, allocations: 0.8703 MB / 376.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.2851, allocations: 1.255 MB / 378 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2863, allocations: 498.1 kB / 378.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00624/0.2925, allocations: 4.823 MB / 383.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.2947, allocations: 1.265 MB / 384.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.2961, allocations: 0.6964 MB / 385.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2981, allocations: 1.303 MB / 386.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006026/0.2988, allocations: 105.6 kB / 386.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.3008, allocations: 0.948 MB / 387.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.3022, allocations: 1.07 MB / 388.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.3043, allocations: 1.226 MB / 389.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.3077, allocations: 3.387 MB / 393.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3077, allocations: 1.375 kB / 393.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3078, allocations: 0 / 393.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3079, allocations: 0 / 393.3 MB, free: 2.156 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.009207/0.3171, allocations: 3.355 MB / 396.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3172, allocations: 9.5 kB / 396.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005878/0.3231, allocations: 1.654 MB / 398.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.3261, allocations: 1.476 MB / 399.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-05/0.3262, allocations: 128.9 kB / 399.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.3266, allocations: 167.8 kB / 400 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.3371, allocations: 6.602 MB / 406.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.3373, allocations: 31.66 kB / 406.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.3377, allocations: 83.91 kB / 406.8 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001952/0.3396, allocations: 1.329 MB / 408.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3511, allocations: 5.841 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/0.3868, allocations: 28.07 MB / 442 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005996/0.3929, allocations: 2.737 MB / 444.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3944, allocations: 1.274 MB / 446 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.3951, allocations: 0.631 MB / 446.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3952, allocations: 47.06 kB / 446.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 4.147e-06/0.3952, allocations: 0 / 446.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.07163/0.4668, allocations: 20.54 MB / 467.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.467, allocations: 145.5 kB / 467.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.4717, allocations: 2.824 MB / 470.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.4721, allocations: 45.7 kB / 470.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.4736, allocations: 2.105 MB / 472.3 MB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008338/0.4745, allocations: 0.6024 MB / 473 MB, free: 3.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/0.4766, allocations: 1.008 MB / 474 MB, free: 2.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.4767, allocations: 305.1 kB / 474.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/0.4801, allocations: 2.219 MB / 476.5 MB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/0.4858, allocations: 5.181 MB / 481.7 MB, free: 9.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009176/0.495, allocations: 8.003 MB / 489.7 MB, free: 56 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.502e-05/0.4951, allocations: 28 kB / 489.7 MB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02422/0.5193, allocations: 10.3 MB / 500 MB, free: 5.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.5195, allocations: 52 kB / 0.4883 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/0.5197, allocations: 104 kB / 0.4884 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/0.5316, allocations: 3.434 MB / 0.4918 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/0.5353, allocations: 1.107 MB / 0.4929 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/0.5537, allocations: 11.99 MB / 0.5046 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/0.5577, allocations: 329.6 kB / 0.5049 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009041/0.5586, allocations: 308 kB / 0.5052 GB, free: 4.227 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.002995/0.5616, allocations: 1.473 MB / 0.5066 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/0.5623, allocations: 245.1 kB / 0.5069 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.5781, allocations: 6.003 MB / 0.5127 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/0.5782, allocations: 20 kB / 0.5127 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/0.5782, allocations: 15.94 kB / 0.5127 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.5782, allocations: 7.969 kB / 0.5128 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2003/0.7786, allocations: 13.17 MB / 0.5256 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.7786, allocations: 4.5 kB / 0.5256 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7799, allocations: 229.9 kB / 0.5258 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/0.7936, allocations: 4.013 MB / 0.5298 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003708/0.794, allocations: 49.03 kB / 0.5298 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.8116, allocations: 12.01 MB / 0.5415 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8117, allocations: 1.25 kB / 0.5415 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.8304, allocations: 9.894 MB / 0.5512 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.8311, allocations: 307.9 kB / 0.5515 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006976/0.8318, allocations: 40.61 kB / 0.5515 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.8337, allocations: 186.6 kB / 0.5517 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.8341, allocations: 108.1 kB / 0.5518 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.8344, allocations: 54.39 kB / 0.5519 GB, free: 135 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003015/0.8374, allocations: 1.748 MB / 0.5536 GB, free: 134.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8374, allocations: 0 / 0.5536 GB, free: 134.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004372/0.8418, allocations: 0.8166 MB / 0.5544 GB, free: 134.3 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.0005127/0.8423, allocations: 170.9 kB / 0.5545 GB, free: 134.2 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.008857/0.8512, allocations: 6.229 MB / 0.5606 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8512, allocations: 0 / 0.5606 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.8557, allocations: 2.864 MB / 0.5634 GB, free: 127.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.8588, allocations: 290.1 kB / 0.5637 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.8712, allocations: 8.814 MB / 0.5723 GB, free: 118.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.8738, allocations: 2.317 MB / 0.5746 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.8746, allocations: 223.4 kB / 0.5748 GB, free: 115.6 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.8746, allocations: 0 / 0.5748 GB, free: 115.6 MB / 446.1 MB Notification: Performance of Templates: time 0.271/1.146, allocations: 128.8 MB / 0.7005 GB, free: 138.3 MB / 446.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