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.0009599/0.0009599, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001158/0.001158, allocations: 168.7 kB / 25.7 MB, free: 8.418 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.9621/0.9621, allocations: 158.6 MB / 187.6 MB, free: 2.758 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.323e-06/1.323e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.446e-05, allocations: 6.25 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01897/0.01899, allocations: 6.746 MB / 258.3 MB, free: 432 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.03666, allocations: 3.146 MB / 261.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007602/0.03742, allocations: 35.88 kB / 261.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.03919, allocations: 0.9417 MB / 262.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.04213, allocations: 1.431 MB / 263.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.04305, allocations: 0.5963 MB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.04636, allocations: 4.032 MB / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.04784, allocations: 1.659 MB / 270.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.04919, allocations: 1.399 MB / 271.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.05091, allocations: 1.563 MB / 273.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.05113, allocations: 172 kB / 273.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.05245, allocations: 0.9319 MB / 274.2 MB, free: 480 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.05317, allocations: 1.196 MB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.05367, allocations: 0.7203 MB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.05593, allocations: 2.93 MB / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.05593, allocations: 0 / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05593, allocations: 8 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.05595, allocations: 3.938 kB / 279.1 MB, free: 11.59 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.003423/0.05938, allocations: 2.925 MB / 282 MB, free: 8.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.05941, allocations: 15.98 kB / 282 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.06162, allocations: 0.8474 MB / 282.9 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.06331, allocations: 1.129 MB / 284 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.06344, allocations: 123.5 kB / 284.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.06393, allocations: 175.8 kB / 284.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.06759, allocations: 3.272 MB / 287.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.06766, allocations: 31.7 kB / 287.6 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.06785, allocations: 87.89 kB / 287.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/0.06892, allocations: 1.175 MB / 288.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.07188, allocations: 1.721 MB / 290.6 MB, free: 15.46 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.0161/0.08799, allocations: 21.97 MB / 312.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.09009, allocations: 1.059 MB / 313.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.09043, allocations: 297.7 kB / 313.9 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.09067, allocations: 156.2 kB / 314.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.09071, allocations: 55 kB / 314.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.397e-06/0.09071, allocations: 0 / 314.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.02075/0.1115, allocations: 7.826 MB / 321.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.1115, allocations: 171.2 kB / 322.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.1135, allocations: 2.226 MB / 324.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.1137, allocations: 45.7 kB / 324.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/0.1146, allocations: 2.078 MB / 326.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000549/0.1151, allocations: 0.655 MB / 327.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008381/0.116, allocations: 0.9141 MB / 328 MB, free: 8.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1161, allocations: 357.8 kB / 328.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.1173, allocations: 0.8053 MB / 329.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.1198, allocations: 3.608 MB / 332.8 MB, free: 2.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.1238, allocations: 4.803 MB / 337.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.617e-05/0.1238, allocations: 32 kB / 337.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.00845/0.1323, allocations: 4.579 MB / 342.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.1323, allocations: 50.97 kB / 342.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-05/0.1324, allocations: 104 kB / 342.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005053/0.1375, allocations: 1.695 MB / 344 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.1399, allocations: 1.08 MB / 345.1 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.1462, allocations: 3.868 MB / 349 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.1487, allocations: 207.7 kB / 349.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/0.1491, allocations: 268 kB / 349.5 MB, free: 436 kB / 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.1058/0.255, allocations: 0.4922 MB / 349.9 MB, free: 91.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005718/0.2555, allocations: 165 kB / 350.1 MB, free: 91.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.261, allocations: 2.187 MB / 352.3 MB, free: 91.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/0.261, allocations: 30.55 kB / 352.3 MB, free: 91.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.2611, allocations: 7.75 kB / 352.3 MB, free: 91.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.2611, allocations: 13.12 kB / 352.3 MB, free: 91.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/0.2706, allocations: 4.983 MB / 357.3 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.2706, allocations: 0 / 357.3 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.2711, allocations: 195.8 kB / 357.5 MB, free: 90.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005034/0.2762, allocations: 1.706 MB / 359.2 MB, free: 90.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.2764, allocations: 42.86 kB / 359.3 MB, free: 90.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/0.2818, allocations: 3.17 MB / 362.4 MB, free: 89.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2818, allocations: 3.188 kB / 362.4 MB, free: 89.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006366/0.2881, allocations: 3.152 MB / 365.6 MB, free: 88.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.2887, allocations: 228 kB / 365.8 MB, free: 88.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.289, allocations: 39.92 kB / 365.9 MB, free: 88.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.2898, allocations: 29.31 kB / 365.9 MB, free: 88.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000322/0.2901, allocations: 114.3 kB / 366 MB, free: 87.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.2902, allocations: 49 kB / 366 MB, free: 87.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008743/0.2911, allocations: 0.7693 MB / 366.8 MB, free: 87.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2911, allocations: 3.719 kB / 366.8 MB, free: 87.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00269/0.2938, allocations: 0.9239 MB / 367.7 MB, free: 86.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.0003734/0.2941, allocations: 172.9 kB / 367.9 MB, free: 86.3 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.003527/0.2977, allocations: 2.782 MB / 370.7 MB, free: 83.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.069e-05/0.2977, allocations: 59.94 kB / 370.7 MB, free: 83.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.2993, allocations: 1.042 MB / 371.8 MB, free: 82.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3006, allocations: 382.9 kB / 372.2 MB, free: 82.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/0.3058, allocations: 5.162 MB / 377.3 MB, free: 77.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.3064, allocations: 0.8081 MB / 378.1 MB, free: 76.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008634/0.3073, allocations: 369.9 kB / 378.5 MB, free: 76.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.3079, allocations: 413 kB / 378.9 MB, free: 75.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3079, allocations: 0 / 378.9 MB, free: 75.73 MB / 330.7 MB Notification: Performance of Templates: time 0.04334/0.3512, allocations: 42.61 MB / 421.5 MB, free: 33.21 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 -s gbode -gbm=radauIIA3 -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.775974643882364]