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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 84 kB / 21.43 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007346/0.007346, allocations: 142.6 kB / 24.68 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8788/0.8788, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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=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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.852e-05, allocations: 6.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005501/0.005529, allocations: 6.25 MB / 325.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.01036, allocations: 2.967 MB / 328.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.01126, allocations: 31.88 kB / 328.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.01284, allocations: 0.9261 MB / 329.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.0158, allocations: 1.458 MB / 331.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.01678, allocations: 0.573 MB / 331.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.02061, allocations: 4.02 MB / 335.9 MB, free: 5.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.02262, allocations: 1.812 MB / 337.7 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.02437, allocations: 1.43 MB / 339.2 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.02599, allocations: 1.699 MB / 340.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.02625, allocations: 184 kB / 341 MB, free: 416 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.02744, allocations: 0.9319 MB / 342 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009817/0.02842, allocations: 1.208 MB / 343.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.02904, allocations: 0.7359 MB / 343.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.03273, allocations: 4.501 MB / 348.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.03273, allocations: 0 / 348.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.03274, allocations: 0 / 348.4 MB, free: 9.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.035e-05/0.03282, allocations: 0 / 348.4 MB, free: 9.008 MB / 314.7 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.005356/0.03817, allocations: 3.306 MB / 351.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.03822, allocations: 8.922 kB / 351.7 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.04139, allocations: 1.699 MB / 353.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.04367, allocations: 1.433 MB / 354.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.04374, allocations: 131.5 kB / 355 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.044, allocations: 167.8 kB / 355.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006968/0.05097, allocations: 6.629 MB / 361.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.05103, allocations: 31.7 kB / 361.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.0512, allocations: 87.89 kB / 361.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/0.05236, allocations: 1.327 MB / 363.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0075/0.05987, allocations: 5.835 MB / 369.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.08465, allocations: 26.72 MB / 395.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.0882, allocations: 2.306 MB / 398.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.08924, allocations: 1.224 MB / 399.3 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.08954, allocations: 180.2 kB / 399.5 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.08957, allocations: 51 kB / 399.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 2.915e-06/0.08957, allocations: 0 / 399.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=163): time 0.03904/0.1286, allocations: 21.34 MB / 420.9 MB, free: 14.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.1287, allocations: 175.2 kB / 421.1 MB, free: 14.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/0.1319, allocations: 2.749 MB / 423.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.1321, allocations: 49.7 kB / 423.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/0.1331, allocations: 2.159 MB / 426 MB, free: 9.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/0.1336, allocations: 0.6434 MB / 426.7 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/0.1346, allocations: 0.9966 MB / 427.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1347, allocations: 353.9 kB / 428 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.1369, allocations: 2.235 MB / 430.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.1405, allocations: 5.147 MB / 435.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/0.1468, allocations: 7.979 MB / 443.4 MB, free: 5.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.678e-05/0.1469, allocations: 28 kB / 443.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.1535/0.3004, allocations: 10.25 MB / 453.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.3005, allocations: 49.28 kB / 453.7 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.686e-05/0.3005, allocations: 102.7 kB / 453.8 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005599/0.3061, allocations: 3.429 MB / 457.2 MB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.3081, allocations: 1.096 MB / 458.3 MB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.3182, allocations: 12.64 MB / 471 MB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.3207, allocations: 370.3 kB / 471.3 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.3211, allocations: 306.9 kB / 471.6 MB, free: 104.4 MB / 410.7 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.001525/0.3227, allocations: 1.464 MB / 473.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.323, allocations: 232.5 kB / 473.3 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007327/0.3303, allocations: 5.947 MB / 479.3 MB, free: 96.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/0.3304, allocations: 34.88 kB / 479.3 MB, free: 96.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.3304, allocations: 12 kB / 479.3 MB, free: 96.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.3304, allocations: 3.984 kB / 479.3 MB, free: 96.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.3455, allocations: 12.51 MB / 491.8 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/0.3455, allocations: 0 / 491.8 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.3461, allocations: 235.6 kB / 492 MB, free: 84.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005777/0.3519, allocations: 4.009 MB / 496.1 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.3521, allocations: 51.7 kB / 496.1 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009746/0.3618, allocations: 12.62 MB / 0.4968 GB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3618, allocations: 4 kB / 0.4968 GB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.3724, allocations: 10.05 MB / 0.5066 GB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.373, allocations: 235.3 kB / 0.5068 GB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.3733, allocations: 38.94 kB / 0.5069 GB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009587/0.3743, allocations: 219.1 kB / 0.5071 GB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.3746, allocations: 119.2 kB / 0.5072 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3747, allocations: 55.97 kB / 0.5073 GB, free: 56.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.3763, allocations: 1.582 MB / 0.5088 GB, free: 55.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.3763, allocations: 0 / 0.5088 GB, free: 55.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002913/0.3792, allocations: 0.9206 MB / 0.5097 GB, free: 54.45 MB / 410.7 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.0004793/0.3797, allocations: 187.5 kB / 0.5099 GB, free: 54.27 MB / 410.7 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.006084/0.3858, allocations: 5.584 MB / 0.5153 GB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3858, allocations: 0 / 0.5153 GB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.3885, allocations: 2.268 MB / 0.5175 GB, free: 46.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.3901, allocations: 262 kB / 0.5178 GB, free: 46.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.3987, allocations: 7.513 MB / 0.5251 GB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.4, allocations: 1.757 MB / 0.5268 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.4007, allocations: 228.4 kB / 0.5271 GB, free: 36.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.695e-06/0.4007, allocations: 0 / 0.5271 GB, free: 36.6 MB / 410.7 MB Notification: Performance of Templates: time 0.2339/0.6346, allocations: 130.7 MB / 0.6547 GB, free: 117.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.505595745518804]