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.001814/0.001814, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.002322/0.002323, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.517/1.517, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 46.55 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09368, allocations: 49.44 MB / 350.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009447/0.1032, allocations: 7.047 MB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006317/0.1095, allocations: 3.127 MB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1108, allocations: 31.94 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.1131, allocations: 0.899 MB / 361.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.1169, allocations: 1.38 MB / 363.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1181, allocations: 0.5185 MB / 363.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003774/0.1219, allocations: 2.723 MB / 366.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.124, allocations: 1.333 MB / 367.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.1258, allocations: 0.8486 MB / 368.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.1287, allocations: 2.018 MB / 370.7 MB, free: 440 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007411/0.1295, allocations: 180 kB / 370.8 MB, free: 260 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1773/0.3068, allocations: 0.9775 MB / 371.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.3093, allocations: 1.125 MB / 372.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.3113, allocations: 1.303 MB / 374.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0065/0.3178, allocations: 4.253 MB / 378.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.3178, allocations: 5 kB / 378.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3178, allocations: 0 / 378.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.318, allocations: 0 / 378.5 MB, free: 11.62 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.01067/0.3287, allocations: 3.267 MB / 381.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.3288, allocations: 14.59 kB / 381.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007491/0.3363, allocations: 1.645 MB / 383.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/0.3408, allocations: 1.507 MB / 384.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.341, allocations: 126.3 kB / 385.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009954/0.342, allocations: 174.9 kB / 385.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.3538, allocations: 6.599 MB / 391.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.354, allocations: 33.47 kB / 391.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.3543, allocations: 87.3 kB / 391.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.3565, allocations: 1.329 MB / 393.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3665, allocations: 5.843 MB / 399.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03316/0.3998, allocations: 28.04 MB / 427.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006745/0.4065, allocations: 2.79 MB / 429.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.4085, allocations: 1.313 MB / 431.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.4092, allocations: 0.6333 MB / 431.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4093, allocations: 54.77 kB / 431.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 4.288e-06/0.4093, allocations: 0 / 431.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.07753/0.4869, allocations: 21 MB / 452.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.487, allocations: 170.6 kB / 453.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/0.4918, allocations: 2.792 MB / 455.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.4922, allocations: 45.7 kB / 455.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.4938, allocations: 2.082 MB / 458 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009291/0.4947, allocations: 0.6328 MB / 458.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/0.4969, allocations: 0.9954 MB / 459.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.497, allocations: 309.1 kB / 460 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/0.5003, allocations: 2.231 MB / 462.2 MB, free: 3.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005815/0.5062, allocations: 5.154 MB / 467.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009586/0.5158, allocations: 7.963 MB / 475.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.675e-05/0.5159, allocations: 32 kB / 475.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0273/0.5432, allocations: 10.29 MB / 485.6 MB, free: 9.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.5435, allocations: 48 kB / 485.7 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/0.5439, allocations: 100 kB / 485.8 MB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/0.5563, allocations: 3.439 MB / 489.2 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.5603, allocations: 1.092 MB / 490.3 MB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.5803, allocations: 12.86 MB / 0.4914 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/0.5848, allocations: 339.3 kB / 0.4917 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/0.5862, allocations: 304 kB / 0.492 GB, free: 6.871 MB / 414.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.00409/0.5903, allocations: 1.461 MB / 0.4934 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008751/0.5912, allocations: 248.7 kB / 0.4936 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.6081, allocations: 5.995 MB / 0.4995 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.374e-05/0.6083, allocations: 32 kB / 0.4995 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/0.6083, allocations: 15.92 kB / 0.4995 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/0.6083, allocations: 3.984 kB / 0.4995 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/0.6402, allocations: 13.22 MB / 0.5125 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.6403, allocations: 4.812 kB / 0.5125 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6415, allocations: 235.6 kB / 0.5127 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/0.6543, allocations: 4.015 MB / 0.5166 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/0.6548, allocations: 47.95 kB / 0.5167 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/0.6744, allocations: 12.83 MB / 0.5292 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6744, allocations: 4 kB / 0.5292 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2396/0.914, allocations: 10.08 MB / 0.539 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007851/0.9148, allocations: 301.8 kB / 0.5393 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.9153, allocations: 41.8 kB / 0.5394 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.917, allocations: 186.3 kB / 0.5395 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.9175, allocations: 110.4 kB / 0.5396 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.9177, allocations: 54.05 kB / 0.5397 GB, free: 150.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002889/0.9205, allocations: 1.736 MB / 0.5414 GB, free: 149.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9206, allocations: 0 / 0.5414 GB, free: 149.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004337/0.9249, allocations: 0.8225 MB / 0.5422 GB, free: 149.8 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.0004464/0.9254, allocations: 156.2 kB / 0.5423 GB, free: 149.7 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.01081/0.9362, allocations: 6.813 MB / 0.549 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.9362, allocations: 0 / 0.549 GB, free: 147 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004892/0.9411, allocations: 2.909 MB / 0.5518 GB, free: 145.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.9436, allocations: 295.5 kB / 0.5521 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.954, allocations: 7.68 MB / 0.5596 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.9558, allocations: 2.332 MB / 0.5619 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.9565, allocations: 227.4 kB / 0.5621 GB, free: 138.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9565, allocations: 0 / 0.5621 GB, free: 138.6 MB / 446.1 MB Notification: Performance of Templates: time 0.1091/1.066, allocations: 128.9 MB / 0.688 GB, free: 9.637 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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches