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.001097/0.001097, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.28 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08317/0.08441, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007457/0.09189, allocations: 7.013 MB / 365.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.09708, allocations: 3.165 MB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.09768, allocations: 35.94 kB / 369.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.09942, allocations: 0.899 MB / 370 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.1019, allocations: 1.339 MB / 371.4 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.1028, allocations: 0.5186 MB / 371.9 MB, free: 316 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1682/0.271, allocations: 2.752 MB / 374.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.2732, allocations: 1.324 MB / 376 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.2749, allocations: 0.8577 MB / 376.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.278, allocations: 2.13 MB / 378.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007627/0.2788, allocations: 182.5 kB / 379.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.2809, allocations: 0.9571 MB / 380.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.2825, allocations: 1.109 MB / 381.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.2847, allocations: 1.296 MB / 382.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.2892, allocations: 4.377 MB / 386.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2892, allocations: 1.094 kB / 386.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2892, allocations: 0 / 386.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.368e-05/0.2893, allocations: 0 / 386.9 MB, free: 7.852 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.007801/0.2971, allocations: 3.352 MB / 390.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2972, allocations: 9.375 kB / 390.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.3025, allocations: 1.654 MB / 391.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.3058, allocations: 1.483 MB / 393.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.3058, allocations: 134.2 kB / 393.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.3062, allocations: 176.8 kB / 393.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/0.3138, allocations: 6.594 MB / 400.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.3139, allocations: 38.94 kB / 400.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.3142, allocations: 89.55 kB / 400.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.316, allocations: 1.325 MB / 401.7 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009252/0.3253, allocations: 5.837 MB / 407.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/0.3546, allocations: 27.96 MB / 435.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005576/0.3602, allocations: 2.782 MB / 438.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.3617, allocations: 1.314 MB / 439.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/0.3624, allocations: 0.63 MB / 440.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3624, allocations: 43.97 kB / 440.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.446e-06/0.3624, allocations: 0 / 440.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.06707/0.4295, allocations: 20.99 MB / 461.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4296, allocations: 175.2 kB / 461.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.4338, allocations: 2.789 MB / 464.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.4341, allocations: 49.7 kB / 464.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.4354, allocations: 2.069 MB / 466.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/0.4361, allocations: 0.6335 MB / 467 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.4374, allocations: 1.001 MB / 468 MB, free: 10.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.4375, allocations: 309.1 kB / 468.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.4404, allocations: 2.231 MB / 470.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/0.4449, allocations: 5.15 MB / 475.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008405/0.4533, allocations: 7.963 MB / 483.6 MB, free: 8.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-05/0.4534, allocations: 32 kB / 483.7 MB, free: 8.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02363/0.477, allocations: 10.29 MB / 493.9 MB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.4771, allocations: 48 kB / 494 MB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.4772, allocations: 104 kB / 494.1 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.4888, allocations: 3.426 MB / 497.5 MB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.4923, allocations: 1.088 MB / 498.6 MB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5114, allocations: 12.86 MB / 0.4995 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/0.516, allocations: 327.5 kB / 0.4998 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/0.5166, allocations: 308 kB / 0.5001 GB, free: 11.61 MB / 430.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.002563/0.5192, allocations: 1.469 MB / 0.5015 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005385/0.5198, allocations: 256.7 kB / 0.5018 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.5354, allocations: 5.994 MB / 0.5076 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.784e-05/0.5355, allocations: 28 kB / 0.5076 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.5355, allocations: 8 kB / 0.5077 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.5356, allocations: 11.97 kB / 0.5077 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03043/0.566, allocations: 13.21 MB / 0.5206 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.5661, allocations: 0 / 0.5206 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.5673, allocations: 239.6 kB / 0.5208 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/0.58, allocations: 4.008 MB / 0.5247 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004069/0.5805, allocations: 43.97 kB / 0.5247 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2239/0.8044, allocations: 12.82 MB / 0.5373 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.8045, allocations: 8.062 kB / 0.5373 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02824/0.8327, allocations: 10.08 MB / 0.5471 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.8336, allocations: 309.2 kB / 0.5474 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/0.834, allocations: 38.7 kB / 0.5474 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.8356, allocations: 183.5 kB / 0.5476 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/0.8361, allocations: 117.5 kB / 0.5477 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.8362, allocations: 51.61 kB / 0.5478 GB, free: 138.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002523/0.8388, allocations: 1.733 MB / 0.5495 GB, free: 137.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8388, allocations: 0 / 0.5495 GB, free: 137.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004062/0.8429, allocations: 0.8077 MB / 0.5503 GB, free: 137.5 MB / 446.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.0004151/0.8433, allocations: 163.2 kB / 0.5504 GB, free: 137.4 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.008283/0.8516, allocations: 6.275 MB / 0.5565 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.8516, allocations: 0 / 0.5565 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004091/0.8557, allocations: 2.894 MB / 0.5594 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.8576, allocations: 296.5 kB / 0.5597 GB, free: 132.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009141/0.8667, allocations: 7.295 MB / 0.5668 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.8684, allocations: 2.312 MB / 0.569 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00266/0.8711, allocations: 1.511 MB / 0.5705 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.8716, allocations: 195.4 kB / 0.5707 GB, free: 121.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8716, allocations: 0 / 0.5707 GB, free: 121.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04753/0.9191, allocations: 36.85 MB / 0.6067 GB, free: 85.07 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 -s gbode -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