Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007836/0.0007836, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003243/0.003243, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8458/0.8458, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.97e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00493/0.00495, allocations: 6.248 MB / 332 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.008725, allocations: 3.002 MB / 335 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00041/0.009135, allocations: 31.88 kB / 335.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.01022, allocations: 0.9184 MB / 336 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.01186, allocations: 1.42 MB / 337.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.01246, allocations: 0.5847 MB / 338 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.01503, allocations: 4.164 MB / 342.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.0162, allocations: 1.797 MB / 343.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.01735, allocations: 1.423 MB / 345.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.01895, allocations: 1.699 MB / 347.1 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.01915, allocations: 184 kB / 347.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.02008, allocations: 0.9124 MB / 348.2 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.02068, allocations: 1.192 MB / 349.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.02117, allocations: 0.7242 MB / 350.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.02423, allocations: 4.451 MB / 354.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.02423, allocations: 0 / 354.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.02423, allocations: 0 / 354.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.02426, allocations: 0 / 354.5 MB, free: 2.512 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.004153/0.02841, allocations: 3.392 MB / 357.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.02845, allocations: 15.92 kB / 357.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.03137, allocations: 1.703 MB / 359.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.03315, allocations: 1.425 MB / 361.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.0332, allocations: 123.5 kB / 361.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.03341, allocations: 175.8 kB / 361.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/0.03877, allocations: 6.633 MB / 368 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.03882, allocations: 31.73 kB / 368 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.03898, allocations: 91.91 kB / 368.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.04004, allocations: 1.319 MB / 369.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.04582, allocations: 5.839 MB / 375.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/0.06401, allocations: 26.73 MB / 402 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.06745, allocations: 2.283 MB / 404.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.06838, allocations: 1.227 MB / 405.5 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.06865, allocations: 180.2 kB / 405.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.06868, allocations: 54.98 kB / 405.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.467e-06/0.06868, allocations: 0 / 405.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=163): time 0.03613/0.1048, allocations: 21.34 MB / 427.1 MB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.1049, allocations: 175.2 kB / 427.3 MB, free: 8.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.1071, allocations: 2.741 MB / 430 MB, free: 5.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.1072, allocations: 53.69 kB / 430 MB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008574/0.1081, allocations: 2.151 MB / 432.2 MB, free: 3.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006616/0.1087, allocations: 0.6434 MB / 432.8 MB, free: 2.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008389/0.1096, allocations: 0.9965 MB / 433.8 MB, free: 1.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1097, allocations: 357.9 kB / 434.2 MB, free: 1.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.1116, allocations: 2.235 MB / 436.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.1149, allocations: 5.154 MB / 441.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1493/0.2641, allocations: 7.954 MB / 449.5 MB, free: 110.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.2642, allocations: 29.75 kB / 449.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01218/0.2764, allocations: 10.26 MB / 459.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.2765, allocations: 51.31 kB / 459.9 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/0.2765, allocations: 105.8 kB / 460 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/0.2818, allocations: 3.421 MB / 463.4 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.2833, allocations: 1.091 MB / 464.5 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00941/0.2927, allocations: 12.64 MB / 477.1 MB, free: 93.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.2946, allocations: 363.6 kB / 477.5 MB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.2948, allocations: 310 kB / 477.8 MB, free: 92.72 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.001259/0.296, allocations: 1.463 MB / 479.2 MB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.2963, allocations: 234.1 kB / 479.5 MB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/0.3035, allocations: 5.955 MB / 485.4 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/0.3036, allocations: 24 kB / 485.5 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3036, allocations: 8 kB / 485.5 MB, free: 85.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3036, allocations: 15.97 kB / 485.5 MB, free: 85.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.3168, allocations: 12.5 MB / 498 MB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3168, allocations: 4 kB / 498 MB, free: 72.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.3173, allocations: 231.7 kB / 498.2 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005737/0.323, allocations: 4.005 MB / 0.4904 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.3232, allocations: 46.62 kB / 0.4905 GB, free: 68.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009484/0.3326, allocations: 12.64 MB / 0.5028 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3326, allocations: 0 / 0.5028 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009949/0.3426, allocations: 10.05 MB / 0.5126 GB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.3431, allocations: 233.7 kB / 0.5129 GB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.3433, allocations: 35.98 kB / 0.5129 GB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.3442, allocations: 223.6 kB / 0.5131 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.3444, allocations: 121.6 kB / 0.5132 GB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/0.3445, allocations: 51.97 kB / 0.5133 GB, free: 45.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.3459, allocations: 1.578 MB / 0.5148 GB, free: 43.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3459, allocations: 0 / 0.5148 GB, free: 43.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002846/0.3487, allocations: 0.9008 MB / 0.5157 GB, free: 42.6 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.0004346/0.3491, allocations: 180.1 kB / 0.5159 GB, free: 42.43 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.005452/0.3546, allocations: 5.57 MB / 0.5213 GB, free: 36.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3546, allocations: 0 / 0.5213 GB, free: 36.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.3569, allocations: 2.283 MB / 0.5235 GB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.3579, allocations: 259.3 kB / 0.5238 GB, free: 34.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.3641, allocations: 7.504 MB / 0.5311 GB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.3652, allocations: 1.75 MB / 0.5328 GB, free: 24.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.3656, allocations: 220.4 kB / 0.533 GB, free: 24.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3656, allocations: 0 / 0.533 GB, free: 24.77 MB / 410.7 MB Notification: Performance of Templates: time 0.215/0.5806, allocations: 130.4 MB / 0.6604 GB, free: 130.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.7103726249188185]