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.001036/0.001036, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.001164/0.001164, allocations: 166.9 kB / 25.75 MB, free: 8.957 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.945/0.945, allocations: 158.6 MB / 187.5 MB, free: 2.578 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 2.034e-06/2.034e-06, allocations: 0 / 251.1 MB, free: 7.656 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.412e-05, allocations: 6.25 kB / 251.1 MB, free: 7.648 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006517/0.006551, allocations: 6.859 MB / 258 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.01115, allocations: 3.073 MB / 261.1 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.01172, allocations: 35.88 kB / 261.1 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.01312, allocations: 0.9534 MB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.01522, allocations: 1.459 MB / 263.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.01596, allocations: 0.5925 MB / 264.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.0189, allocations: 4.021 MB / 268.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.0205, allocations: 1.879 MB / 270 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.022, allocations: 1.438 MB / 271.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.02357, allocations: 1.711 MB / 273.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.02381, allocations: 187.9 kB / 273.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.02495, allocations: 0.9242 MB / 274.2 MB, free: 444 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007426/0.02569, allocations: 1.219 MB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.02635, allocations: 0.7359 MB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.02895, allocations: 2.997 MB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.02895, allocations: 0 / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02896, allocations: 0 / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.589e-05/0.02899, allocations: 0 / 279.2 MB, free: 11.46 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.004506/0.0335, allocations: 3.593 MB / 282.8 MB, free: 7.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.03354, allocations: 11.98 kB / 282.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/0.03736, allocations: 2.039 MB / 284.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.03904, allocations: 1.362 MB / 286.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.03911, allocations: 127.5 kB / 286.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.03933, allocations: 167.8 kB / 286.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.04362, allocations: 4.124 MB / 290.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.04367, allocations: 31.7 kB / 290.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.04384, allocations: 83.91 kB / 290.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.04501, allocations: 1.327 MB / 292.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.04885, allocations: 2.244 MB / 294.3 MB, free: 11.54 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.02038/0.06923, allocations: 31.84 MB / 326.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.07226, allocations: 1.434 MB / 327.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.07278, allocations: 440.1 kB / 328 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.07307, allocations: 196.1 kB / 328.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.07312, allocations: 61.77 kB / 328.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.918e-06/0.07312, allocations: 0 / 328.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.03083/0.1039, allocations: 14.96 MB / 343.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.104, allocations: 167.2 kB / 343.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.1068, allocations: 2.518 MB / 345.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.107, allocations: 53.69 kB / 346 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.1081, allocations: 2.299 MB / 348.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005501/0.1086, allocations: 0.6824 MB / 348.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009817/0.1096, allocations: 1.069 MB / 350 MB, free: 2.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1098, allocations: 0.5277 MB / 350.5 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.1109, allocations: 0.7786 MB / 351.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1246/0.2355, allocations: 5.098 MB / 356.4 MB, free: 94.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.2404, allocations: 6.493 MB / 362.9 MB, free: 88.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/0.2405, allocations: 29.91 kB / 362.9 MB, free: 88.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01479/0.2553, allocations: 6.762 MB / 369.7 MB, free: 87.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.2554, allocations: 52.34 kB / 369.7 MB, free: 87.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/0.2555, allocations: 108.1 kB / 369.8 MB, free: 87.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008344/0.2638, allocations: 2.812 MB / 372.7 MB, free: 86.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.2666, allocations: 1.092 MB / 373.8 MB, free: 85.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.2755, allocations: 5.293 MB / 379 MB, free: 80.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/0.2788, allocations: 370.6 kB / 379.4 MB, free: 79.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/0.2792, allocations: 308 kB / 379.7 MB, free: 79.47 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 (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.001063/0.2803, allocations: 0.5374 MB / 380.2 MB, free: 78.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.2807, allocations: 282.5 kB / 380.5 MB, free: 78.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008925/0.2897, allocations: 3.704 MB / 384.2 MB, free: 75.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/0.2897, allocations: 31.98 kB / 384.3 MB, free: 75.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.2897, allocations: 8 kB / 384.3 MB, free: 75.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.2897, allocations: 9.281 kB / 384.3 MB, free: 75.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.3065, allocations: 8.98 MB / 393.3 MB, free: 66.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.3065, allocations: 6.344 kB / 393.3 MB, free: 66.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.3072, allocations: 231.7 kB / 393.5 MB, free: 65.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/0.3137, allocations: 3.404 MB / 396.9 MB, free: 62.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.3139, allocations: 49.92 kB / 396.9 MB, free: 62.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.3205, allocations: 4.873 MB / 401.8 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3205, allocations: 0 / 401.8 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008856/0.3294, allocations: 5.807 MB / 407.6 MB, free: 51.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.3299, allocations: 245.3 kB / 407.9 MB, free: 51.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.3301, allocations: 39.94 kB / 407.9 MB, free: 51.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.331, allocations: 219.6 kB / 408.1 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.3314, allocations: 113.5 kB / 408.2 MB, free: 51.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.3315, allocations: 58.94 kB / 408.3 MB, free: 51.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3325, allocations: 1.063 MB / 409.3 MB, free: 49.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3325, allocations: 0 / 409.3 MB, free: 49.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002871/0.3354, allocations: 0.9205 MB / 410.3 MB, free: 49.03 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.0004603/0.3358, allocations: 185.1 kB / 410.4 MB, free: 48.84 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.005048/0.3409, allocations: 3.58 MB / 414 MB, free: 45.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3409, allocations: 0 / 414 MB, free: 45.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.3429, allocations: 1.532 MB / 415.6 MB, free: 43.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.344, allocations: 274.6 kB / 415.8 MB, free: 43.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.3495, allocations: 5.451 MB / 421.3 MB, free: 37.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.35, allocations: 0.8246 MB / 422.1 MB, free: 37.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001546/0.3516, allocations: 1.283 MB / 423.4 MB, free: 35.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.3519, allocations: 184.4 kB / 423.6 MB, free: 35.6 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.3519, allocations: 0 / 423.6 MB, free: 35.6 MB / 330.7 MB Notification: Performance of Templates: time 0.0402/0.3921, allocations: 40.24 MB / 463.8 MB, free: 11.34 MB / 346.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.9881720361299813]