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.0007843/0.0007843, allocations: 91.19 kB / 17.31 MB, free: 6.535 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.0008392/0.0008393, allocations: 173.8 kB / 18.21 MB, free: 5.68 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.12/1.12, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002153, allocations: 12.8 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07018/0.07041, allocations: 50.41 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01068/0.08111, allocations: 13.43 MB / 365.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006359/0.08749, allocations: 4.355 MB / 370.3 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.08869, allocations: 51.88 kB / 370.3 MB, free: 1.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.08923, allocations: 270.8 kB / 370.6 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.09128, allocations: 1.292 MB / 371.9 MB, free: 252 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1243/0.2156, allocations: 485.9 kB / 372.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005074/0.2206, allocations: 4.729 MB / 377.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.223, allocations: 1.644 MB / 378.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.2242, allocations: 0.66 MB / 379.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.2259, allocations: 1.244 MB / 380.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.2263, allocations: 84.16 kB / 380.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2278, allocations: 0.949 MB / 381.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000811/0.2286, allocations: 1.061 MB / 382.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.2295, allocations: 1.227 MB / 384 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.2316, allocations: 3.35 MB / 387.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2316, allocations: 0 / 387.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2316, allocations: 0 / 387.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.2316, allocations: 3.562 kB / 387.3 MB, free: 6.891 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.004258/0.2359, allocations: 2.731 MB / 390.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.2359, allocations: 8.938 kB / 390.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.241, allocations: 1.703 MB / 391.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.2428, allocations: 1.499 MB / 393.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.2429, allocations: 131.8 kB / 393.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.2432, allocations: 175.7 kB / 393.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/0.2494, allocations: 6.601 MB / 400.2 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.2495, allocations: 39.08 kB / 400.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.2497, allocations: 84.59 kB / 400.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.2514, allocations: 1.327 MB / 401.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007642/0.259, allocations: 5.851 MB / 407.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.282, allocations: 28.09 MB / 435.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/0.2872, allocations: 2.748 MB / 438.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.2886, allocations: 1.276 MB / 439.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.2891, allocations: 0.6328 MB / 440.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.2892, allocations: 55.06 kB / 440.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.885e-06/0.2892, allocations: 0 / 440.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.06239/0.3516, allocations: 20.58 MB / 460.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3517, allocations: 145.5 kB / 461 MB, free: 1.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.3552, allocations: 2.84 MB / 463.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.3554, allocations: 45.7 kB / 463.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.3566, allocations: 2.104 MB / 466 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.3571, allocations: 0.6021 MB / 466.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/0.3577, allocations: 423.6 kB / 467 MB, free: 11.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.3577, allocations: 305.1 kB / 467.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.3606, allocations: 2.219 MB / 469.5 MB, free: 8.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/0.3649, allocations: 5.191 MB / 474.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007705/0.3726, allocations: 7.981 MB / 482.7 MB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-05/0.3727, allocations: 32 kB / 482.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02044/0.3932, allocations: 10.33 MB / 493 MB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.3932, allocations: 50.34 kB / 493.1 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.3934, allocations: 104 kB / 493.2 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.4044, allocations: 3.504 MB / 496.7 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.4073, allocations: 1.107 MB / 497.8 MB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.4239, allocations: 12.04 MB / 0.4979 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.4273, allocations: 331.4 kB / 0.4982 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006023/0.4279, allocations: 308 kB / 0.4985 GB, free: 12.66 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.00226/0.4302, allocations: 1.467 MB / 0.4999 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.4307, allocations: 249.1 kB / 0.5002 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.4454, allocations: 6.036 MB / 0.5061 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.4455, allocations: 16 kB / 0.5061 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.4455, allocations: 11.94 kB / 0.5061 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.4455, allocations: 15.97 kB / 0.5061 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/0.4708, allocations: 13.2 MB / 0.519 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4708, allocations: 0 / 0.519 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/0.4717, allocations: 231.8 kB / 0.5192 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01198/0.4837, allocations: 4.143 MB / 0.5233 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.4839, allocations: 45.36 kB / 0.5233 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.153/0.6369, allocations: 12.09 MB / 0.5351 GB, free: 147.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6369, allocations: 1 kB / 0.5351 GB, free: 147.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/0.6549, allocations: 9.943 MB / 0.5448 GB, free: 144.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.6554, allocations: 311.8 kB / 0.5451 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.6558, allocations: 35.72 kB / 0.5452 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.6573, allocations: 184.5 kB / 0.5453 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.6576, allocations: 112 kB / 0.5454 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.6577, allocations: 50.52 kB / 0.5455 GB, free: 144.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002027/0.6597, allocations: 1.758 MB / 0.5472 GB, free: 143.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6597, allocations: 0 / 0.5472 GB, free: 143.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003002/0.6627, allocations: 0.826 MB / 0.548 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.0003435/0.6631, allocations: 170.4 kB / 0.5482 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.00725/0.6704, allocations: 6.225 MB / 0.5543 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6704, allocations: 0 / 0.5543 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003705/0.6741, allocations: 2.87 MB / 0.5571 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.6757, allocations: 284.2 kB / 0.5573 GB, free: 138.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008224/0.6839, allocations: 8.964 MB / 0.5661 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.6856, allocations: 2.323 MB / 0.5684 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.686, allocations: 227.4 kB / 0.5686 GB, free: 127.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.686, allocations: 3.828 kB / 0.5686 GB, free: 127.9 MB / 446.1 MB Notification: Performance of Templates: time 0.2108/0.8968, allocations: 128.6 MB / 0.6942 GB, free: 144.7 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