Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00124/0.00124, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001292/0.001292, allocations: 172.4 kB / 25.61 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9677/0.9677, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.341e-05, allocations: 6.906 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005669/0.005693, allocations: 6.647 MB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004592/0.01028, allocations: 3.067 MB / 283.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.01089, allocations: 35.88 kB / 284 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.01228, allocations: 0.9456 MB / 284.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.01457, allocations: 1.424 MB / 286.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.01536, allocations: 0.5964 MB / 286.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.01855, allocations: 4.176 MB / 291.1 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.02022, allocations: 1.868 MB / 293 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.02165, allocations: 1.438 MB / 294.4 MB, free: 168 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.0232, allocations: 1.676 MB / 296.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.02346, allocations: 172 kB / 296.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.02454, allocations: 0.9085 MB / 297.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.02526, allocations: 1.169 MB / 298.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.02589, allocations: 0.7086 MB / 299 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.02833, allocations: 2.892 MB / 301.9 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.02834, allocations: 4 kB / 301.9 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02834, allocations: 0 / 301.9 MB, free: 8.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.02839, allocations: 0 / 301.9 MB, free: 8.617 MB / 282.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.004611/0.033, allocations: 3.444 MB / 305.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.03303, allocations: 8.031 kB / 305.4 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.03718, allocations: 1.123 MB / 306.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.03977, allocations: 1.203 MB / 307.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.03988, allocations: 127.5 kB / 307.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.04026, allocations: 175.8 kB / 308 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.04661, allocations: 3.753 MB / 311.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.04672, allocations: 35.7 kB / 311.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.04701, allocations: 83.89 kB / 311.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001793/0.0488, allocations: 1.179 MB / 313.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005562/0.05436, allocations: 1.761 MB / 314.8 MB, free: 10.9 MB / 298.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.02065/0.07501, allocations: 30.92 MB / 345.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.07733, allocations: 1.099 MB / 346.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.0777, allocations: 379.7 kB / 347.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.07796, allocations: 156.2 kB / 347.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.07799, allocations: 53.83 kB / 347.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 4.609e-06/0.078, allocations: 4 kB / 347.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=163): time 0.02392/0.1019, allocations: 9.06 MB / 356.5 MB, free: 76 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1238/0.2257, allocations: 170.9 kB / 356.6 MB, free: 81.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004399/0.2301, allocations: 2.489 MB / 359.1 MB, free: 80.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/0.2305, allocations: 46.86 kB / 359.2 MB, free: 80.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.2318, allocations: 2.318 MB / 361.5 MB, free: 79.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007519/0.2325, allocations: 0.6836 MB / 362.2 MB, free: 79.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.234, allocations: 1.089 MB / 363.3 MB, free: 79.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2341, allocations: 0.5319 MB / 363.8 MB, free: 78.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.2358, allocations: 0.6891 MB / 364.5 MB, free: 78.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.2388, allocations: 5.048 MB / 369.5 MB, free: 72.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.2423, allocations: 6.25 MB / 375.8 MB, free: 67.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/0.2424, allocations: 33.78 kB / 375.8 MB, free: 67.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007928/0.2503, allocations: 5.265 MB / 381.1 MB, free: 65.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.2503, allocations: 50.06 kB / 381.1 MB, free: 65.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.622e-05/0.2504, allocations: 108.5 kB / 381.2 MB, free: 65.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/0.2554, allocations: 1.714 MB / 383 MB, free: 64.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.257, allocations: 1.039 MB / 384 MB, free: 63.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.2627, allocations: 4.493 MB / 388.5 MB, free: 59.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.2647, allocations: 211.7 kB / 388.7 MB, free: 59.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.265, allocations: 273.4 kB / 389 MB, free: 59.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.000775/0.2658, allocations: 0.5408 MB / 389.5 MB, free: 58.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.2661, allocations: 283.2 kB / 389.8 MB, free: 58.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.2713, allocations: 2.413 MB / 392.2 MB, free: 56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.2714, allocations: 28 kB / 392.2 MB, free: 55.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2714, allocations: 8 kB / 392.2 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2714, allocations: 15.91 kB / 392.2 MB, free: 55.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009201/0.2806, allocations: 5.772 MB / 398 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2806, allocations: 0 / 398 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.2811, allocations: 175.8 kB / 398.2 MB, free: 50.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.286, allocations: 1.603 MB / 399.8 MB, free: 48.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.2861, allocations: 39.97 kB / 399.8 MB, free: 48.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005018/0.2911, allocations: 3.804 MB / 403.6 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2911, allocations: 0 / 403.6 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006219/0.2973, allocations: 3.538 MB / 407.2 MB, free: 40.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.2976, allocations: 226.2 kB / 407.4 MB, free: 40.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.2978, allocations: 35.98 kB / 407.4 MB, free: 40.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.2985, allocations: 24 kB / 407.4 MB, free: 40.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.2988, allocations: 116.8 kB / 407.6 MB, free: 40.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/0.2989, allocations: 47.95 kB / 407.6 MB, free: 40.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007737/0.2996, allocations: 0.9844 MB / 408.6 MB, free: 39.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2996, allocations: 0 / 408.6 MB, free: 39.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002716/0.3024, allocations: 0.9022 MB / 409.5 MB, free: 38.51 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.0003441/0.3027, allocations: 178.9 kB / 409.7 MB, free: 38.32 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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.003968/0.3067, allocations: 3.136 MB / 412.8 MB, free: 35.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3067, allocations: 0 / 412.8 MB, free: 35.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.3084, allocations: 1.237 MB / 414 MB, free: 33.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.3094, allocations: 271.9 kB / 414.3 MB, free: 33.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/0.315, allocations: 5.334 MB / 419.6 MB, free: 28.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.3156, allocations: 0.8087 MB / 420.5 MB, free: 27.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007961/0.3164, allocations: 363.4 kB / 420.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/0.3169, allocations: 442.1 kB / 421.2 MB, free: 26.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3169, allocations: 0 / 421.2 MB, free: 26.61 MB / 330.7 MB Notification: Performance of Templates: time 0.04225/0.3592, allocations: 43.3 MB / 464.5 MB, free: 15.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.137604555580765]