Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.91 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2596, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008721/0.2683, allocations: 6.223 MB / 437.9 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006683/0.275, allocations: 2.975 MB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008825/0.2759, allocations: 35.88 kB / 440.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.2781, allocations: 0.8873 MB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.2816, allocations: 1.39 MB / 443.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2827, allocations: 0.5185 MB / 443.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003945/0.2867, allocations: 2.754 MB / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2884, allocations: 1.227 MB / 447.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2898, allocations: 0.8758 MB / 448.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.2928, allocations: 2.205 MB / 450.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006224/0.2934, allocations: 184 kB / 450.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2953, allocations: 0.8658 MB / 451.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.2965, allocations: 1.145 MB / 452.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.2976, allocations: 0.9394 MB / 453.9 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.3028, allocations: 4.41 MB / 458.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3028, allocations: 0 / 458.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3028, allocations: 0 / 458.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.392e-05/0.3029, allocations: 0 / 458.3 MB, free: 11.82 MB / 366.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.008369/0.3113, allocations: 3.345 MB / 461.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3113, allocations: 11.98 kB / 461.6 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/0.3173, allocations: 1.668 MB / 463.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.3213, allocations: 1.457 MB / 464.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.3215, allocations: 119.2 kB / 464.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/0.322, allocations: 171.8 kB / 465 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.3334, allocations: 6.633 MB / 471.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-05/0.3335, allocations: 35.7 kB / 471.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.3338, allocations: 79.91 kB / 471.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/0.336, allocations: 1.331 MB / 473.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.3472, allocations: 5.835 MB / 479 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03541/0.3826, allocations: 26.55 MB / 0.4937 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/0.3886, allocations: 2.236 MB / 0.4958 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.3902, allocations: 1.235 MB / 0.497 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.3907, allocations: 180.2 kB / 0.4972 GB, free: 7.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3908, allocations: 51.05 kB / 0.4973 GB, free: 7.363 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.476e-06/0.3908, allocations: 0 / 0.4973 GB, free: 7.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07206/0.4628, allocations: 20.92 MB / 0.5177 GB, free: 2.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.463, allocations: 175.2 kB / 0.5179 GB, free: 2.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.4666, allocations: 2.659 MB / 0.5205 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003521/0.467, allocations: 53.69 kB / 0.5205 GB, free: 15.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.4687, allocations: 2.175 MB / 0.5226 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000938/0.4697, allocations: 0.6551 MB / 0.5233 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.4712, allocations: 1.012 MB / 0.5243 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.4714, allocations: 353.7 kB / 0.5246 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/0.4749, allocations: 2.227 MB / 0.5268 GB, free: 8.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00648/0.4814, allocations: 5.162 MB / 0.5318 GB, free: 2.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2493/0.7307, allocations: 7.969 MB / 0.5396 GB, free: 92.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.601e-05/0.7308, allocations: 33.38 kB / 0.5396 GB, free: 92.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02381/0.7546, allocations: 10.25 MB / 0.5496 GB, free: 89.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.7547, allocations: 46.81 kB / 0.5497 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.941e-05/0.7548, allocations: 104.7 kB / 0.5498 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.7656, allocations: 3.423 MB / 0.5531 GB, free: 88.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.7688, allocations: 1.097 MB / 0.5542 GB, free: 88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.7845, allocations: 12.58 MB / 0.5665 GB, free: 75.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.7885, allocations: 340.2 kB / 0.5668 GB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005619/0.7891, allocations: 304 kB / 0.5671 GB, free: 74.81 MB / 446.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.002048/0.7911, allocations: 1.458 MB / 0.5685 GB, free: 73.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/0.7917, allocations: 241.7 kB / 0.5688 GB, free: 73.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.8057, allocations: 5.948 MB / 0.5746 GB, free: 67.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/0.8057, allocations: 31.28 kB / 0.5746 GB, free: 67.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.8057, allocations: 8 kB / 0.5746 GB, free: 67.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/0.8058, allocations: 7.969 kB / 0.5746 GB, free: 67.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/0.8303, allocations: 12.44 MB / 0.5868 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.8303, allocations: 0 / 0.5868 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.8313, allocations: 235.7 kB / 0.587 GB, free: 54.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01124/0.8426, allocations: 4.009 MB / 0.5909 GB, free: 50.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/0.8429, allocations: 51.45 kB / 0.5909 GB, free: 50.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.8581, allocations: 12.56 MB / 0.6032 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8581, allocations: 0 / 0.6032 GB, free: 37.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.8762, allocations: 10.05 MB / 0.613 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.8767, allocations: 205.7 kB / 0.6132 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.8771, allocations: 39.92 kB / 0.6133 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.8787, allocations: 187.2 kB / 0.6134 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.8791, allocations: 120.7 kB / 0.6136 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.8792, allocations: 51.97 kB / 0.6136 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.8809, allocations: 1.512 MB / 0.6151 GB, free: 25.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8809, allocations: 0 / 0.6151 GB, free: 25.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003581/0.8845, allocations: 0.8015 MB / 0.6159 GB, free: 25.04 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.0004496/0.8849, allocations: 157.1 kB / 0.616 GB, free: 24.89 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.009046/0.894, allocations: 5.582 MB / 0.6215 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.894, allocations: 4.188 kB / 0.6215 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/0.8986, allocations: 2.279 MB / 0.6237 GB, free: 16.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.9005, allocations: 258.7 kB / 0.6239 GB, free: 16.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.9101, allocations: 7.389 MB / 0.6312 GB, free: 9.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.9119, allocations: 1.752 MB / 0.6329 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002662/0.9146, allocations: 1.482 MB / 0.6343 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.915, allocations: 179.4 kB / 0.6345 GB, free: 5.887 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.915, allocations: 0 / 0.6345 GB, free: 5.887 MB / 446.1 MB Notification: Performance of Templates: time 0.06922/0.9842, allocations: 40.57 MB / 0.6741 GB, free: 13.71 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.644348777830601]