Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 76.08 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 141.1 kB / 24.54 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9245/0.9245, allocations: 173.3 MB / 201.1 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.877e-05, allocations: 2.312 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00574/0.005768, allocations: 6.88 MB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.009206, allocations: 3.091 MB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.00954, allocations: 31.88 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.01065, allocations: 0.9612 MB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.01234, allocations: 1.455 MB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.01293, allocations: 0.5964 MB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.01524, allocations: 4.017 MB / 285 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.01638, allocations: 1.875 MB / 286.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.01736, allocations: 1.442 MB / 288.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.01852, allocations: 1.68 MB / 290 MB, free: 284 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.0187, allocations: 172 kB / 290.2 MB, free: 112 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1158/0.1345, allocations: 0.9083 MB / 291.1 MB, free: 20.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.1356, allocations: 1.195 MB / 292.3 MB, free: 20.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.137, allocations: 0.7231 MB / 293 MB, free: 20.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.1407, allocations: 2.938 MB / 296 MB, free: 20.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1407, allocations: 0 / 296 MB, free: 20.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1407, allocations: 0.5938 kB / 296 MB, free: 20.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.1408, allocations: 0.5 kB / 296 MB, free: 20.01 MB / 266.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.006324/0.1471, allocations: 3.535 MB / 299.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1472, allocations: 11.86 kB / 299.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.1514, allocations: 2.036 MB / 301.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.1536, allocations: 1.347 MB / 302.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.1537, allocations: 134.3 kB / 303 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.1539, allocations: 170.5 kB / 303.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.1592, allocations: 4.113 MB / 307.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.1593, allocations: 35.91 kB / 307.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.1595, allocations: 87.36 kB / 307.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.1614, allocations: 1.325 MB / 308.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/0.1665, allocations: 2.243 MB / 311 MB, free: 14.52 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02275/0.1892, allocations: 31.84 MB / 342.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/0.1931, allocations: 1.436 MB / 344.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.1938, allocations: 459 kB / 344.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.1941, allocations: 184.2 kB / 344.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1941, allocations: 55.03 kB / 344.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.858e-06/0.1941, allocations: 0 / 344.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.04526/0.2394, allocations: 14.92 MB / 359.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.2395, allocations: 175.2 kB / 360 MB, free: 13.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.2424, allocations: 2.506 MB / 362.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/0.2427, allocations: 53.73 kB / 362.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.2438, allocations: 2.297 MB / 364.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006004/0.2444, allocations: 0.6762 MB / 365.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.2455, allocations: 1.068 MB / 366.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2456, allocations: 0.5238 MB / 367.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.2469, allocations: 0.7819 MB / 367.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.2502, allocations: 5.106 MB / 373 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005948/0.2561, allocations: 6.495 MB / 379.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.928e-05/0.2562, allocations: 39.94 kB / 379.6 MB, free: 5.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01245/0.2687, allocations: 6.763 MB / 386.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.2687, allocations: 52 kB / 386.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.33e-05/0.2688, allocations: 100 kB / 386.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006534/0.2753, allocations: 2.817 MB / 389.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.2773, allocations: 1.088 MB / 390.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/0.2852, allocations: 5.297 MB / 395.7 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.2877, allocations: 367.4 kB / 396.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.288, allocations: 314.5 kB / 396.4 MB, free: 4.508 MB / 346.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.001118/0.2892, allocations: 0.539 MB / 396.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.2896, allocations: 282.4 kB / 397.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007429/0.297, allocations: 3.703 MB / 400.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.166e-05/0.2971, allocations: 30.44 kB / 400.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.2971, allocations: 8 kB / 400.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.2971, allocations: 11.97 kB / 400.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.3125, allocations: 8.953 MB / 409.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.3125, allocations: 0 / 409.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.3131, allocations: 235.2 kB / 410.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007043/0.3201, allocations: 3.418 MB / 413.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.3203, allocations: 47.23 kB / 413.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.3277, allocations: 4.863 MB / 418.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3277, allocations: 4 kB / 418.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009819/0.3375, allocations: 5.808 MB / 424.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.3381, allocations: 230.2 kB / 424.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.3383, allocations: 35.98 kB / 424.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.3393, allocations: 215.6 kB / 424.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.3396, allocations: 116.6 kB / 424.8 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.3397, allocations: 51.97 kB / 424.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00143/0.3411, allocations: 1.059 MB / 425.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3411, allocations: 0 / 425.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002966/0.3441, allocations: 0.9243 MB / 426.9 MB, free: 5.668 MB / 378.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.0004686/0.3446, allocations: 191.8 kB / 427.1 MB, free: 5.477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.005898/0.3505, allocations: 3.578 MB / 430.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3505, allocations: 0 / 430.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.3528, allocations: 1.531 MB / 432.2 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.3542, allocations: 274.4 kB / 432.4 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1099/0.4642, allocations: 5.431 MB / 437.9 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.465, allocations: 0.8167 MB / 438.7 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002129/0.4672, allocations: 1.293 MB / 440 MB, free: 114.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.4676, allocations: 184.1 kB / 440.2 MB, free: 114.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4676, allocations: 0 / 440.2 MB, free: 114.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04091/0.5085, allocations: 41.06 MB / 481.2 MB, free: 86.32 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9604942640289664]