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.001756/0.001756, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002193/0.002193, allocations: 210.9 kB / 23.73 MB, free: 4.387 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001791/0.001791, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2565, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008995/0.2655, allocations: 6.227 MB / 437.8 MB, free: 480 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.2718, allocations: 2.979 MB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.2726, allocations: 35.88 kB / 440.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.2748, allocations: 0.8834 MB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.2781, allocations: 1.393 MB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.2792, allocations: 0.5147 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003521/0.2827, allocations: 2.749 MB / 446.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.2843, allocations: 1.224 MB / 447.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.2855, allocations: 0.8836 MB / 448.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.2887, allocations: 2.209 MB / 450.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000464/0.2892, allocations: 176 kB / 450.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.2909, allocations: 0.8735 MB / 451.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.2921, allocations: 1.133 MB / 452.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.2932, allocations: 0.9471 MB / 453.8 MB, free: 424 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.2985, allocations: 4.407 MB / 458.2 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2985, allocations: 0 / 458.2 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2985, allocations: 0 / 458.2 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.036e-05/0.2986, allocations: 8 kB / 458.2 MB, free: 11.99 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.008237/0.3068, allocations: 3.337 MB / 461.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3068, allocations: 12.03 kB / 461.6 MB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/0.3129, allocations: 1.68 MB / 463.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.3163, allocations: 1.438 MB / 464.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3164, allocations: 131.2 kB / 464.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/0.3168, allocations: 167.9 kB / 465 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.3276, allocations: 6.633 MB / 471.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.908e-05/0.3276, allocations: 35.7 kB / 471.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.3279, allocations: 87.89 kB / 471.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.3303, allocations: 1.323 MB / 473.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3417, allocations: 5.824 MB / 478.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03427/0.376, allocations: 26.56 MB / 0.4936 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/0.3823, allocations: 2.258 MB / 0.4958 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.3839, allocations: 1.212 MB / 0.497 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/0.3845, allocations: 192.1 kB / 0.4972 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3845, allocations: 47.05 kB / 0.4972 GB, free: 7.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.777e-06/0.3845, allocations: 0 / 0.4972 GB, free: 7.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07513/0.4596, allocations: 20.93 MB / 0.5176 GB, free: 2.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4598, allocations: 175.2 kB / 0.5178 GB, free: 2.332 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.4637, allocations: 2.663 MB / 0.5204 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.464, allocations: 45.7 kB / 0.5205 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.4658, allocations: 2.175 MB / 0.5226 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/0.4666, allocations: 0.6589 MB / 0.5232 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/0.4684, allocations: 1.004 MB / 0.5242 GB, free: 11.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4686, allocations: 357.9 kB / 0.5245 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/0.4722, allocations: 2.235 MB / 0.5267 GB, free: 9.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/0.4784, allocations: 5.154 MB / 0.5318 GB, free: 2.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.215/0.6934, allocations: 7.967 MB / 0.5395 GB, free: 92.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-05/0.6935, allocations: 30.16 kB / 0.5396 GB, free: 92.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02213/0.7156, allocations: 10.26 MB / 0.5496 GB, free: 89.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.7156, allocations: 48.72 kB / 0.5496 GB, free: 89.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.382e-05/0.7157, allocations: 101.1 kB / 0.5497 GB, free: 89.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.7265, allocations: 3.433 MB / 0.5531 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.7298, allocations: 1.094 MB / 0.5542 GB, free: 88.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.7454, allocations: 12.57 MB / 0.5664 GB, free: 75.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.7493, allocations: 341.1 kB / 0.5668 GB, free: 75.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007368/0.75, allocations: 308 kB / 0.567 GB, free: 75.2 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.002096/0.7521, allocations: 1.46 MB / 0.5685 GB, free: 73.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.7526, allocations: 240 kB / 0.5687 GB, free: 73.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.7663, allocations: 5.952 MB / 0.5745 GB, free: 67.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/0.7664, allocations: 24 kB / 0.5745 GB, free: 67.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.7664, allocations: 11.98 kB / 0.5745 GB, free: 67.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.7665, allocations: 3.984 kB / 0.5746 GB, free: 67.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02464/0.7911, allocations: 12.44 MB / 0.5867 GB, free: 55.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/0.7911, allocations: 0 / 0.5867 GB, free: 55.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7922, allocations: 231.7 kB / 0.5869 GB, free: 55.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01127/0.8034, allocations: 4.011 MB / 0.5908 GB, free: 51.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/0.8037, allocations: 47.95 kB / 0.5909 GB, free: 51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.8193, allocations: 12.57 MB / 0.6032 GB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8193, allocations: 4 kB / 0.6032 GB, free: 38.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/0.8374, allocations: 10.05 MB / 0.613 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.838, allocations: 209.7 kB / 0.6132 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.8383, allocations: 35.94 kB / 0.6132 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.8398, allocations: 187.9 kB / 0.6134 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/0.8402, allocations: 116.7 kB / 0.6135 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.8403, allocations: 59.56 kB / 0.6136 GB, free: 27.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001662/0.842, allocations: 1.512 MB / 0.615 GB, free: 26.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.842, allocations: 0 / 0.615 GB, free: 26.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003271/0.8453, allocations: 0.8055 MB / 0.6158 GB, free: 25.43 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.000354/0.8456, allocations: 157.5 kB / 0.616 GB, free: 25.28 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.008242/0.8539, allocations: 5.583 MB / 0.6214 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.8539, allocations: 4 kB / 0.6214 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004251/0.8581, allocations: 2.274 MB / 0.6236 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.8598, allocations: 259.7 kB / 0.6239 GB, free: 17.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.8692, allocations: 7.384 MB / 0.6311 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/0.8709, allocations: 1.759 MB / 0.6328 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002728/0.8736, allocations: 1.482 MB / 0.6343 GB, free: 6.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.874, allocations: 179.4 kB / 0.6344 GB, free: 6.285 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.874, allocations: 3.828 kB / 0.6344 GB, free: 6.285 MB / 446.1 MB Notification: Performance of Templates: time 0.06752/0.9415, allocations: 40.54 MB / 0.674 GB, free: 14.14 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.577614523470402]