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.00169/0.00169, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001466/0.001466, allocations: 213.3 kB / 23.72 MB, free: 4.531 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.00158/0.00158, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008205/0.2471, allocations: 6.239 MB / 437.8 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.2531, allocations: 2.975 MB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.2539, allocations: 35.88 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.2558, allocations: 0.8834 MB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.2589, allocations: 1.389 MB / 443.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.26, allocations: 0.5147 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003391/0.2634, allocations: 2.758 MB / 446.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.2648, allocations: 1.235 MB / 447.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.266, allocations: 0.872 MB / 448.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.2689, allocations: 2.26 MB / 450.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.2694, allocations: 184 kB / 450.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.2711, allocations: 0.8774 MB / 451.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.2722, allocations: 1.137 MB / 452.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2733, allocations: 0.9355 MB / 453.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005144/0.2784, allocations: 4.418 MB / 458.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2784, allocations: 0 / 458.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2784, allocations: 0 / 458.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.735e-05/0.2785, allocations: 0 / 458.3 MB, free: 11.91 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.008034/0.2866, allocations: 3.353 MB / 461.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2866, allocations: 8.031 kB / 461.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/0.2925, allocations: 1.668 MB / 463.3 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.2962, allocations: 1.445 MB / 464.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2963, allocations: 119.2 kB / 464.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.2967, allocations: 175.8 kB / 465 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.3073, allocations: 6.625 MB / 471.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.497e-05/0.3074, allocations: 31.7 kB / 471.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.3076, allocations: 87.91 kB / 471.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3097, allocations: 1.331 MB / 473.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.3203, allocations: 5.828 MB / 478.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.3537, allocations: 26.56 MB / 0.4937 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006442/0.3601, allocations: 2.242 MB / 0.4958 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3619, allocations: 1.22 MB / 0.497 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.3625, allocations: 184.2 kB / 0.4972 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.3625, allocations: 51 kB / 0.4973 GB, free: 7.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.246e-06/0.3625, allocations: 3.938 kB / 0.4973 GB, free: 7.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07182/0.4344, allocations: 20.93 MB / 0.5177 GB, free: 2.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.4345, allocations: 171.2 kB / 0.5179 GB, free: 2.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.4381, allocations: 2.663 MB / 0.5205 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.4384, allocations: 49.69 kB / 0.5205 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.4401, allocations: 2.175 MB / 0.5226 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000772/0.4409, allocations: 0.659 MB / 0.5233 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.4423, allocations: 1.004 MB / 0.5243 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4425, allocations: 357.9 kB / 0.5246 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.4457, allocations: 2.227 MB / 0.5268 GB, free: 9.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005879/0.4516, allocations: 5.162 MB / 0.5318 GB, free: 2.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2467/0.6983, allocations: 7.962 MB / 0.5396 GB, free: 92.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-05/0.6984, allocations: 30.09 kB / 0.5396 GB, free: 92.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01943/0.7178, allocations: 10.25 MB / 0.5496 GB, free: 89.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.7179, allocations: 50.41 kB / 0.5497 GB, free: 89.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-05/0.718, allocations: 104.3 kB / 0.5498 GB, free: 89.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00993/0.7279, allocations: 3.44 MB / 0.5531 GB, free: 88.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.7307, allocations: 1.086 MB / 0.5542 GB, free: 88.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.7456, allocations: 12.57 MB / 0.5665 GB, free: 75.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/0.7491, allocations: 336.5 kB / 0.5668 GB, free: 75.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/0.7494, allocations: 307.2 kB / 0.5671 GB, free: 75.04 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.001621/0.7511, allocations: 1.471 MB / 0.5685 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.7514, allocations: 238.4 kB / 0.5688 GB, free: 73.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.7646, allocations: 5.952 MB / 0.5746 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.283e-05/0.7646, allocations: 28 kB / 0.5746 GB, free: 67.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.7647, allocations: 8 kB / 0.5746 GB, free: 67.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.7647, allocations: 7.969 kB / 0.5746 GB, free: 67.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/0.7884, allocations: 12.43 MB / 0.5868 GB, free: 55.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.7884, allocations: 0 / 0.5868 GB, free: 55.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.7894, allocations: 239.6 kB / 0.587 GB, free: 54.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/0.8002, allocations: 4.003 MB / 0.5909 GB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002634/0.8004, allocations: 43.97 kB / 0.5909 GB, free: 50.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.8148, allocations: 12.58 MB / 0.6032 GB, free: 38.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8148, allocations: 4 kB / 0.6032 GB, free: 38.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.8313, allocations: 10.04 MB / 0.613 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/0.8318, allocations: 209.7 kB / 0.6132 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.8322, allocations: 43.92 kB / 0.6133 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.8336, allocations: 183.9 kB / 0.6134 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.8339, allocations: 118.2 kB / 0.6136 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.834, allocations: 51.97 kB / 0.6136 GB, free: 27.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.8355, allocations: 1.504 MB / 0.6151 GB, free: 26.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8355, allocations: 0 / 0.6151 GB, free: 26.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00313/0.8387, allocations: 0.8199 MB / 0.6159 GB, free: 25.26 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.0003441/0.839, allocations: 165 kB / 0.616 GB, free: 25.1 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.007674/0.8467, allocations: 5.576 MB / 0.6215 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8467, allocations: 4 kB / 0.6215 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00407/0.8508, allocations: 2.272 MB / 0.6237 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.8524, allocations: 264.8 kB / 0.624 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.8616, allocations: 7.382 MB / 0.6312 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.8632, allocations: 1.752 MB / 0.6329 GB, free: 7.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00265/0.8658, allocations: 1.486 MB / 0.6343 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/0.8664, allocations: 183.4 kB / 0.6345 GB, free: 6.105 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.8664, allocations: 0 / 0.6345 GB, free: 6.105 MB / 446.1 MB Notification: Performance of Templates: time 0.07288/0.9393, allocations: 42.76 MB / 0.6763 GB, free: 11.75 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.666325105819851]