Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001214/0.001214, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001371/0.001371, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 225.1 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.92 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08151, allocations: 46.62 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007482/0.08902, allocations: 7.047 MB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.09395, allocations: 3.136 MB / 338.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.09438, allocations: 31.94 kB / 338.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.09599, allocations: 0.8951 MB / 339.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.09838, allocations: 1.378 MB / 341.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.09925, allocations: 0.5186 MB / 341.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.1019, allocations: 2.735 MB / 344.5 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1033, allocations: 1.326 MB / 345.8 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.1042, allocations: 0.868 MB / 346.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.1063, allocations: 2.015 MB / 348.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.1065, allocations: 180 kB / 348.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.108, allocations: 0.9633 MB / 349.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.109, allocations: 1.134 MB / 350.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.1102, allocations: 1.309 MB / 352.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.114, allocations: 4.426 MB / 356.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1141, allocations: 0 / 356.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1141, allocations: 4 kB / 356.7 MB, free: 7.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.315e-05/0.1142, allocations: 0 / 356.7 MB, free: 7.664 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.006361/0.1205, allocations: 3.269 MB / 359.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1206, allocations: 8.031 kB / 360 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005512/0.1261, allocations: 1.651 MB / 361.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.1294, allocations: 1.573 MB / 363.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.1295, allocations: 131.1 kB / 363.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.1299, allocations: 175.8 kB / 363.5 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008746/0.1386, allocations: 6.6 MB / 370.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/0.1387, allocations: 35.66 kB / 370.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.139, allocations: 87.89 kB / 370.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.1409, allocations: 1.327 MB / 371.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009439/0.1504, allocations: 5.84 MB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/0.3164, allocations: 27.94 MB / 405.3 MB, free: 29.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.3217, allocations: 2.791 MB / 408.1 MB, free: 28.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.323, allocations: 1.309 MB / 409.4 MB, free: 27.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.3235, allocations: 0.6311 MB / 410 MB, free: 27.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3235, allocations: 47 kB / 410.1 MB, free: 27.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 3.316e-06/0.3235, allocations: 3.906 kB / 410.1 MB, free: 27.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.06215/0.3857, allocations: 21.02 MB / 431.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3858, allocations: 171.2 kB / 431.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.3886, allocations: 2.811 MB / 434.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/0.3889, allocations: 49.7 kB / 434.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000786/0.3897, allocations: 2.068 MB / 436.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.3901, allocations: 0.6324 MB / 436.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.3912, allocations: 0.9958 MB / 437.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.3912, allocations: 305.2 kB / 438.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.3936, allocations: 2.231 MB / 440.4 MB, free: 292 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.3987, allocations: 5.154 MB / 445.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009518/0.4082, allocations: 7.967 MB / 453.5 MB, free: 264 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.587e-05/0.4083, allocations: 28 kB / 453.5 MB, free: 236 kB / 334.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02293/0.4312, allocations: 10.3 MB / 463.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.4313, allocations: 48 kB / 463.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.4314, allocations: 104 kB / 464 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.4431, allocations: 3.42 MB / 467.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.4465, allocations: 1.095 MB / 468.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.4656, allocations: 12.86 MB / 481.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.4693, allocations: 331.4 kB / 481.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005806/0.4699, allocations: 308 kB / 482 MB, free: 3.582 MB / 366.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.002082/0.4719, allocations: 1.461 MB / 483.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.4724, allocations: 256.7 kB / 483.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.4876, allocations: 5.994 MB / 489.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/0.4877, allocations: 28.97 kB / 489.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/0.4877, allocations: 8 kB / 489.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.4878, allocations: 7.984 kB / 489.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02872/0.5165, allocations: 13.21 MB / 0.4911 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/0.5166, allocations: 4 kB / 0.4911 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5177, allocations: 231 kB / 0.4914 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/0.5304, allocations: 4.016 MB / 0.4953 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/0.5307, allocations: 43.95 kB / 0.4953 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.549, allocations: 12.84 MB / 0.5079 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5491, allocations: 0 / 0.5079 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/0.5695, allocations: 10.09 MB / 0.5177 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/0.5703, allocations: 309.6 kB / 0.518 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000434/0.5708, allocations: 32 kB / 0.518 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.5724, allocations: 187.7 kB / 0.5182 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.5728, allocations: 104.8 kB / 0.5183 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.573, allocations: 63.97 kB / 0.5184 GB, free: 2.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002379/0.5754, allocations: 1.746 MB / 0.5201 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5754, allocations: 0 / 0.5201 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004323/0.5797, allocations: 0.819 MB / 0.5209 GB, free: 15.77 MB / 430.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.0005107/0.5803, allocations: 161.7 kB / 0.521 GB, free: 15.61 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01149/0.5918, allocations: 6.266 MB / 0.5272 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5918, allocations: 0 / 0.5272 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005044/0.5968, allocations: 2.894 MB / 0.53 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.5987, allocations: 301.4 kB / 0.5303 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.154/0.7527, allocations: 7.31 MB / 0.5374 GB, free: 147.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.755, allocations: 2.326 MB / 0.5397 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003224/0.7583, allocations: 1.507 MB / 0.5411 GB, free: 146.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.7588, allocations: 191.9 kB / 0.5413 GB, free: 146.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.004e-06/0.7588, allocations: 1.156 kB / 0.5413 GB, free: 146.8 MB / 430.1 MB Notification: Performance of Templates: time 0.04991/0.8087, allocations: 36.95 MB / 0.5774 GB, free: 124.6 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches