Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 102.4 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009343/0.0009343, allocations: 38.78 kB / 299.9 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.092, allocations: 49.46 MB / 349.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01337/0.1054, allocations: 14.02 MB / 363.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00775/0.1132, allocations: 4.409 MB / 367.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.1146, allocations: 55.81 kB / 367.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.1163, allocations: 0.8608 MB / 368.7 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.1191, allocations: 1.282 MB / 370 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.16/0.2791, allocations: 483.2 kB / 370.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006229/0.2854, allocations: 4.735 MB / 375.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.2872, allocations: 1.268 MB / 376.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2882, allocations: 0.7118 MB / 377.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2896, allocations: 1.3 MB / 378.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.2899, allocations: 104.2 kB / 378.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.2914, allocations: 0.9713 MB / 379.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008802/0.2923, allocations: 1.082 MB / 380.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.2932, allocations: 1.243 MB / 381.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.2963, allocations: 4.215 MB / 386.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2963, allocations: 0 / 386.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2963, allocations: 5 kB / 386.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.251e-05/0.2964, allocations: 0 / 386.1 MB, free: 6.723 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.005765/0.3022, allocations: 3.262 MB / 389.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3022, allocations: 9.812 kB / 389.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.3075, allocations: 1.645 MB / 391.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.3099, allocations: 1.505 MB / 392.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.31, allocations: 128.4 kB / 392.7 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.3103, allocations: 180.2 kB / 392.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007638/0.3179, allocations: 6.589 MB / 399.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.758e-05/0.318, allocations: 31.38 kB / 399.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.3182, allocations: 90.33 kB / 399.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.32, allocations: 1.332 MB / 400.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008893/0.3289, allocations: 5.832 MB / 406.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/0.3573, allocations: 28.08 MB / 434.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005765/0.3631, allocations: 2.735 MB / 437.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.3648, allocations: 1.279 MB / 438.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/0.3655, allocations: 0.6354 MB / 439.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.3656, allocations: 47.06 kB / 439.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.719e-06/0.3656, allocations: 0 / 439.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07066/0.4363, allocations: 20.54 MB / 460 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.4364, allocations: 141.5 kB / 460.2 MB, free: 464 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.4403, allocations: 2.84 MB / 463 MB, free: 13.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.4405, allocations: 45.7 kB / 463.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.4419, allocations: 2.105 MB / 465.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/0.4427, allocations: 0.6029 MB / 465.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.4442, allocations: 1.008 MB / 466.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.4443, allocations: 305.1 kB / 467.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.4477, allocations: 2.219 MB / 469.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/0.453, allocations: 5.188 MB / 474.5 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.463, allocations: 7.989 MB / 482.5 MB, free: 7.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.879e-05/0.4632, allocations: 28 kB / 482.5 MB, free: 7.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0246/0.4878, allocations: 10.31 MB / 492.8 MB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.4879, allocations: 52 kB / 492.9 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/0.4881, allocations: 108 kB / 493 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/0.5001, allocations: 3.43 MB / 496.4 MB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.5039, allocations: 1.107 MB / 497.5 MB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.523, allocations: 12 MB / 0.4976 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/0.5277, allocations: 343.5 kB / 0.4979 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/0.529, allocations: 304 kB / 0.4982 GB, free: 11.35 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.004033/0.533, allocations: 1.465 MB / 0.4996 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/0.5339, allocations: 248.8 kB / 0.4998 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/0.5502, allocations: 6.003 MB / 0.5057 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/0.5503, allocations: 16 kB / 0.5057 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-05/0.5503, allocations: 12 kB / 0.5057 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.5504, allocations: 7.969 kB / 0.5057 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03088/0.5813, allocations: 13.18 MB / 0.5186 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-05/0.5813, allocations: 0 / 0.5186 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.5825, allocations: 227.7 kB / 0.5188 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01299/0.5956, allocations: 4.018 MB / 0.5228 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/0.596, allocations: 51.89 kB / 0.5228 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1968/0.7928, allocations: 12.02 MB / 0.5345 GB, free: 147.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7929, allocations: 2.125 kB / 0.5345 GB, free: 147.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/0.8128, allocations: 9.888 MB / 0.5442 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.8134, allocations: 301.1 kB / 0.5445 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.8138, allocations: 35.09 kB / 0.5445 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.8153, allocations: 190.5 kB / 0.5447 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/0.8157, allocations: 105.9 kB / 0.5448 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/0.8159, allocations: 54.88 kB / 0.5449 GB, free: 144.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002146/0.8181, allocations: 1.756 MB / 0.5466 GB, free: 143.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8181, allocations: 0 / 0.5466 GB, free: 143.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0039/0.822, allocations: 0.83 MB / 0.5474 GB, free: 143.7 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.0003884/0.8224, allocations: 172.4 kB / 0.5475 GB, free: 143.6 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.008343/0.8307, allocations: 6.223 MB / 0.5536 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8307, allocations: 0 / 0.5536 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.835, allocations: 2.863 MB / 0.5564 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.8371, allocations: 289 kB / 0.5567 GB, free: 138.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/0.8464, allocations: 8.508 MB / 0.565 GB, free: 130.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.848, allocations: 2.31 MB / 0.5673 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002959/0.851, allocations: 1.525 MB / 0.5687 GB, free: 126.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.8514, allocations: 191.4 kB / 0.5689 GB, free: 126.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.8514, allocations: 0 / 0.5689 GB, free: 126.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04688/0.8983, allocations: 39.65 MB / 0.6076 GB, free: 87.15 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches