Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00109/0.00109, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001039/0.001039, allocations: 164.5 kB / 25.6 MB, free: 8.934 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9652/0.9652, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.837e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005678/0.005697, allocations: 6.695 MB / 258.2 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005368/0.01106, allocations: 3.042 MB / 261.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006411/0.01171, allocations: 43.81 kB / 261.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.01338, allocations: 0.9456 MB / 262.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.016, allocations: 1.451 MB / 263.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.01684, allocations: 0.6003 MB / 264.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.02032, allocations: 4.041 MB / 268.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.02219, allocations: 1.872 MB / 270.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.02394, allocations: 1.454 MB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.02593, allocations: 1.68 MB / 273.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.02626, allocations: 172 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.02752, allocations: 0.9085 MB / 274.4 MB, free: 264 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008604/0.02838, allocations: 1.2 MB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.0291, allocations: 0.7203 MB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.03206, allocations: 2.938 MB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03206, allocations: 0 / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03206, allocations: 0 / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.0321, allocations: 0 / 279.2 MB, free: 11.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.005154/0.03726, allocations: 3.35 MB / 282.6 MB, free: 7.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.03731, allocations: 15.98 kB / 282.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.04078, allocations: 1.131 MB / 283.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.04269, allocations: 1.238 MB / 285 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.04277, allocations: 123.5 kB / 285.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.04305, allocations: 175.8 kB / 285.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.0474, allocations: 3.753 MB / 289 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/0.04747, allocations: 39.67 kB / 289 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.04768, allocations: 91.88 kB / 289.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.04909, allocations: 1.175 MB / 290.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.0528, allocations: 1.757 MB / 292.1 MB, free: 13.71 MB / 282.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.02175/0.07455, allocations: 30.92 MB / 323 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.0768, allocations: 1.091 MB / 324.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.07716, allocations: 376.1 kB / 324.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.0774, allocations: 160.2 kB / 324.6 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.07744, allocations: 57.83 kB / 324.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.328e-06/0.07744, allocations: 4 kB / 324.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.02339/0.1008, allocations: 9.085 MB / 333.8 MB, free: 2.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.1009, allocations: 171.2 kB / 333.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.1034, allocations: 2.517 MB / 336.4 MB, free: 108 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.1035, allocations: 49.7 kB / 336.5 MB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.1045, allocations: 2.314 MB / 338.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.105, allocations: 0.6785 MB / 339.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.1067, allocations: 1.092 MB / 340.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1069, allocations: 0.5315 MB / 341.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.1081, allocations: 0.6888 MB / 341.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.1117, allocations: 5.055 MB / 346.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1262/0.2379, allocations: 6.225 MB / 353.1 MB, free: 87.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.238, allocations: 31.91 kB / 353.1 MB, free: 87.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.009359/0.2474, allocations: 5.283 MB / 358.4 MB, free: 86.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.2474, allocations: 50.31 kB / 358.4 MB, free: 86.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/0.2475, allocations: 103.2 kB / 358.5 MB, free: 86.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/0.2523, allocations: 1.701 MB / 360.2 MB, free: 86.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.2543, allocations: 1.041 MB / 361.3 MB, free: 86.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0083/0.2626, allocations: 4.507 MB / 365.8 MB, free: 84.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/0.2662, allocations: 211.7 kB / 366 MB, free: 84.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006515/0.2669, allocations: 270.4 kB / 366.3 MB, free: 84.27 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.001274/0.2681, allocations: 0.5439 MB / 366.8 MB, free: 83.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/0.2687, allocations: 281.8 kB / 367.1 MB, free: 83.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008011/0.2768, allocations: 2.421 MB / 369.5 MB, free: 82.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.359e-05/0.2768, allocations: 28 kB / 369.5 MB, free: 82.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.2768, allocations: 12 kB / 369.5 MB, free: 82.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.2768, allocations: 6.375 kB / 369.5 MB, free: 82.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.2926, allocations: 5.778 MB / 375.3 MB, free: 76.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.2926, allocations: 0 / 375.3 MB, free: 76.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.2932, allocations: 171.7 kB / 375.5 MB, free: 76.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004739/0.2979, allocations: 1.6 MB / 377.1 MB, free: 75.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.2981, allocations: 47.95 kB / 377.1 MB, free: 75.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.3032, allocations: 3.789 MB / 380.9 MB, free: 71.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3032, allocations: 0 / 380.9 MB, free: 71.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.3096, allocations: 3.539 MB / 384.5 MB, free: 67.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00077/0.3104, allocations: 231.4 kB / 384.7 MB, free: 67.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3106, allocations: 37.42 kB / 384.7 MB, free: 67.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.3113, allocations: 27.94 kB / 384.7 MB, free: 67.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.3117, allocations: 120.7 kB / 384.9 MB, free: 67.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.3118, allocations: 43.97 kB / 384.9 MB, free: 67.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.3128, allocations: 0.9977 MB / 385.9 MB, free: 66.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3128, allocations: 4 kB / 385.9 MB, free: 66.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003161/0.316, allocations: 0.9268 MB / 386.8 MB, free: 65.43 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.0003833/0.3164, allocations: 185.2 kB / 387 MB, free: 65.26 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.004249/0.3206, allocations: 3.129 MB / 390.1 MB, free: 62.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3206, allocations: 4 kB / 390.2 MB, free: 62.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001824/0.3225, allocations: 1.23 MB / 391.4 MB, free: 60.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.3239, allocations: 275.2 kB / 391.7 MB, free: 60.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/0.3302, allocations: 5.36 MB / 397 MB, free: 55.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.3308, allocations: 0.8169 MB / 397.8 MB, free: 54.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009096/0.3317, allocations: 367.5 kB / 398.2 MB, free: 54.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.3322, allocations: 442 kB / 398.6 MB, free: 53.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.654e-06/0.3322, allocations: 4 kB / 398.6 MB, free: 53.64 MB / 330.7 MB Notification: Performance of Templates: time 0.04533/0.3775, allocations: 42.75 MB / 441.4 MB, free: 10.95 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8444541841745377]