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.002497/0.002497, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002811/0.002811, allocations: 153.1 kB / 24.27 MB, free: 168 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 1.564/1.564, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.589e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01838/0.01841, allocations: 6.826 MB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02971, allocations: 3.068 MB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.03057, allocations: 35.88 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.03288, allocations: 0.9574 MB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.0363, allocations: 1.447 MB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.03756, allocations: 0.5964 MB / 280.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004993/0.04256, allocations: 4.02 MB / 284.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.04501, allocations: 1.876 MB / 286.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.04715, allocations: 1.434 MB / 287.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.04972, allocations: 1.715 MB / 289.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.05007, allocations: 184 kB / 289.5 MB, free: 500 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1182/0.1683, allocations: 0.92 MB / 290.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.1697, allocations: 1.211 MB / 291.6 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.1708, allocations: 0.741 MB / 292.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.1764, allocations: 4.508 MB / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1764, allocations: 0 / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1764, allocations: 0.625 kB / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.919e-05/0.1765, allocations: 0 / 296.9 MB, free: 19.87 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.008664/0.1852, allocations: 3.865 MB / 300.7 MB, free: 18.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1852, allocations: 11.2 kB / 300.7 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00663/0.1918, allocations: 2.03 MB / 302.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.1952, allocations: 1.331 MB / 304.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.1952, allocations: 135.4 kB / 304.2 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.1956, allocations: 165.7 kB / 304.4 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006769/0.2024, allocations: 4.391 MB / 308.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.2024, allocations: 31.12 kB / 308.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.2027, allocations: 83.38 kB / 308.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.2044, allocations: 1.33 MB / 310.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005825/0.2102, allocations: 2.5 MB / 312.7 MB, free: 12.72 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.0381/0.2483, allocations: 34.18 MB / 346.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/0.2539, allocations: 1.477 MB / 348.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009365/0.2549, allocations: 453.4 kB / 348.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/0.2555, allocations: 195 kB / 349 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.2555, allocations: 50.58 kB / 349.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.968e-06/0.2555, allocations: 0 / 349.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.06278/0.3183, allocations: 15 MB / 364.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.3185, allocations: 175.2 kB / 364.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005922/0.3244, allocations: 3.143 MB / 367.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004755/0.3248, allocations: 45.7 kB / 367.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/0.3275, allocations: 2.454 MB / 369.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.3287, allocations: 0.7157 MB / 370.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002463/0.3312, allocations: 1.245 MB / 371.8 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003985/0.3316, allocations: 0.5512 MB / 372.4 MB, free: 164 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.3337, allocations: 0.8138 MB / 373.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/0.3406, allocations: 5.313 MB / 378.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00978/0.3504, allocations: 6.759 MB / 385.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/0.3505, allocations: 32.69 kB / 385.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02306/0.3736, allocations: 6.877 MB / 392.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.3737, allocations: 48.97 kB / 392.2 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.3738, allocations: 104 kB / 392.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01393/0.3877, allocations: 2.845 MB / 395.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.392, allocations: 1.084 MB / 396.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.4069, allocations: 5.483 MB / 401.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.4113, allocations: 367.3 kB / 402.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000876/0.4122, allocations: 304 kB / 402.4 MB, free: 14.02 MB / 362.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.001794/0.414, allocations: 0.617 MB / 403 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008095/0.4148, allocations: 278.4 kB / 403.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/0.4305, allocations: 3.746 MB / 407 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-05/0.4306, allocations: 34.98 kB / 407.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.4306, allocations: 11.98 kB / 407.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/0.4307, allocations: 7.984 kB / 407.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03963/0.4703, allocations: 9.604 MB / 416.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.934e-05/0.4704, allocations: 7.625 kB / 416.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.4721, allocations: 231.7 kB / 416.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01849/0.4906, allocations: 3.433 MB / 420.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004085/0.491, allocations: 47.95 kB / 420.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5052, allocations: 4.998 MB / 425.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.5052, allocations: 7.938 kB / 425.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/0.525, allocations: 5.943 MB / 431.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.5262, allocations: 238.1 kB / 431.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/0.5267, allocations: 35.98 kB / 431.6 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.5286, allocations: 219.6 kB / 431.8 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004836/0.5291, allocations: 116.7 kB / 432 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.5293, allocations: 59.95 kB / 432 MB, free: 88 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1272/0.6565, allocations: 1.251 MB / 433.3 MB, free: 121.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6565, allocations: 0 / 433.3 MB, free: 121.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004469/0.6609, allocations: 0.9209 MB / 434.2 MB, free: 121.3 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.0004813/0.6614, allocations: 178.7 kB / 434.4 MB, free: 121.2 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.008224/0.6696, allocations: 3.82 MB / 438.2 MB, free: 120.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6696, allocations: 1.188 kB / 438.2 MB, free: 120.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.6735, allocations: 1.601 MB / 439.8 MB, free: 120.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.6754, allocations: 271.5 kB / 440.1 MB, free: 120.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.6834, allocations: 5.527 MB / 445.6 MB, free: 118.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.685, allocations: 1.586 MB / 447.2 MB, free: 118.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002386/0.6874, allocations: 1.284 MB / 448.5 MB, free: 118.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.6879, allocations: 185.6 kB / 448.6 MB, free: 118.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6879, allocations: 0 / 448.6 MB, free: 118.1 MB / 378.7 MB Notification: Performance of Templates: time 0.05086/0.7387, allocations: 40.01 MB / 488.6 MB, free: 82.31 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.520836235024035]