Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001056/0.001056, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001042/0.001042, allocations: 169.4 kB / 25.33 MB, free: 9.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9848/0.9848, allocations: 158.6 MB / 187.2 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.888e-05, allocations: 6.312 kB / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008611/0.00864, allocations: 6.886 MB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006057/0.0147, allocations: 3.085 MB / 261 MB, free: 13.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006155/0.01531, allocations: 39.81 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.01657, allocations: 0.9612 MB / 262 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.0188, allocations: 1.455 MB / 263.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.01957, allocations: 0.5964 MB / 264.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.02347, allocations: 4.025 MB / 268.1 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.02561, allocations: 1.876 MB / 270 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.02759, allocations: 1.458 MB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.02944, allocations: 1.676 MB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.02989, allocations: 176 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.0312, allocations: 0.9124 MB / 274.2 MB, free: 284 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008168/0.03202, allocations: 1.192 MB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000832/0.03285, allocations: 0.7281 MB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.03601, allocations: 2.93 MB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.03602, allocations: 3.984 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.03602, allocations: 4 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.03614, allocations: 0 / 279 MB, free: 11.4 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.005132/0.04127, allocations: 3.534 MB / 282.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.04133, allocations: 11.98 kB / 282.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.04513, allocations: 2.035 MB / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.04695, allocations: 1.379 MB / 286 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.04702, allocations: 123.5 kB / 286.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.04725, allocations: 179.8 kB / 286.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.05184, allocations: 4.12 MB / 290.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.308e-05/0.0519, allocations: 39.69 kB / 290.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.05208, allocations: 79.91 kB / 290.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001154/0.05324, allocations: 1.335 MB / 291.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.05722, allocations: 2.244 MB / 294.1 MB, free: 11.5 MB / 282.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.02047/0.07768, allocations: 31.83 MB / 325.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.08063, allocations: 1.419 MB / 327.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.08116, allocations: 448 kB / 327.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.0815, allocations: 192.1 kB / 328 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.08154, allocations: 53.89 kB / 328 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.995e-06/0.08154, allocations: 0 / 328 MB, free: 8.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.03079/0.1123, allocations: 14.96 MB / 343 MB, free: 9.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.1124, allocations: 187.1 kB / 343.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/0.1152, allocations: 2.522 MB / 345.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.1155, allocations: 45.7 kB / 345.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.1166, allocations: 2.299 MB / 348.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.1172, allocations: 0.6747 MB / 348.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.1183, allocations: 1.069 MB / 349.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1184, allocations: 0.5355 MB / 350.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.1196, allocations: 0.7709 MB / 351.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1233/0.2429, allocations: 5.101 MB / 356.2 MB, free: 89.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008453/0.2513, allocations: 6.497 MB / 362.7 MB, free: 83.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.2514, allocations: 29.91 kB / 362.7 MB, free: 83.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01161/0.263, allocations: 6.765 MB / 369.5 MB, free: 82.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.2631, allocations: 51.03 kB / 369.5 MB, free: 82.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.2632, allocations: 101.4 kB / 369.6 MB, free: 82.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/0.2693, allocations: 2.814 MB / 372.5 MB, free: 82.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.2709, allocations: 1.089 MB / 373.6 MB, free: 81.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.2775, allocations: 5.294 MB / 378.8 MB, free: 77.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.2795, allocations: 374.2 kB / 379.2 MB, free: 77.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/0.2798, allocations: 302.9 kB / 379.5 MB, free: 76.75 MB / 330.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.0007747/0.2806, allocations: 0.5483 MB / 380.1 MB, free: 76.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.2809, allocations: 282.6 kB / 380.3 MB, free: 76.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/0.2875, allocations: 3.697 MB / 384 MB, free: 72.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/0.2875, allocations: 27.98 kB / 384.1 MB, free: 72.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.2876, allocations: 8 kB / 384.1 MB, free: 72.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2876, allocations: 11.97 kB / 384.1 MB, free: 72.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.2996, allocations: 8.981 MB / 393.1 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.2996, allocations: 7.828 kB / 393.1 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.3001, allocations: 231.7 kB / 393.3 MB, free: 63.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006238/0.3064, allocations: 3.408 MB / 396.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.3065, allocations: 47.95 kB / 396.7 MB, free: 59.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/0.3126, allocations: 4.867 MB / 401.6 MB, free: 55.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3126, allocations: 0 / 401.6 MB, free: 55.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008769/0.3214, allocations: 5.811 MB / 407.4 MB, free: 49.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.3219, allocations: 239.3 kB / 407.7 MB, free: 48.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/0.3222, allocations: 38.64 kB / 407.7 MB, free: 48.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3233, allocations: 219.6 kB / 407.9 MB, free: 48.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.3236, allocations: 116.8 kB / 408 MB, free: 48.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.3237, allocations: 51.97 kB / 408.1 MB, free: 48.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.3248, allocations: 1.067 MB / 409.1 MB, free: 47.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3248, allocations: 0 / 409.1 MB, free: 47.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003076/0.3279, allocations: 0.9205 MB / 410.1 MB, free: 46.58 MB / 330.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.0004137/0.3283, allocations: 185.6 kB / 410.2 MB, free: 46.4 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.005084/0.3334, allocations: 3.567 MB / 413.8 MB, free: 42.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3334, allocations: 4 kB / 413.8 MB, free: 42.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.3355, allocations: 1.535 MB / 415.3 MB, free: 41.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.3368, allocations: 276.5 kB / 415.6 MB, free: 40.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.3429, allocations: 5.459 MB / 421.1 MB, free: 35.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.3435, allocations: 0.8242 MB / 421.9 MB, free: 34.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001641/0.3451, allocations: 1.287 MB / 423.2 MB, free: 33.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.3455, allocations: 180.4 kB / 423.4 MB, free: 33.16 MB / 330.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3455, allocations: 0 / 423.4 MB, free: 33.16 MB / 330.7 MB Notification: Performance of Templates: time 0.04412/0.3896, allocations: 41.25 MB / 464.6 MB, free: 7.902 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.050609059166163]