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.0009367/0.0009367, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009736/0.0009736, allocations: 165.5 kB / 24.82 MB, free: 9.316 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.9804/0.9804, allocations: 177 MB / 205.1 MB, free: 5.488 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.242e-06/1.242e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.854e-05, allocations: 5.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005903/0.005921, allocations: 6.665 MB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00659/0.01251, allocations: 3.06 MB / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.0135, allocations: 39.81 kB / 283.1 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.01504, allocations: 0.9456 MB / 284.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.01722, allocations: 1.428 MB / 285.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.01797, allocations: 0.5886 MB / 286.1 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.02175, allocations: 4.177 MB / 290.2 MB, free: 268 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1175/0.1393, allocations: 1.865 MB / 292.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.1419, allocations: 1.436 MB / 293.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.1444, allocations: 1.677 MB / 295.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004987/0.1449, allocations: 172.5 kB / 295.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.1464, allocations: 0.905 MB / 296.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1474, allocations: 1.181 MB / 297.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.1483, allocations: 0.7035 MB / 298.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.151, allocations: 2.896 MB / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.151, allocations: 1.344 kB / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.151, allocations: 0 / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.629e-05/0.1511, allocations: 0 / 301.1 MB, free: 14.98 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.004365/0.1554, allocations: 3.443 MB / 304.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1555, allocations: 13.7 kB / 304.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.158, allocations: 1.116 MB / 305.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1593, allocations: 1.215 MB / 306.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.1594, allocations: 126.1 kB / 307 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1595, allocations: 163.1 kB / 307.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.1626, allocations: 3.754 MB / 310.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.1627, allocations: 36.31 kB / 310.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1628, allocations: 86.27 kB / 311 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009269/0.1638, allocations: 1.179 MB / 312.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.1662, allocations: 1.76 MB / 314 MB, free: 7.711 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.02029/0.1865, allocations: 30.92 MB / 344.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.1887, allocations: 1.089 MB / 346 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1891, allocations: 388 kB / 346.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.1893, allocations: 164.1 kB / 346.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1894, allocations: 53.08 kB / 346.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.246e-06/0.1894, allocations: 0 / 346.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.0303/0.2197, allocations: 9.054 MB / 355.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2197, allocations: 175.2 kB / 355.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.2227, allocations: 2.5 MB / 358.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.2229, allocations: 45.7 kB / 358.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.2243, allocations: 2.319 MB / 360.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/0.225, allocations: 0.6796 MB / 361.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.2263, allocations: 1.089 MB / 362.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004284/0.2268, allocations: 0.5345 MB / 363 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.228, allocations: 0.6849 MB / 363.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.2318, allocations: 5.05 MB / 368.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/0.2376, allocations: 6.257 MB / 375 MB, free: 6.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.774e-05/0.2376, allocations: 32 kB / 375 MB, free: 6.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0118/0.2494, allocations: 5.266 MB / 380.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.2495, allocations: 52 kB / 380.3 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.2496, allocations: 103.9 kB / 380.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007067/0.2567, allocations: 1.707 MB / 382.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.2596, allocations: 1.041 MB / 383.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.2661, allocations: 4.498 MB / 387.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/0.2697, allocations: 223.6 kB / 387.9 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/0.2701, allocations: 264.6 kB / 388.1 MB, free: 9.605 MB / 346.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.001284/0.2714, allocations: 0.543 MB / 388.7 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/0.2719, allocations: 278.4 kB / 388.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005602/0.2775, allocations: 2.412 MB / 391.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/0.2775, allocations: 35.98 kB / 391.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.2775, allocations: 8 kB / 391.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.2776, allocations: 11.92 kB / 391.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.289, allocations: 5.76 MB / 397.2 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.289, allocations: 4 kB / 397.2 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.2896, allocations: 171.8 kB / 397.3 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005344/0.2949, allocations: 1.601 MB / 398.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.2951, allocations: 47.94 kB / 399 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005839/0.3009, allocations: 3.796 MB / 402.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3009, allocations: 4 kB / 402.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006929/0.3079, allocations: 3.542 MB / 406.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/0.3085, allocations: 230.2 kB / 406.5 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.3087, allocations: 35.98 kB / 406.6 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.3094, allocations: 28 kB / 406.6 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.3097, allocations: 112.8 kB / 406.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.3098, allocations: 43.97 kB / 406.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.311, allocations: 0.9844 MB / 407.7 MB, free: 5.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.311, allocations: 0 / 407.7 MB, free: 5.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003251/0.3142, allocations: 0.9062 MB / 408.7 MB, free: 4.719 MB / 362.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.0004078/0.3146, allocations: 174.9 kB / 408.8 MB, free: 4.539 MB / 362.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.004701/0.3193, allocations: 3.136 MB / 412 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3193, allocations: 0 / 412 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.3212, allocations: 1.239 MB / 413.2 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3224, allocations: 274.8 kB / 413.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.3292, allocations: 5.341 MB / 418.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.3299, allocations: 0.8167 MB / 419.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008579/0.3308, allocations: 359.5 kB / 420 MB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.3313, allocations: 442 kB / 420.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3313, allocations: 4 kB / 420.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of Templates: time 0.1563/0.4877, allocations: 42.38 MB / 462.8 MB, free: 99.74 MB / 378.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.754819613881409]