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.002002/0.002002, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002093/0.002093, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.567/1.567, allocations: 177 MB / 204.5 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.293e-06/1.293e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.75e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009946/0.009973, allocations: 6.808 MB / 279 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006473/0.01645, allocations: 3.072 MB / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.01721, allocations: 39.81 kB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.01933, allocations: 0.9534 MB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.02264, allocations: 1.424 MB / 284.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.02387, allocations: 0.5925 MB / 285.1 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005358/0.02923, allocations: 4.17 MB / 289.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1286/0.1578, allocations: 1.853 MB / 291.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.1606, allocations: 1.43 MB / 292.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.1637, allocations: 1.715 MB / 294.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.1644, allocations: 183.7 kB / 294.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.1664, allocations: 0.9126 MB / 295.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.1676, allocations: 1.199 MB / 296.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.1687, allocations: 0.7247 MB / 297.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004778/0.1734, allocations: 4.46 MB / 301.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1735, allocations: 0 / 301.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1735, allocations: 2.812 kB / 301.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.607e-05/0.1735, allocations: 1.094 kB / 301.7 MB, free: 14.34 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.008347/0.1819, allocations: 3.943 MB / 305.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1819, allocations: 14.23 kB / 305.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.1879, allocations: 2.037 MB / 307.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.1908, allocations: 1.337 MB / 309.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.1909, allocations: 123.8 kB / 309.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.1912, allocations: 169.8 kB / 309.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005856/0.197, allocations: 4.397 MB / 313.8 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-05/0.1971, allocations: 37.66 kB / 313.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.1974, allocations: 90.88 kB / 313.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.199, allocations: 1.319 MB / 315.2 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005932/0.2049, allocations: 2.5 MB / 317.7 MB, free: 2.859 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.0435/0.2484, allocations: 34.15 MB / 351.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.2545, allocations: 1.47 MB / 353.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2556, allocations: 447.8 kB / 353.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006053/0.2562, allocations: 201.7 kB / 354 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.2562, allocations: 49.08 kB / 354 MB, free: 13.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.947e-06/0.2562, allocations: 4 kB / 354 MB, free: 13.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.06087/0.3171, allocations: 15.01 MB / 369 MB, free: 14.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.3172, allocations: 171.2 kB / 369.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.3226, allocations: 3.123 MB / 372.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.3229, allocations: 45.7 kB / 372.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/0.3254, allocations: 2.445 MB / 374.8 MB, free: 8.848 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.3265, allocations: 0.7278 MB / 375.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.3286, allocations: 1.241 MB / 376.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004269/0.329, allocations: 0.5551 MB / 377.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.3313, allocations: 0.8138 MB / 378.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006968/0.3383, allocations: 5.304 MB / 383.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.3485, allocations: 6.759 MB / 390.2 MB, free: 5.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001545/0.3487, allocations: 39.19 kB / 390.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.024/0.3727, allocations: 6.873 MB / 397.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/0.3728, allocations: 48 kB / 397.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.3729, allocations: 104 kB / 397.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/0.3869, allocations: 2.828 MB / 400.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.3909, allocations: 1.092 MB / 401.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.4058, allocations: 5.492 MB / 406.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/0.41, allocations: 367.4 kB / 407 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007317/0.4107, allocations: 308 kB / 407.3 MB, free: 4.172 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.001648/0.4124, allocations: 0.608 MB / 407.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/0.4131, allocations: 288.8 kB / 408.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.4285, allocations: 3.746 MB / 412 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.815e-05/0.4286, allocations: 31.94 kB / 412 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/0.4286, allocations: 8 kB / 412 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/0.4287, allocations: 7.969 kB / 412 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/0.4587, allocations: 9.595 MB / 421.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.4587, allocations: 4.062 kB / 421.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.4599, allocations: 227.6 kB / 421.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01492/0.4748, allocations: 3.437 MB / 425.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.4751, allocations: 43.95 kB / 425.3 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.4889, allocations: 4.997 MB / 430.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.489, allocations: 3.984 kB / 430.3 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/0.5087, allocations: 5.943 MB / 436.3 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/0.5095, allocations: 234.2 kB / 436.5 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/0.51, allocations: 39.97 kB / 436.5 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.5118, allocations: 219 kB / 436.7 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.5123, allocations: 128.6 kB / 436.9 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.5125, allocations: 51.97 kB / 436.9 MB, free: 6.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002528/0.5151, allocations: 1.25 MB / 438.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5151, allocations: 0 / 438.2 MB, free: 5.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004422/0.5195, allocations: 0.9023 MB / 439.1 MB, free: 4.102 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.0009212/0.5204, allocations: 177.9 kB / 439.2 MB, free: 3.922 MB / 394.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.01009/0.5305, allocations: 3.822 MB / 443.1 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.5305, allocations: 0 / 443.1 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1303/0.6608, allocations: 1.584 MB / 444.6 MB, free: 130.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.664, allocations: 277.9 kB / 444.9 MB, free: 130.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.678, allocations: 5.516 MB / 450.4 MB, free: 128.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/0.6812, allocations: 1.581 MB / 452 MB, free: 128.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004824/0.686, allocations: 1.285 MB / 453.3 MB, free: 128.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/0.6868, allocations: 191.1 kB / 453.5 MB, free: 128.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.003e-06/0.6868, allocations: 0 / 453.5 MB, free: 128.5 MB / 394.7 MB Notification: Performance of Templates: time 0.06055/0.7474, allocations: 39.87 MB / 493.4 MB, free: 100.2 MB / 394.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] 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: 6.5837518780026585]