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.001039/0.001039, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009731/0.0009731, allocations: 166.9 kB / 25.33 MB, free: 8.586 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.9369/0.9369, allocations: 158.6 MB / 187.2 MB, free: 2.934 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.764e-06/1.764e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.838e-05, allocations: 2.312 kB / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.006052/0.006071, allocations: 6.882 MB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.01072, allocations: 3.089 MB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.01117, allocations: 31.88 kB / 261.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.01242, allocations: 0.9534 MB / 262 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.01438, allocations: 1.451 MB / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.01511, allocations: 0.6003 MB / 264.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.0182, allocations: 4.029 MB / 268.1 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.01987, allocations: 1.887 MB / 270 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.02119, allocations: 1.43 MB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.02265, allocations: 1.719 MB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.02285, allocations: 184 kB / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.024, allocations: 0.9202 MB / 274.2 MB, free: 248 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.02511, allocations: 1.215 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.0257, allocations: 0.7437 MB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.0281, allocations: 2.997 MB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.0281, allocations: 0 / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.02811, allocations: 0 / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.02813, allocations: 4 kB / 279.2 MB, free: 11.27 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.004334/0.03247, allocations: 3.585 MB / 282.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.03252, allocations: 15.98 kB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.03595, allocations: 2.035 MB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.03766, allocations: 1.354 MB / 286.2 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/0.03772, allocations: 127.5 kB / 286.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.03795, allocations: 171.8 kB / 286.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.04231, allocations: 4.12 MB / 290.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/0.04236, allocations: 35.7 kB / 290.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.04252, allocations: 83.89 kB / 290.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/0.04367, allocations: 1.335 MB / 292 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.04703, allocations: 2.24 MB / 294.3 MB, free: 11.34 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.0193/0.06633, allocations: 31.85 MB / 326.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.06907, allocations: 1.423 MB / 327.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.06958, allocations: 448 kB / 328 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.06987, allocations: 188.1 kB / 328.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.0699, allocations: 53.83 kB / 328.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.875e-06/0.06991, allocations: 0 / 328.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.0334/0.1033, allocations: 14.98 MB / 343.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.1034, allocations: 171.2 kB / 343.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.1062, allocations: 2.526 MB / 345.9 MB, free: 6.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1063, allocations: 49.7 kB / 345.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.1079, allocations: 2.291 MB / 348.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/0.1085, allocations: 0.6785 MB / 348.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.1098, allocations: 1.065 MB / 350 MB, free: 2.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1099, allocations: 0.5355 MB / 350.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.1114, allocations: 0.7709 MB / 351.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1224/0.2338, allocations: 5.103 MB / 356.4 MB, free: 89.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/0.2382, allocations: 6.485 MB / 362.9 MB, free: 83.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.256e-05/0.2382, allocations: 29.06 kB / 362.9 MB, free: 83.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.011/0.2492, allocations: 6.775 MB / 369.7 MB, free: 82.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.2493, allocations: 51.19 kB / 369.7 MB, free: 82.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/0.2493, allocations: 102.7 kB / 369.8 MB, free: 82.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.2557, allocations: 2.812 MB / 372.6 MB, free: 82.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.2575, allocations: 1.089 MB / 373.7 MB, free: 81.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/0.2643, allocations: 5.296 MB / 379 MB, free: 77.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/0.2665, allocations: 378 kB / 379.4 MB, free: 77.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.2668, allocations: 305.7 kB / 379.7 MB, free: 76.76 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.0008232/0.2676, allocations: 0.5371 MB / 380.2 MB, free: 76.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.268, allocations: 285 kB / 380.5 MB, free: 76.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006572/0.2745, allocations: 3.698 MB / 384.2 MB, free: 72.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/0.2746, allocations: 27.98 kB / 384.2 MB, free: 72.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.2746, allocations: 8 kB / 384.2 MB, free: 72.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2746, allocations: 11.98 kB / 384.2 MB, free: 72.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.2875, allocations: 8.978 MB / 393.2 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2875, allocations: 4 kB / 393.2 MB, free: 63.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.288, allocations: 235.6 kB / 393.5 MB, free: 63.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006327/0.2944, allocations: 3.406 MB / 396.9 MB, free: 59.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.2945, allocations: 50.53 kB / 396.9 MB, free: 59.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/0.3007, allocations: 4.862 MB / 401.8 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3007, allocations: 0 / 401.8 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008339/0.309, allocations: 5.807 MB / 407.6 MB, free: 49.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.3095, allocations: 241.8 kB / 407.8 MB, free: 48.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.3097, allocations: 35.98 kB / 407.9 MB, free: 48.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008639/0.3105, allocations: 219.6 kB / 408.1 MB, free: 48.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.3107, allocations: 116.7 kB / 408.2 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/0.3108, allocations: 59.53 kB / 408.2 MB, free: 48.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.3119, allocations: 1.067 MB / 409.3 MB, free: 47.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3119, allocations: 0 / 409.3 MB, free: 47.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002903/0.3148, allocations: 0.9207 MB / 410.2 MB, free: 46.56 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.0003736/0.3152, allocations: 186.3 kB / 410.4 MB, free: 46.38 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.004908/0.3201, allocations: 3.573 MB / 414 MB, free: 42.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3201, allocations: 4 kB / 414 MB, free: 42.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.322, allocations: 1.539 MB / 415.5 MB, free: 41.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3231, allocations: 273.7 kB / 415.8 MB, free: 40.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.3285, allocations: 5.458 MB / 421.3 MB, free: 35.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.329, allocations: 0.8169 MB / 422.1 MB, free: 34.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001466/0.3304, allocations: 1.287 MB / 423.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.3308, allocations: 180.4 kB / 423.5 MB, free: 33.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.903e-06/0.3308, allocations: 4 kB / 423.5 MB, free: 33.13 MB / 330.7 MB Notification: Performance of Templates: time 0.03837/0.3691, allocations: 40.24 MB / 463.8 MB, free: 8.887 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: 4.223067684099078]