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.001144/0.001144, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.001109/0.00111, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.346/1.346, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 47.08 kB / 300.8 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 49.45 MB / 350.2 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01498/0.1226, allocations: 14.02 MB / 364.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009405/0.132, allocations: 4.315 MB / 368.6 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.1351, allocations: 51.88 kB / 368.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.1376, allocations: 0.8451 MB / 369.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.1413, allocations: 1.295 MB / 370.8 MB, free: 172 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1956/0.337, allocations: 491.5 kB / 371.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006041/0.343, allocations: 3.786 MB / 375 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.3458, allocations: 1.393 MB / 376.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.3479, allocations: 0.8368 MB / 377.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.3505, allocations: 1.381 MB / 378.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.3512, allocations: 180.5 kB / 378.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.3535, allocations: 0.9924 MB / 379.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.3551, allocations: 1.149 MB / 381 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.3567, allocations: 1.331 MB / 382.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.3607, allocations: 3.457 MB / 385.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3607, allocations: 0 / 385.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3607, allocations: 0 / 385.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.3609, allocations: 1.219 kB / 385.8 MB, free: 7.445 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.008435/0.3693, allocations: 3.269 MB / 389 MB, free: 5.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3694, allocations: 9.75 kB / 389 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00591/0.3753, allocations: 1.649 MB / 390.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/0.3787, allocations: 1.502 MB / 392.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3789, allocations: 131.6 kB / 392.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006347/0.3795, allocations: 176.6 kB / 392.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009318/0.3888, allocations: 6.584 MB / 399.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.958e-05/0.389, allocations: 35.75 kB / 399.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.3893, allocations: 91.09 kB / 399.2 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/0.3913, allocations: 1.335 MB / 400.5 MB, free: 13.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.402, allocations: 5.827 MB / 406.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.4359, allocations: 28.08 MB / 434.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006169/0.4421, allocations: 2.74 MB / 437.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.4438, allocations: 1.277 MB / 438.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.4446, allocations: 0.6294 MB / 439.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4446, allocations: 43.12 kB / 439.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 4.889e-06/0.4447, allocations: 3.984 kB / 439.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.0749/0.5196, allocations: 20.54 MB / 459.7 MB, free: 1.812 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.5197, allocations: 149.5 kB / 459.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.5247, allocations: 2.834 MB / 462.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.5252, allocations: 45.7 kB / 462.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.5269, allocations: 2.103 MB / 464.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009066/0.5278, allocations: 0.606 MB / 465.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/0.5297, allocations: 1.003 MB / 466.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.5298, allocations: 309.1 kB / 466.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003578/0.5334, allocations: 2.223 MB / 468.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/0.5392, allocations: 5.188 MB / 474.1 MB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/0.5485, allocations: 7.981 MB / 482.1 MB, free: 8.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.15e-05/0.5486, allocations: 32 kB / 482.1 MB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02564/0.5743, allocations: 10.31 MB / 492.4 MB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.5744, allocations: 48 kB / 492.5 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.5746, allocations: 104 kB / 492.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.5871, allocations: 3.435 MB / 496 MB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.5911, allocations: 1.107 MB / 497.1 MB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.6119, allocations: 12.85 MB / 0.498 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.6162, allocations: 347.4 kB / 0.4984 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007999/0.617, allocations: 306.6 kB / 0.4986 GB, free: 11.67 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.002821/0.6198, allocations: 1.465 MB / 0.5001 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005965/0.6204, allocations: 252.7 kB / 0.5003 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/0.6367, allocations: 5.997 MB / 0.5062 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/0.6368, allocations: 16 kB / 0.5062 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.6369, allocations: 8 kB / 0.5062 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.6369, allocations: 15.91 kB / 0.5062 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03166/0.6686, allocations: 13.18 MB / 0.5191 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/0.6686, allocations: 4 kB / 0.5191 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.67, allocations: 235.7 kB / 0.5193 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/0.6837, allocations: 4.011 MB / 0.5232 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000566/0.6844, allocations: 43.91 kB / 0.5233 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.237/0.9214, allocations: 12.83 MB / 0.5358 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.9214, allocations: 5.719 kB / 0.5358 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02247/0.9439, allocations: 9.893 MB / 0.5455 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/0.9447, allocations: 301.6 kB / 0.5457 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005377/0.9452, allocations: 39.48 kB / 0.5458 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/0.9472, allocations: 188.1 kB / 0.546 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/0.9477, allocations: 104.6 kB / 0.5461 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.9479, allocations: 56.58 kB / 0.5461 GB, free: 143.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002864/0.9507, allocations: 1.751 MB / 0.5478 GB, free: 143.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9508, allocations: 0 / 0.5478 GB, free: 143.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004523/0.9553, allocations: 0.8318 MB / 0.5486 GB, free: 143.2 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.000567/0.9559, allocations: 162.9 kB / 0.5488 GB, free: 143.1 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.01112/0.967, allocations: 6.781 MB / 0.5554 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9671, allocations: 0 / 0.5554 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.9717, allocations: 2.866 MB / 0.5582 GB, free: 137.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.9744, allocations: 297.5 kB / 0.5585 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.9866, allocations: 8.828 MB / 0.5671 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.9885, allocations: 2.316 MB / 0.5694 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007486/0.9893, allocations: 227.4 kB / 0.5696 GB, free: 126.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.753e-06/0.9893, allocations: 0 / 0.5696 GB, free: 126.8 MB / 446.1 MB Notification: Performance of Templates: time 0.2855/1.275, allocations: 129 MB / 0.6956 GB, free: 145.2 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