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.0007672/0.0007673, allocations: 93.27 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008537/0.0008538, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.000227, allocations: 8 kB / 308.4 MB, free: 0.7734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.0884, allocations: 51.52 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1747/0.2632, allocations: 13.35 MB / 373.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.2713, allocations: 4.353 MB / 377.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.2731, allocations: 52.19 kB / 377.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.2738, allocations: 269.5 kB / 377.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.277, allocations: 1.269 MB / 379.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2781, allocations: 489.3 kB / 379.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006508/0.2846, allocations: 4.826 MB / 384.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/0.2871, allocations: 1.649 MB / 386.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.2881, allocations: 0.651 MB / 386.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2896, allocations: 1.243 MB / 388 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.2899, allocations: 84.62 kB / 388.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.2915, allocations: 0.9305 MB / 389.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008427/0.2923, allocations: 1.041 MB / 390.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009083/0.2932, allocations: 1.219 MB / 391.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.296, allocations: 3.312 MB / 394.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.296, allocations: 0 / 394.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.296, allocations: 5.656 kB / 394.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.623e-05/0.2961, allocations: 0 / 394.6 MB, free: 2.293 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.007034/0.3031, allocations: 2.815 MB / 397.4 MB, free: 396 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3032, allocations: 8.375 kB / 397.5 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006245/0.3095, allocations: 1.705 MB / 399.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.3126, allocations: 1.467 MB / 400.6 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.3127, allocations: 131.4 kB / 400.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/0.3131, allocations: 173.6 kB / 400.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0095/0.3226, allocations: 6.607 MB / 407.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.3227, allocations: 39.66 kB / 407.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.3229, allocations: 82.02 kB / 407.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002026/0.325, allocations: 1.335 MB / 409 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009876/0.3349, allocations: 5.84 MB / 414.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.3643, allocations: 28.09 MB / 442.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.3703, allocations: 2.754 MB / 445.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3718, allocations: 1.272 MB / 446.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.3725, allocations: 0.6283 MB / 447.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3725, allocations: 51.11 kB / 447.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.837e-06/0.3726, allocations: 0 / 447.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.07007/0.4426, allocations: 20.58 MB / 468.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.4428, allocations: 157.4 kB / 468.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.4466, allocations: 2.82 MB / 471.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.4469, allocations: 45.7 kB / 471.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.4482, allocations: 2.111 MB / 473.3 MB, free: 4.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/0.4489, allocations: 0.5994 MB / 473.9 MB, free: 3.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005289/0.4495, allocations: 408.8 kB / 474.3 MB, free: 3.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.4496, allocations: 313.1 kB / 474.6 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.4527, allocations: 2.215 MB / 476.8 MB, free: 1.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/0.4579, allocations: 5.189 MB / 482 MB, free: 10.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009093/0.467, allocations: 7.995 MB / 490 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.458e-05/0.4671, allocations: 28 kB / 490.1 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02383/0.4909, allocations: 10.33 MB / 0.4887 GB, free: 6.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.4911, allocations: 60.28 kB / 0.4887 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.975e-05/0.4912, allocations: 107.9 kB / 0.4888 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/0.5035, allocations: 3.496 MB / 0.4922 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.507, allocations: 1.107 MB / 0.4933 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.5252, allocations: 12.05 MB / 0.5051 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.5292, allocations: 327.5 kB / 0.5054 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006663/0.5299, allocations: 308 kB / 0.5057 GB, free: 4.938 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.002479/0.5324, allocations: 1.479 MB / 0.5071 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/0.5329, allocations: 244.8 kB / 0.5074 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.5489, allocations: 6.027 MB / 0.5132 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/0.549, allocations: 16 kB / 0.5133 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/0.549, allocations: 8 kB / 0.5133 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/0.5491, allocations: 11.97 kB / 0.5133 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2064/0.7555, allocations: 13.2 MB / 0.5262 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.7556, allocations: 4.375 kB / 0.5262 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.7568, allocations: 228.7 kB / 0.5264 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01404/0.7709, allocations: 4.134 MB / 0.5304 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003746/0.7713, allocations: 52.38 kB / 0.5305 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.7897, allocations: 12.1 MB / 0.5423 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7898, allocations: 1.344 kB / 0.5423 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/0.8087, allocations: 9.941 MB / 0.552 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.8094, allocations: 313.9 kB / 0.5523 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.8098, allocations: 34.55 kB / 0.5523 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.8113, allocations: 185.3 kB / 0.5525 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.8117, allocations: 115.6 kB / 0.5526 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.8119, allocations: 48.66 kB / 0.5527 GB, free: 134.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002127/0.814, allocations: 1.751 MB / 0.5544 GB, free: 133.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.814, allocations: 0 / 0.5544 GB, free: 133.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003436/0.8175, allocations: 0.8206 MB / 0.5552 GB, free: 133.5 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.0004333/0.8179, allocations: 166.5 kB / 0.5553 GB, free: 133.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.008701/0.8266, allocations: 6.226 MB / 0.5614 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8266, allocations: 0 / 0.5614 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.831, allocations: 2.871 MB / 0.5642 GB, free: 126.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.8332, allocations: 275.2 kB / 0.5645 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.8436, allocations: 8.956 MB / 0.5732 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.8454, allocations: 2.313 MB / 0.5755 GB, free: 115.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/0.846, allocations: 231.4 kB / 0.5757 GB, free: 115 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.846, allocations: 0 / 0.5757 GB, free: 115 MB / 446.1 MB Notification: Performance of Templates: time 0.2919/1.138, allocations: 128.3 MB / 0.701 GB, free: 152.1 MB / 462.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