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.0009934/0.0009934, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001014/0.001014, allocations: 165.2 kB / 25.61 MB, free: 8.922 MB / 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 0.9405/0.9405, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.318e-05, allocations: 4.609 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00588/0.005903, allocations: 6.673 MB / 280.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.01051, allocations: 3.063 MB / 283.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.01112, allocations: 43.81 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.01248, allocations: 0.9417 MB / 284.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.01486, allocations: 1.427 MB / 286.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.01572, allocations: 0.5925 MB / 286.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.01924, allocations: 4.172 MB / 291 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.02115, allocations: 1.864 MB / 292.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.02355, allocations: 1.446 MB / 294.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.02574, allocations: 1.684 MB / 296 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.02604, allocations: 172 kB / 296.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.02724, allocations: 0.9007 MB / 297.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.02794, allocations: 1.176 MB / 298.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006032/0.02855, allocations: 0.7047 MB / 299 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.0309, allocations: 2.884 MB / 301.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.0309, allocations: 4 kB / 301.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0309, allocations: 0 / 301.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.03094, allocations: 0 / 301.9 MB, free: 8.434 MB / 282.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.00428/0.03522, allocations: 3.44 MB / 305.3 MB, free: 4.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.03525, allocations: 8.031 kB / 305.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.0379, allocations: 1.127 MB / 306.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.03925, allocations: 1.211 MB / 307.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.03931, allocations: 123.5 kB / 307.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.03953, allocations: 171.8 kB / 307.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.04316, allocations: 3.749 MB / 311.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.04322, allocations: 35.69 kB / 311.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.04339, allocations: 95.88 kB / 311.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.04462, allocations: 1.171 MB / 313 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.04739, allocations: 1.769 MB / 314.8 MB, free: 10.72 MB / 298.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.01725/0.06465, allocations: 30.92 MB / 345.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.06704, allocations: 1.104 MB / 346.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.06743, allocations: 367.8 kB / 347.1 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.06767, allocations: 164.1 kB / 347.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.0677, allocations: 53.88 kB / 347.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.196e-06/0.06771, allocations: 0 / 347.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=163): time 0.1352/0.2029, allocations: 9.057 MB / 356.4 MB, free: 80.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.203, allocations: 171.3 kB / 356.6 MB, free: 80.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.2059, allocations: 2.496 MB / 359.1 MB, free: 80.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.2062, allocations: 47.3 kB / 359.1 MB, free: 80.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.2072, allocations: 2.317 MB / 361.4 MB, free: 78.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/0.2079, allocations: 0.6786 MB / 362.1 MB, free: 78.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.209, allocations: 1.09 MB / 363.2 MB, free: 78.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.2091, allocations: 0.5334 MB / 363.7 MB, free: 77.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.2102, allocations: 0.6904 MB / 364.4 MB, free: 77.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.2124, allocations: 5.048 MB / 369.5 MB, free: 72.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.2157, allocations: 6.252 MB / 375.7 MB, free: 66.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.525e-05/0.2158, allocations: 28.88 kB / 375.8 MB, free: 66.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.008395/0.2242, allocations: 5.261 MB / 381 MB, free: 65.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.2242, allocations: 50.12 kB / 381.1 MB, free: 65.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.83e-05/0.2243, allocations: 110.3 kB / 381.2 MB, free: 65.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004935/0.2292, allocations: 1.701 MB / 382.9 MB, free: 64.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.2309, allocations: 1.049 MB / 383.9 MB, free: 63.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.2365, allocations: 4.486 MB / 388.4 MB, free: 59.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.2389, allocations: 223.6 kB / 388.6 MB, free: 59.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.2392, allocations: 271.9 kB / 388.9 MB, free: 59.12 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 (wheel1.body.sphereColor[1],wheel1.body.sphereColor[2],wheel1.body.sphereColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.000795/0.24, allocations: 0.5363 MB / 389.4 MB, free: 58.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.2403, allocations: 282.3 kB / 389.7 MB, free: 58.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.2455, allocations: 2.42 MB / 392.1 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/0.2455, allocations: 28 kB / 392.1 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.2455, allocations: 8 kB / 392.2 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.2456, allocations: 15.69 kB / 392.2 MB, free: 55.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009906/0.2555, allocations: 5.763 MB / 397.9 MB, free: 50.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2555, allocations: 4 kB / 397.9 MB, free: 50.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.256, allocations: 179.7 kB / 398.1 MB, free: 49.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0049/0.2609, allocations: 1.598 MB / 399.7 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.261, allocations: 43.95 kB / 399.8 MB, free: 48.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.2662, allocations: 3.79 MB / 403.5 MB, free: 44.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2662, allocations: 0 / 403.5 MB, free: 44.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006478/0.2727, allocations: 3.542 MB / 407.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.2733, allocations: 226.2 kB / 407.3 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.2735, allocations: 41.06 kB / 407.3 MB, free: 40.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.2742, allocations: 24 kB / 407.4 MB, free: 40.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.2745, allocations: 124.6 kB / 407.5 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.2746, allocations: 47.95 kB / 407.5 MB, free: 40.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008571/0.2755, allocations: 0.9844 MB / 408.5 MB, free: 39.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2755, allocations: 0 / 408.5 MB, free: 39.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002675/0.2781, allocations: 0.8984 MB / 409.4 MB, free: 38.37 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.0003765/0.2785, allocations: 175 kB / 409.6 MB, free: 38.18 MB / 330.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.003854/0.2824, allocations: 3.137 MB / 412.7 MB, free: 35.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2824, allocations: 4 kB / 412.7 MB, free: 35.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.284, allocations: 1.238 MB / 414 MB, free: 33.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2851, allocations: 273.9 kB / 414.2 MB, free: 33.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.2904, allocations: 5.326 MB / 419.6 MB, free: 28.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.291, allocations: 0.8087 MB / 420.4 MB, free: 27.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008218/0.2918, allocations: 362.9 kB / 420.7 MB, free: 26.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.2923, allocations: 450 kB / 421.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2923, allocations: 0 / 421.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of Templates: time 0.04382/0.3361, allocations: 43.3 MB / 464.5 MB, free: 15.51 MB / 362.7 MB " [Timeout remaining time 660] 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","",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.9321889453567564]