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.001804/0.001804, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002144/0.002144, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.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 0.001692/0.001692, allocations: 59.91 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2375, allocations: 53.35 MB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008856/0.2463, allocations: 7.071 MB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.2523, allocations: 3.201 MB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.2528, allocations: 39.81 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.2547, allocations: 0.9068 MB / 442.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.2575, allocations: 1.386 MB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.2585, allocations: 0.5225 MB / 444.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.2619, allocations: 2.754 MB / 447.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.2634, allocations: 1.224 MB / 448.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.2645, allocations: 0.8758 MB / 449.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.2674, allocations: 2.256 MB / 451.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.2678, allocations: 183.9 kB / 452 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2695, allocations: 1.006 MB / 453 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.2706, allocations: 1.137 MB / 454.2 MB, free: 320 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.2719, allocations: 1.289 MB / 455.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.277, allocations: 4.402 MB / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2771, allocations: 4 kB / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2771, allocations: 0 / 459.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.447e-05/0.2771, allocations: 0 / 459.9 MB, free: 10.6 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.008074/0.2852, allocations: 3.345 MB / 463.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2852, allocations: 8.031 kB / 463.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/0.2912, allocations: 1.676 MB / 464.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.2942, allocations: 1.43 MB / 466.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2943, allocations: 135.2 kB / 466.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.2946, allocations: 171.8 kB / 466.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009707/0.3044, allocations: 6.596 MB / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-05/0.3044, allocations: 31.75 kB / 473.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.3047, allocations: 87.89 kB / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/0.3068, allocations: 1.331 MB / 474.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.3169, allocations: 5.835 MB / 480.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.3511, allocations: 27.91 MB / 0.4965 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/0.3572, allocations: 2.246 MB / 0.4987 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.3589, allocations: 1.232 MB / 0.4999 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.3594, allocations: 176.2 kB / 0.5001 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3595, allocations: 54.98 kB / 0.5001 GB, free: 4.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.357e-06/0.3595, allocations: 0 / 0.5001 GB, free: 4.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07612/0.4356, allocations: 20.91 MB / 0.5206 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.4358, allocations: 171.2 kB / 0.5207 GB, free: 15.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005962/0.4417, allocations: 2.792 MB / 0.5234 GB, free: 12.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003401/0.4421, allocations: 45.7 kB / 0.5235 GB, free: 12.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/0.4439, allocations: 2.163 MB / 0.5256 GB, free: 10.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/0.4448, allocations: 0.6551 MB / 0.5262 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/0.4466, allocations: 1.004 MB / 0.5272 GB, free: 8.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4467, allocations: 309 kB / 0.5275 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.4503, allocations: 2.239 MB / 0.5297 GB, free: 6.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2104/0.6606, allocations: 5.148 MB / 0.5347 GB, free: 97.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007757/0.6684, allocations: 7.969 MB / 0.5425 GB, free: 91.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.702e-05/0.6685, allocations: 28.88 kB / 0.5425 GB, free: 91.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01974/0.6882, allocations: 10.28 MB / 0.5526 GB, free: 88.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.6883, allocations: 51.94 kB / 0.5526 GB, free: 88.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.112e-05/0.6883, allocations: 102.8 kB / 0.5527 GB, free: 88.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.6988, allocations: 3.427 MB / 0.5561 GB, free: 87.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.7018, allocations: 1.088 MB / 0.5571 GB, free: 86.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.7173, allocations: 12.74 MB / 0.5696 GB, free: 73.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/0.721, allocations: 331 kB / 0.5699 GB, free: 73.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.7213, allocations: 312 kB / 0.5702 GB, free: 72.84 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.001583/0.7229, allocations: 1.468 MB / 0.5716 GB, free: 71.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.7233, allocations: 262.7 kB / 0.5719 GB, free: 71.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.7368, allocations: 5.966 MB / 0.5777 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/0.7368, allocations: 27.98 kB / 0.5777 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.7369, allocations: 8.75 kB / 0.5777 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.7369, allocations: 11.97 kB / 0.5777 GB, free: 65.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02413/0.761, allocations: 13.2 MB / 0.5906 GB, free: 52.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.761, allocations: 0.8125 kB / 0.5906 GB, free: 52.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.762, allocations: 235.7 kB / 0.5909 GB, free: 51.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/0.7729, allocations: 4.004 MB / 0.5948 GB, free: 47.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.7731, allocations: 47.56 kB / 0.5948 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/0.7977, allocations: 12.72 MB / 0.6072 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7977, allocations: 4.25 kB / 0.6072 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02893/0.8266, allocations: 10.07 MB / 0.6171 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/0.8274, allocations: 235.5 kB / 0.6173 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005503/0.8279, allocations: 43.66 kB / 0.6173 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/0.8304, allocations: 190.3 kB / 0.6175 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/0.8309, allocations: 112.7 kB / 0.6176 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/0.8311, allocations: 55.95 kB / 0.6177 GB, free: 24.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.8341, allocations: 1.73 MB / 0.6194 GB, free: 22.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8341, allocations: 0 / 0.6194 GB, free: 22.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004399/0.8385, allocations: 0.811 MB / 0.6202 GB, free: 21.73 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.0003736/0.8389, allocations: 163.5 kB / 0.6203 GB, free: 21.57 MB / 446.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.007824/0.8467, allocations: 5.583 MB / 0.6258 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8467, allocations: 0 / 0.6258 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003877/0.8506, allocations: 2.28 MB / 0.628 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.8523, allocations: 300 kB / 0.6283 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009072/0.8614, allocations: 7.421 MB / 0.6355 GB, free: 5.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.8631, allocations: 2.329 MB / 0.6378 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002741/0.8659, allocations: 1.507 MB / 0.6393 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.8663, allocations: 187.4 kB / 0.6395 GB, free: 1.906 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8663, allocations: 4 kB / 0.6395 GB, free: 1.902 MB / 446.1 MB Notification: Performance of Templates: time 0.0756/0.9419, allocations: 43.37 MB / 0.6818 GB, free: 6.742 MB / 494.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.624038241105154]