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.001921/0.001921, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.00202/0.00202, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 18.57 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.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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 1.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.873e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009792/0.009821, allocations: 6.801 MB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006815/0.01664, allocations: 3.08 MB / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.01741, allocations: 35.81 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.01961, allocations: 0.9612 MB / 283.2 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.02315, allocations: 1.42 MB / 284.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.02459, allocations: 0.5886 MB / 285.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005788/0.03038, allocations: 4.162 MB / 289.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1228/0.1532, allocations: 1.857 MB / 291.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.1556, allocations: 1.43 MB / 292.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.1588, allocations: 1.714 MB / 294.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007545/0.1596, allocations: 183.4 kB / 294.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.162, allocations: 0.911 MB / 295.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.1635, allocations: 1.203 MB / 296.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1647, allocations: 0.7301 MB / 297.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.1698, allocations: 4.461 MB / 301.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1698, allocations: 0 / 301.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1698, allocations: 0 / 301.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.693e-05/0.1699, allocations: 0 / 301.9 MB, free: 14.38 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.009452/0.1794, allocations: 3.944 MB / 305.8 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1794, allocations: 9.969 kB / 305.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.1856, allocations: 2.032 MB / 307.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/0.189, allocations: 1.332 MB / 309.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.1891, allocations: 127.9 kB / 309.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.1895, allocations: 172.4 kB / 309.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006237/0.1957, allocations: 4.398 MB / 313.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/0.1958, allocations: 31.23 kB / 313.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.196, allocations: 87.58 kB / 314 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/0.1976, allocations: 1.327 MB / 315.3 MB, free: 5.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005375/0.203, allocations: 2.5 MB / 317.8 MB, free: 2.957 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.04093/0.2439, allocations: 34.14 MB / 352 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/0.2494, allocations: 1.486 MB / 353.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009218/0.2503, allocations: 449.9 kB / 353.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.2508, allocations: 186.9 kB / 354.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.2509, allocations: 48.42 kB / 354.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.536e-06/0.2509, allocations: 4 kB / 354.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.061/0.3119, allocations: 15.01 MB / 369.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003639/0.3123, allocations: 175.2 kB / 369.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.3173, allocations: 3.127 MB / 372.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.3177, allocations: 45.7 kB / 372.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002352/0.32, allocations: 2.441 MB / 374.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.3212, allocations: 0.7247 MB / 375.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/0.3235, allocations: 1.245 MB / 376.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003953/0.3239, allocations: 0.559 MB / 377.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.3258, allocations: 0.8099 MB / 378.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006593/0.3324, allocations: 5.302 MB / 383.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/0.3422, allocations: 6.759 MB / 390.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/0.3423, allocations: 32 kB / 390.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02291/0.3653, allocations: 6.875 MB / 397.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.3653, allocations: 52 kB / 397.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.3655, allocations: 100 kB / 397.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01429/0.3798, allocations: 2.837 MB / 400.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/0.384, allocations: 1.092 MB / 401.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/0.3996, allocations: 5.483 MB / 406.8 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.4041, allocations: 363.4 kB / 407.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/0.4056, allocations: 308 kB / 407.4 MB, free: 4.27 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.004382/0.4099, allocations: 0.614 MB / 408 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/0.4111, allocations: 278.4 kB / 408.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.4272, allocations: 3.742 MB / 412.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/0.4273, allocations: 35.86 kB / 412.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/0.4273, allocations: 12 kB / 412.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/0.4273, allocations: 7.984 kB / 412.1 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/0.4594, allocations: 9.594 MB / 421.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/0.4595, allocations: 0 / 421.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.4608, allocations: 231.6 kB / 421.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01551/0.4763, allocations: 3.431 MB / 425.4 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004752/0.4767, allocations: 51.89 kB / 425.4 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.4914, allocations: 5.004 MB / 430.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4914, allocations: 0 / 430.4 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/0.5115, allocations: 5.947 MB / 436.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009572/0.5124, allocations: 238.2 kB / 436.6 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/0.5129, allocations: 35.98 kB / 436.6 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/0.5149, allocations: 215.6 kB / 436.8 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004924/0.5154, allocations: 116.6 kB / 437 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.5155, allocations: 55.95 kB / 437 MB, free: 6.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002557/0.5181, allocations: 1.25 MB / 438.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5181, allocations: 3.938 kB / 438.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004607/0.5227, allocations: 0.901 MB / 439.2 MB, free: 4.199 MB / 394.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.0005651/0.5233, allocations: 178.2 kB / 439.3 MB, free: 4.02 MB / 394.7 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.009938/0.5332, allocations: 3.829 MB / 443.2 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5332, allocations: 4 kB / 443.2 MB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1362/0.6694, allocations: 1.585 MB / 444.8 MB, free: 130.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.6721, allocations: 270.3 kB / 445 MB, free: 130.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6825, allocations: 5.523 MB / 450.5 MB, free: 128.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.6849, allocations: 1.575 MB / 452.1 MB, free: 128.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003068/0.688, allocations: 1.288 MB / 453.4 MB, free: 128.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.6885, allocations: 187.8 kB / 453.6 MB, free: 128.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6885, allocations: 0.7656 kB / 453.6 MB, free: 128.5 MB / 394.7 MB Notification: Performance of Templates: time 0.06008/0.7486, allocations: 39.89 MB / 493.5 MB, free: 100.2 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] 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.614879701053724]