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.001482/0.001482, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 60.47 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09814, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008002/0.1062, allocations: 7.017 MB / 365.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.1129, allocations: 3.162 MB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.1139, allocations: 31.94 kB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.1161, allocations: 0.9028 MB / 370 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.1194, allocations: 1.347 MB / 371.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1205, allocations: 0.5147 MB / 371.9 MB, free: 312 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1877/0.3082, allocations: 2.749 MB / 374.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.3101, allocations: 1.33 MB / 375.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.3115, allocations: 0.8475 MB / 376.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.3142, allocations: 2.134 MB / 378.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006082/0.3148, allocations: 179.1 kB / 379.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.3169, allocations: 0.952 MB / 380.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3182, allocations: 1.114 MB / 381.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001491/0.3198, allocations: 1.291 MB / 382.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.3243, allocations: 4.383 MB / 386.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3244, allocations: 2.906 kB / 386.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3244, allocations: 4.219 kB / 386.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.199e-05/0.3245, allocations: 0 / 386.9 MB, free: 7.57 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.008096/0.3326, allocations: 3.352 MB / 390.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3326, allocations: 9.781 kB / 390.2 MB, free: 5.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005479/0.3381, allocations: 1.648 MB / 391.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.341, allocations: 1.488 MB / 393.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.3411, allocations: 129.5 kB / 393.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.3415, allocations: 173.8 kB / 393.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/0.3492, allocations: 6.598 MB / 400.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/0.3493, allocations: 33.34 kB / 400.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.3495, allocations: 89.62 kB / 400.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001805/0.3513, allocations: 1.324 MB / 401.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009702/0.3611, allocations: 5.847 MB / 407.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/0.3961, allocations: 27.96 MB / 435.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/0.4021, allocations: 2.791 MB / 438.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.4037, allocations: 1.302 MB / 439.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/0.4044, allocations: 0.6308 MB / 440.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.4045, allocations: 56.83 kB / 440.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 4.198e-06/0.4045, allocations: 0 / 440.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.06905/0.4736, allocations: 20.98 MB / 461.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.4737, allocations: 171.2 kB / 461.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.4782, allocations: 2.783 MB / 464.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.4787, allocations: 49.7 kB / 464.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.4801, allocations: 2.076 MB / 466.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.4808, allocations: 0.631 MB / 467 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.4822, allocations: 0.998 MB / 468 MB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.4823, allocations: 309.5 kB / 468.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.4853, allocations: 2.227 MB / 470.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/0.49, allocations: 5.158 MB / 475.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009141/0.4992, allocations: 7.96 MB / 483.6 MB, free: 8.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.492e-05/0.4993, allocations: 32 kB / 483.6 MB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02575/0.5251, allocations: 10.3 MB / 493.9 MB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.5252, allocations: 48.94 kB / 494 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.5253, allocations: 104 kB / 494.1 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.5374, allocations: 3.419 MB / 497.5 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/0.5413, allocations: 1.096 MB / 498.6 MB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.561, allocations: 12.85 MB / 0.4995 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/0.5652, allocations: 323.5 kB / 0.4998 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008927/0.5661, allocations: 310.2 kB / 0.5001 GB, free: 11.45 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.002746/0.5689, allocations: 1.465 MB / 0.5015 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/0.5696, allocations: 248.7 kB / 0.5017 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/0.5853, allocations: 5.998 MB / 0.5076 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.734e-05/0.5855, allocations: 28 kB / 0.5076 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/0.5855, allocations: 11.94 kB / 0.5076 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-05/0.5856, allocations: 11.97 kB / 0.5076 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/0.6163, allocations: 13.2 MB / 0.5205 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/0.6163, allocations: 3.984 kB / 0.5205 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6176, allocations: 231.7 kB / 0.5208 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01244/0.6301, allocations: 4.018 MB / 0.5247 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000386/0.6305, allocations: 43.95 kB / 0.5247 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2324/0.8629, allocations: 12.81 MB / 0.5372 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.863, allocations: 1.75 kB / 0.5372 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0224/0.8854, allocations: 10.08 MB / 0.5471 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009786/0.8864, allocations: 303.6 kB / 0.5474 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004635/0.8869, allocations: 40.52 kB / 0.5474 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/0.8885, allocations: 187.8 kB / 0.5476 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.8889, allocations: 114.3 kB / 0.5477 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.8891, allocations: 57.95 kB / 0.5478 GB, free: 137.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.8915, allocations: 1.724 MB / 0.5494 GB, free: 137.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8915, allocations: 0 / 0.5494 GB, free: 137.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004169/0.8956, allocations: 0.8137 MB / 0.5502 GB, free: 137.1 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.0004854/0.8961, allocations: 167.2 kB / 0.5504 GB, free: 137 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.009203/0.9054, allocations: 6.27 MB / 0.5565 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9054, allocations: 0 / 0.5565 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.9101, allocations: 2.906 MB / 0.5594 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.9123, allocations: 294.9 kB / 0.5596 GB, free: 132 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.9244, allocations: 7.294 MB / 0.5668 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/0.9273, allocations: 2.316 MB / 0.569 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004658/0.932, allocations: 1.507 MB / 0.5705 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/0.9328, allocations: 199.4 kB / 0.5707 GB, free: 121.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.9328, allocations: 0 / 0.5707 GB, free: 121.4 MB / 446.1 MB Notification: Performance of Templates: time 0.09977/1.033, allocations: 36.85 MB / 0.6067 GB, free: 84.74 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 cvode -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