Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 168.4 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 1.062 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.67e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008477/0.008503, allocations: 6.249 MB / 331.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.01536, allocations: 2.997 MB / 334.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.0164, allocations: 38.66 kB / 334.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.01849, allocations: 0.9196 MB / 335.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.02212, allocations: 1.415 MB / 336.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.02344, allocations: 0.5856 MB / 337.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.02876, allocations: 4.164 MB / 341.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.03168, allocations: 1.793 MB / 343.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.03433, allocations: 1.43 MB / 344.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.03669, allocations: 1.696 MB / 346.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.03702, allocations: 184 kB / 346.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.0387, allocations: 0.9123 MB / 347.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.0398, allocations: 1.188 MB / 348.6 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009269/0.04073, allocations: 0.7281 MB / 349.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.04565, allocations: 4.454 MB / 353.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.04566, allocations: 0 / 353.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.04566, allocations: 0 / 353.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.509e-05/0.04572, allocations: 4 kB / 353.8 MB, free: 8.309 MB / 318.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.008568/0.05429, allocations: 3.384 MB / 357.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.05434, allocations: 8.031 kB / 357.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/0.0611, allocations: 1.738 MB / 359 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.06444, allocations: 1.425 MB / 360.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.06462, allocations: 131.5 kB / 360.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006742/0.06529, allocations: 171.7 kB / 360.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.08108, allocations: 6.605 MB / 367.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.08119, allocations: 31.75 kB / 367.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.0816, allocations: 83.89 kB / 367.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003335/0.08493, allocations: 1.331 MB / 368.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.1004, allocations: 5.769 MB / 374.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.1348, allocations: 26.67 MB / 401.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006205/0.141, allocations: 2.287 MB / 403.5 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.1427, allocations: 1.224 MB / 404.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.1432, allocations: 188.2 kB / 404.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.1433, allocations: 51 kB / 404.9 MB, free: 3.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 3.497e-06/0.1433, allocations: 0 / 404.9 MB, free: 3.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=163): time 0.07778/0.221, allocations: 21.35 MB / 426.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.2212, allocations: 167.2 kB / 426.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.2249, allocations: 2.741 MB / 429.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002947/0.2252, allocations: 45.7 kB / 429.2 MB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.2268, allocations: 2.159 MB / 431.4 MB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.2276, allocations: 0.6473 MB / 432 MB, free: 8.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.2291, allocations: 0.9926 MB / 433 MB, free: 7.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2292, allocations: 357.9 kB / 433.4 MB, free: 7.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.2326, allocations: 2.227 MB / 435.6 MB, free: 4.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005733/0.2383, allocations: 5.158 MB / 440.7 MB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.2488, allocations: 7.958 MB / 448.7 MB, free: 4.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.362e-05/0.2489, allocations: 28 kB / 448.7 MB, free: 4.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02639/0.2753, allocations: 10.27 MB / 459 MB, free: 10.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/0.2753, allocations: 48 kB / 459.1 MB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.2755, allocations: 104 kB / 459.2 MB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/0.2885, allocations: 3.415 MB / 462.6 MB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.2923, allocations: 1.092 MB / 463.7 MB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.196/0.4883, allocations: 12.63 MB / 476.3 MB, free: 120.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.4923, allocations: 364.2 kB / 476.6 MB, free: 120.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000775/0.4931, allocations: 305.4 kB / 476.9 MB, free: 120.5 MB / 430.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.002516/0.4956, allocations: 1.465 MB / 478.4 MB, free: 120 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.4962, allocations: 241.8 kB / 478.6 MB, free: 120 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.5119, allocations: 5.947 MB / 484.6 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.5119, allocations: 25.53 kB / 484.6 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/0.5119, allocations: 10.75 kB / 484.6 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.512, allocations: 14.66 kB / 484.6 MB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/0.537, allocations: 12.51 MB / 497.2 MB, free: 112.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.5371, allocations: 0 / 497.2 MB, free: 112.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5382, allocations: 232.3 kB / 497.4 MB, free: 112.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.5502, allocations: 4.013 MB / 0.4896 GB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003288/0.5505, allocations: 47.95 kB / 0.4897 GB, free: 109.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.5666, allocations: 12.63 MB / 0.502 GB, free: 97.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5666, allocations: 4 kB / 0.502 GB, free: 97.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.5854, allocations: 10.05 MB / 0.5118 GB, free: 87.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007767/0.5862, allocations: 239.3 kB / 0.5121 GB, free: 86.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.5866, allocations: 35.98 kB / 0.5121 GB, free: 86.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.5883, allocations: 219.6 kB / 0.5123 GB, free: 86.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/0.5887, allocations: 112.7 kB / 0.5124 GB, free: 86.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.5888, allocations: 62.69 kB / 0.5125 GB, free: 86.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001769/0.5906, allocations: 1.57 MB / 0.514 GB, free: 84.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5906, allocations: 0 / 0.514 GB, free: 84.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003955/0.5946, allocations: 0.905 MB / 0.5149 GB, free: 84.05 MB / 430.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.0005048/0.5951, allocations: 189.3 kB / 0.5151 GB, free: 83.88 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.00844/0.6035, allocations: 5.571 MB / 0.5205 GB, free: 78.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6035, allocations: 2.25 kB / 0.5205 GB, free: 78.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004206/0.6077, allocations: 2.274 MB / 0.5227 GB, free: 76.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.6097, allocations: 248.1 kB / 0.523 GB, free: 75.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.6184, allocations: 7.2 MB / 0.53 GB, free: 68.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.6199, allocations: 1.757 MB / 0.5317 GB, free: 66.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00258/0.6225, allocations: 1.486 MB / 0.5332 GB, free: 65.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.623, allocations: 188.4 kB / 0.5333 GB, free: 65.1 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.623, allocations: 0 / 0.5333 GB, free: 65.1 MB / 430.1 MB Notification: Performance of Templates: time 0.05119/0.6742, allocations: 39.12 MB / 0.5716 GB, free: 26.4 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 6.313536014407873]