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.001609/0.001609, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.001911/0.001911, allocations: 192 kB / 18.61 MB, free: 4.543 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.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009924/0.0009924, allocations: 51.56 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09178, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007665/0.09947, allocations: 7.036 MB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.105, allocations: 3.142 MB / 361.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.1057, allocations: 31.94 kB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.1077, allocations: 0.8951 MB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.111, allocations: 1.374 MB / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1121, allocations: 0.5147 MB / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003361/0.1155, allocations: 2.731 MB / 367.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.117, allocations: 1.33 MB / 368.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.118, allocations: 0.8563 MB / 369.4 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1674/0.2854, allocations: 2.013 MB / 371.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008445/0.2863, allocations: 181.7 kB / 371.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.2886, allocations: 0.9763 MB / 372.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.2901, allocations: 1.123 MB / 373.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.2913, allocations: 1.309 MB / 375 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.2969, allocations: 4.422 MB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.297, allocations: 3.719 kB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.297, allocations: 0.5312 kB / 379.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.2971, allocations: 1.281 kB / 379.4 MB, free: 11.23 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.007655/0.3048, allocations: 3.264 MB / 382.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3048, allocations: 9.062 kB / 382.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.3106, allocations: 1.65 MB / 384.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.3143, allocations: 1.527 MB / 385.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3144, allocations: 127.4 kB / 386 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/0.3148, allocations: 169.5 kB / 386.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00959/0.3244, allocations: 6.605 MB / 392.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.3245, allocations: 29.41 kB / 392.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.3248, allocations: 90.09 kB / 392.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.3264, allocations: 1.321 MB / 394.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008589/0.335, allocations: 5.843 MB / 400.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03319/0.3683, allocations: 27.94 MB / 428 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006272/0.3746, allocations: 2.789 MB / 430.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.3764, allocations: 1.316 MB / 432.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.3772, allocations: 0.6359 MB / 432.7 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3772, allocations: 43.12 kB / 432.8 MB, free: 304 kB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 4.699e-06/0.3773, allocations: 0 / 432.8 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.07215/0.4494, allocations: 21 MB / 453.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.4496, allocations: 175.2 kB / 454 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.4549, allocations: 2.795 MB / 456.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.4554, allocations: 45.7 kB / 456.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.4573, allocations: 2.075 MB / 458.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.4583, allocations: 0.6265 MB / 459.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/0.4608, allocations: 1.002 MB / 460.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4609, allocations: 305.1 kB / 460.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003682/0.4646, allocations: 2.235 MB / 463 MB, free: 1.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005985/0.4706, allocations: 5.153 MB / 468.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009503/0.4801, allocations: 7.969 MB / 476.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.26e-05/0.4802, allocations: 28 kB / 476.2 MB, free: 2.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02288/0.5031, allocations: 10.29 MB / 486.5 MB, free: 7.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.5032, allocations: 52 kB / 486.5 MB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/0.5034, allocations: 100 kB / 486.6 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.5144, allocations: 3.44 MB / 490.1 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.518, allocations: 1.088 MB / 491.2 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.5378, allocations: 12.84 MB / 0.4922 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/0.5436, allocations: 342.2 kB / 0.4925 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.5448, allocations: 304 kB / 0.4928 GB, free: 5.516 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.003819/0.5486, allocations: 1.465 MB / 0.4942 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008382/0.5495, allocations: 248.7 kB / 0.4945 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/0.5693, allocations: 5.998 MB / 0.5003 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.11e-05/0.5694, allocations: 32 kB / 0.5004 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.5695, allocations: 8 kB / 0.5004 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/0.5695, allocations: 7.969 kB / 0.5004 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/0.6038, allocations: 13.2 MB / 0.5133 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/0.6039, allocations: 0 / 0.5133 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.605, allocations: 235.7 kB / 0.5135 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01228/0.6173, allocations: 4.014 MB / 0.5174 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.6177, allocations: 47.95 kB / 0.5175 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1886/0.8064, allocations: 12.82 MB / 0.53 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8064, allocations: 2.375 kB / 0.53 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/0.8287, allocations: 10.08 MB / 0.5398 GB, free: 148.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/0.8295, allocations: 299.1 kB / 0.5401 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007084/0.8302, allocations: 35.64 kB / 0.5401 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.8321, allocations: 194.5 kB / 0.5403 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.8326, allocations: 112.4 kB / 0.5404 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.8328, allocations: 51.16 kB / 0.5405 GB, free: 148.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.8359, allocations: 1.737 MB / 0.5422 GB, free: 148.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8359, allocations: 0 / 0.5422 GB, free: 148.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004144/0.8401, allocations: 0.8267 MB / 0.543 GB, free: 148 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.0004442/0.8405, allocations: 158.9 kB / 0.5431 GB, free: 147.9 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.008567/0.8491, allocations: 6.287 MB / 0.5493 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8491, allocations: 0 / 0.5493 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004156/0.8533, allocations: 2.892 MB / 0.5521 GB, free: 143.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.8552, allocations: 298.8 kB / 0.5524 GB, free: 143.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.8669, allocations: 7.302 MB / 0.5595 GB, free: 139.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/0.8704, allocations: 2.32 MB / 0.5618 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003125/0.8736, allocations: 1.504 MB / 0.5633 GB, free: 136.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.8742, allocations: 197.8 kB / 0.5634 GB, free: 136.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.8742, allocations: 0 / 0.5634 GB, free: 136.4 MB / 446.1 MB Notification: Performance of Templates: time 0.0497/0.9239, allocations: 36.92 MB / 0.5995 GB, free: 99.67 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 -s gbode -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